Searched refs:Total (Results 1 - 25 of 25) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DFunctionSummary.cpp19 unsigned Total = 0; local
21 Total += I.second.TotalBasicBlocks;
22 return Total;
26 unsigned Total = 0; local
28 Total += I.second.VisitedBasicBlocks.count();
29 return Total;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DTimer.cpp158 static void printVal(double Val, double Total, raw_ostream &OS) { argument
159 if (Total < 1e-7) // Avoid dividing by zero.
162 OS << format(" %7.4f (%5.1f%%)", Val, Val*100/Total);
165 void TimeRecord::print(const TimeRecord &Total, raw_ostream &OS) const { argument
166 if (Total.getUserTime())
167 printVal(getUserTime(), Total.getUserTime(), OS);
168 if (Total.getSystemTime())
169 printVal(getSystemTime(), Total.getSystemTime(), OS);
170 if (Total.getProcessTime())
171 printVal(getProcessTime(), Total
306 TimeRecord Total; local
[all...]
H A DTarWriter.cpp75 int Total = Len + Twine(Len).str().size(); local
76 Total = Len + Twine(Total).str().size();
77 return (Twine(Total) + " " + Key + "=" + Val + "\n").str();
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dwrappers_c.inc49 // Total allocated space (bytes)
52 // Total free space (bytes)
/freebsd-11-stable/sys/contrib/dev/acpica/compiler/
H A Daslerror.c333 * Total - Total legth of line
346 UINT32 Total)
387 if (Total >= 256)
443 * Total - amount of characters printed so far
457 UINT32 *Total)
550 if (*Total < 256)
560 else if (*Total == 256)
576 *Total += 1;
627 UINT32 Total local
342 AeDecodeErrorMessageId( FILE *OutputFile, ASL_ERROR_MSG *Enode, BOOLEAN PrematureEOF, UINT32 Total) argument
453 AePrintErrorSourceLine( FILE *OutputFile, ASL_ERROR_MSG *Enode, BOOLEAN *PrematureEOF, UINT32 *Total) argument
738 UINT32 Total = 0; local
[all...]
/freebsd-11-stable/usr.sbin/ac/
H A Dac.c86 static struct timeval Total = { 0, 0 }; variable in typeref:struct:timeval
183 timeradd(&Total, &secs, &Total);
203 timeradd(&Total, &secs, &Total);
509 show("total", Total);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DBlockFrequencyInfoImpl.cpp108 RemWeight = Dist.Total;
126 uint64_t NewTotal = Total + Amount;
129 bool IsOverflow = NewTotal < Total;
134 Total = NewTotal;
225 Total = 1;
237 else if (Total > UINT32_MAX)
238 Shift = 33 - countLeadingZeros(Total);
244 assert(Total == std::accumulate(Weights.begin(), Weights.end(), UINT64_C(0),
254 Total = 0;
265 Total
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DTypeLoc.cpp94 unsigned Total = 0; local
100 Total = llvm::alignTo(Total, Align);
101 Total += TypeSizer().Visit(TyLoc);
104 Total = llvm::alignTo(Total, MaxAlign);
105 return Total;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DSampleProfile.cpp186 unsigned computeCoverage(unsigned Used, unsigned Total) const;
437 /// Total number of samples collected in this profile.
608 uint64_t Total = 0; local
610 Total += I.second.getSamples();
617 Total += countBodySamples(CalleeSamples, PSI);
620 return Total;
629 unsigned Total) const {
630 assert(Used <= Total &&
632 return Total > 0 ? Used * 100 / Total
1741 unsigned Total = CoverageTracker.countBodyRecords(Samples, PSI); local
1754 uint64_t Total = CoverageTracker.countBodySamples(Samples, PSI); local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DTypePromotion.cpp365 APInt Total = ICmpConst->getValue().getBitWidth() < 32 ?
368 Total += OverflowConst->getValue().getBitWidth() < 32 ?
373 if (Total.getBitWidth() > Max.getBitWidth()) {
374 if (Total.ugt(Max.zext(Total.getBitWidth())))
376 } else if (Max.getBitWidth() > Total.getBitWidth()) {
377 if (Total.zext(Max.getBitWidth()).ugt(Max))
379 } else if (Total.ugt(Max))
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-cov/
H A DSourceCoverageViewHTML.cpp340 auto AddCoverageTripleToColumn = [&Columns](unsigned Hit, unsigned Total,
345 if (Total)
349 RSO << '(' << Hit << '/' << Total << ')';
352 if (Hit == Total)
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ProfileData/
H A DGCOV.cpp593 formatBranchInfo(const GCOV::Options &Options, uint64_t Count, uint64_t Total)
594 : Options(Options), Count(Count), Total(Total) {}
597 if (!Total)
602 OS << "taken " << branchDiv(Count, Total) << "%";
607 uint64_t Total;
/freebsd-11-stable/usr.bin/systat/
H A Dvmstat.c111 struct vmtotal Total; member in struct:Info
125 #define total s.Total
786 size = sizeof(ls->Total);
789 if (sysctl(mib, 2, &ls->Total, &size, NULL, 0) < 0) {
791 bzero(&ls->Total, sizeof(ls->Total));
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp313 unsigned TotalNumCtrs = 0; // Total number of counters
943 uint64_t Total = 0; local
947 Total += E->CountValue;
949 return Total;
1027 // Total size of the profile count for this function.
1238 uint64_t Total = 0; local
1244 Total = Count->CountValue - OutSum;
1245 setEdgeCount(Count->OutEdges, Total);
1249 uint64_t Total = 0; local
1252 Total
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DTimer.h65 /// contributions to the \p Total time record.
66 void print(const TimeRecord &Total, raw_ostream &OS) const;
H A DGenericDomTreeConstruction.h403 unsigned Total = 0; local
410 ++Total;
431 if (Total + 1 != Num) {
483 LLVM_DEBUG(dbgs() << "Total: " << Total << ", Num: " << Num << "\n");
488 assert((Total + 1 == Num) && "Everything should have been visited");
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/Windows/
H A DPath.inc162 ULARGE_INTEGER Avail, Total, Free;
163 if (!::GetDiskFreeSpaceExA(Path.str().c_str(), &Avail, &Total, &Free))
167 (static_cast<uint64_t>(Total.HighPart) << 32) + Total.LowPart;
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProfData.inc338 * Total size in bytes including this field. It must be a multiple
/freebsd-11-stable/contrib/llvm-project/compiler-rt/include/profile/
H A DInstrProfData.inc338 * Total size in bytes including this field. It must be a multiple
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstrTypes.h2125 unsigned Total = 0;
2127 Total += B.input_size();
2128 return Total;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp370 unsigned Total = LHS.getZExtValue() + RHS.getZExtValue(); local
371 while (Total >= Threshold)
372 Total -= CM;
373 LHS = Total;
492 LeafMap Leaves; // Leaf -> Total weight so far.
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp1033 << " bytes) x " << NumElements << " (Total: " << MemToAlloc
1052 uint64_t Total = 0;
1061 Total += SLO->getElementOffset(Index);
1075 Total += getDataLayout().getTypeAllocSize(I.getIndexedType()) * Idx;
1080 Result.PointerVal = ((char*)getOperandValue(Ptr, SF).PointerVal) + Total;
1081 LLVM_DEBUG(dbgs() << "GEP Index " << Total << " bytes.\n");
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGStmt.cpp1202 uint64_t Total = getProfileCount(&S); local
1208 uint64_t Weight = Total / NCases, Rem = Total % NCases;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCodeExtractor.cpp1365 if (BranchDist.Total == 0)
1377 BranchProbability BP(Weight.Amount, BranchDist.Total);
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DBlockFrequencyInfoImpl.h373 /// \a DidOverflow indicates whether \a Total did overflow while adding to
379 uint64_t Total = 0; ///< Sum of all weights. member in struct:llvm::BlockFrequencyInfoImplBase::Distribution
380 bool DidOverflow = false; ///< Whether \a Total did overflow.
399 /// down so that \a Total fits into 32-bits.

Completed in 259 milliseconds