Home
last modified time | relevance | path

Searched refs:getCount (Results 1 – 25 of 62) sorted by relevance

123

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountChecker.h126 unsigned getCount() const { return Cnt; } in getCount() function
184 return RefVal(getKind(), getObjKind(), getCount() - i,
189 return RefVal(getKind(), getObjKind(), getCount() + i,
194 return RefVal(k, getObjKind(), getCount(), getAutoreleaseCount(),
199 return RefVal(getKind(), getObjKind(), getCount(), getAutoreleaseCount()+1, in autorelease()
205 return RefVal(getKind(), getObjKind(), getCount(), getAutoreleaseCount(), in withIvarAccess()
211 return RefVal(getKind(), getObjKind(), getCount(), getAutoreleaseCount(), in releaseViaIvar()
H A DRetainCountDiagnostics.cpp119 if (PrevV.getCount() == CurrV.getCount()) { in shouldGenerateNote()
129 if (PrevV.getCount() > CurrV.getCount()) in shouldGenerateNote()
134 if (unsigned Count = CurrV.getCount()) in shouldGenerateNote()
400 unsigned CountBefore = CountBeforeCall->getCount(); in annotateConsumedSummaryMismatch()
401 unsigned CountAfter = CountAtExit->getCount(); in annotateConsumedSummaryMismatch()
443 if (CurrT->getCount() == 1) { in annotateStartParameter()
446 assert(CurrT->getCount() == 0); in annotateStartParameter()
832 << RV->getCount(); in getEndPath()
H A DRetainCountChecker.cpp54 unsigned cnt = getCount(); in print()
61 unsigned cnt = getCount(); in print()
68 unsigned cnt = getCount(); in print()
75 unsigned cnt = getCount(); in print()
802 assert(V.getCount() > 0); in updateSymbol()
803 if (V.getCount() == 1) { in updateSymbol()
818 if (V.getCount() > 0) { in updateSymbol()
998 unsigned cnt = X.getCount(); in processReturn()
1006 unsigned cnt = X.getCount(); in processReturn()
1079 if (X.isReturnedOwned() && X.getCount() == 0) { in checkReturnWithRetEffect()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeTypeVTShape.cpp25 dumpSymbolField(OS, "count", getCount(), Indent); in dump()
37 uint32_t NativeTypeVTShape::getCount() const { return Record.Slots.size(); } in getCount() function in NativeTypeVTShape
H A DNativeTypeArray.cpp39 dumpSymbolField(OS, "count", getCount(), Indent); in dump()
55 uint32_t NativeTypeArray::getCount() const { in getCount() function in NativeTypeArray
H A DNativeTypeFunctionSig.cpp120 dumpSymbolField(OS, "count", getCount(), Indent); in dump()
156 uint32_t NativeTypeFunctionSig::getCount() const { in getCount() function in NativeTypeFunctionSig
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DProfileSummaryInfo.h123 return FunctionCount && isHotCount(FunctionCount->getCount()); in isFunctionEntryHot()
132 if (isHotCount(FunctionCount->getCount())) in isFunctionHotInCallGraph()
152 if (!isColdCount(FunctionCount->getCount())) in isFunctionColdInCallGraph()
283 isHotCountNthPercentile(PercentileCutoff, FunctionCount->getCount())) in isFunctionHotOrColdInCallGraphNthPercentile()
286 FunctionCount->getCount())) in isFunctionHotOrColdInCallGraphNthPercentile()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsOptimizePICCall.cpp104 unsigned getCount(ValueType Entry);
241 unsigned N = getCount(Entry); in visitNode()
302 unsigned OptimizePICCall::getCount(ValueType Entry) { in getCount() function in OptimizePICCall
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dprimary64.h434 TotalBlocks += It.getCount(); in verifyAllBlocksAreReleasedTestOnly()
450 TotalBlocks += It.getCount(); in verifyAllBlocksAreReleasedTestOnly()
637 DCHECK_GT(B->getCount(), 0U); in popBlocksImpl()
642 ? B->getCount() in popBlocksImpl()
643 : Min(MaxBlockCount, B->getCount()); in popBlocksImpl()
871 DCHECK_GE(BG->MaxCachedPerBatch, CurBatch->getCount()); in pushBlocksImpl()
873 static_cast<u16>(BG->MaxCachedPerBatch - CurBatch->getCount()); in pushBlocksImpl()
1034 static_cast<u16>(BG->MaxCachedPerBatch - CurBatch->getCount()); in pushBatchClassBlocks()
1617 BG->Batches.front()->getCount(); in collectGroupsToRelease()
1799 BG.Batches.front()->getCount(); in markFreeBlocks()
[all …]
H A Dprimary32.h309 TotalBlocks += It.getCount(); in verifyAllBlocksAreReleasedTestOnly()
323 TotalBlocks += It.getCount(); in verifyAllBlocksAreReleasedTestOnly()
667 static_cast<u16>(BG->MaxCachedPerBatch - CurBatch->getCount()); in pushBatchClassBlocks()
734 DCHECK_GE(BG->MaxCachedPerBatch, CurBatch->getCount()); in pushBlocksImpl()
736 static_cast<u16>(BG->MaxCachedPerBatch - CurBatch->getCount()); in pushBlocksImpl()
847 DCHECK_GT(B->getCount(), 0U); in popBlocksImpl()
852 ? B->getCount() in popBlocksImpl()
853 : Min(MaxBlockCount, B->getCount()); in popBlocksImpl()
1212 BG.Batches.front()->getCount(); in markFreeBlocks()
1243 for (u16 I = 0; I < It.getCount(); ++I) in markFreeBlocks()
H A Dallocator_common.h57 u16 getCount() const { return Count; } in getCount() function
H A Drelease.h263 uptr getCount() const { return NumCounters; } in getCount() function
597 for (u16 I = 0; I < It.getCount(); I++) { in markFreeBlocksInRegion()
607 for (u16 I = 0; I < It.getCount(); I++) { in markFreeBlocksInRegion()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/
H A DPDBSymbolTypeVTableShape.h26 FORWARD_SYMBOL_METHOD(getCount)
H A DPDBSymbolTypeArray.h28 FORWARD_SYMBOL_METHOD(getCount)
H A DPDBSymbolTypeFunctionSig.h36 FORWARD_SYMBOL_METHOD(getCount)
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DNativeTypeVTShape.h36 uint32_t getCount() const override;
H A DNativeTypeArray.h37 uint32_t getCount() const override;
H A DNativeTypeFunctionSig.h43 uint32_t getCount() const override;
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DCtxProfAnalysis.cpp168 uint64_t getCount() const { return *Count; } in getCount() function in llvm::ProfileAnnotatorImpl::BBInfo
265 if (getBBInfo(BB).getCount() > 0) { in allNonColdSelectsHaveProfile()
360 uint64_t getBBCount(const BasicBlock &BB) { return getBBInfo(BB).getCount(); } in getBBCount()
380 if (BBInfo.getCount() == 0) in getSelectInstrProfile()
392 auto TotalCount = BBInfo.getCount(); in getSelectInstrProfile()
H A DProfileSummaryInfo.cpp112 return FunctionCount && isColdCount(FunctionCount->getCount()); in isFunctionEntryCold()
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DPrettyTypeDumper.cpp305 WithColor(Printer, PDB_ColorItem::LiteralValue).get() << Symbol.getCount(); in dump()
347 Printer.format("<vtshape ({0} methods)>", Symbol.getCount()); in dump()
H A DPrettyVariableDumper.cpp127 Printer << '[' << Symbol.getCount() << ']'; in dumpRight()
/freebsd/contrib/llvm-project/llvm/include/llvm/FileCheck/
H A DFileCheck.h94 int getCount() const { return Count; } in getCount() function
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DTailRecursionElimination.cpp446 OrigEntryCount(F.getEntryCount() ? F.getEntryCount()->getCount() : 0) { in TailRecursionEliminator()
771 auto OldEntryCount = F.getEntryCount()->getCount(); in eliminateCall()
995 F.getEntryCount().has_value() && F.getEntryCount()->getCount()) in run()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DGCOV.cpp358 return blocks.front()->getCount(); in getEntryCount()
823 if (b->getCount() == 0) in annotateSource()
866 b->getCount() ? arc->count ? "taken" : "nottaken" : "notexec"; in printSourceToIntermediate()
961 if (b.number != 0 && &b != &exitBlock && b.getCount()) in printFunctionDetails()

123