Home
last modified time | relevance | path

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

123

/llvm-project-15.0.7/clang/test/Analysis/
H A Dosobjectcstylecastchecker_test.cpp5 unsigned getCount();
12 unsigned getCount();
17 return a->getCount(); in warn_on_explicit_downcast()
28 return a->getCount(); in no_warn_on_dynamic_cast()
37 return b->getCount(); in no_warn_on_other_type_cast()
42 return a->getCount(); in no_warn_alloc_class_with_name()
47 return a->getCount(); in warn_alloc_class_with_name()
H A Dosobject-retain-release.cpp14 unsigned int getCount();
329 return casted->getCount(); in check_attribute_propagation()
337 return casted->getCount(); in check_attribute_indirect_propagation()
508 return arr->getCount(); in check_dynamic_cast_no_null_on_orig()
602 arr->getCount(); in potential_leak()
610 arr->getCount(); in proper_cleanup()
616 return arr->getCount(); in no_warning_on_getter()
625 return arr->getCount(); in warn_on_overrelease()
630 unsigned int out = arr->getCount(); in nowarn_on_release_of_created()
653 return arr->getCount(); in warn_on_overrelease_with_unknown_source()
[all …]
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountChecker.h127 unsigned getCount() const { return Cnt; } in getCount() function
185 return RefVal(getKind(), getObjKind(), getCount() - i,
190 return RefVal(getKind(), getObjKind(), getCount() + i,
195 return RefVal(k, getObjKind(), getCount(), getAutoreleaseCount(),
200 return RefVal(getKind(), getObjKind(), getCount(), getAutoreleaseCount()+1, in autorelease()
206 return RefVal(getKind(), getObjKind(), getCount(), getAutoreleaseCount(), in withIvarAccess()
212 return RefVal(getKind(), getObjKind(), getCount(), getAutoreleaseCount(), in releaseViaIvar()
H A DRetainCountDiagnostics.cpp118 if (PrevV.getCount() == CurrV.getCount()) { in shouldGenerateNote()
128 if (PrevV.getCount() > CurrV.getCount()) in shouldGenerateNote()
133 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()
804 assert(V.getCount() > 0); in updateSymbol()
805 if (V.getCount() == 1) { in updateSymbol()
820 if (V.getCount() > 0) { in updateSymbol()
1001 unsigned cnt = X.getCount(); in processReturn()
1009 unsigned cnt = X.getCount(); in processReturn()
1221 unsigned Cnt = V.getCount(); in handleAutoreleaseCounts()
[all …]
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DProfileSummaryInfo.cpp105 return FunctionCount && isHotCount(FunctionCount->getCount()); in isFunctionEntryHot()
118 if (isHotCount(FunctionCount->getCount())) in isFunctionHotInCallGraph()
147 if (!isColdCount(FunctionCount->getCount())) in isFunctionColdInCallGraph()
178 isHotCountNthPercentile(PercentileCutoff, FunctionCount->getCount())) in isFunctionHotOrColdInCallGraphNthPercentile()
181 !isColdCountNthPercentile(PercentileCutoff, FunctionCount->getCount())) in isFunctionHotOrColdInCallGraphNthPercentile()
232 return FunctionCount && isColdCount(FunctionCount->getCount()); in isFunctionEntryCold()
/llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/Native/
H A DNativeTypeVTShape.cpp26 dumpSymbolField(OS, "count", getCount(), Indent); in dump()
38 uint32_t NativeTypeVTShape::getCount() const { return Record.Slots.size(); } in getCount() function in NativeTypeVTShape
H A DNativeTypeArray.cpp40 dumpSymbolField(OS, "count", getCount(), Indent); in dump()
56 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
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DMachineSizeOpts.cpp85 if (!PSI->isColdCount(FunctionCount->getCount())) in isFunctionColdInCallGraph()
102 FunctionCount->getCount())) in isFunctionHotInCallGraphNthPercentile()
115 FunctionCount->getCount())) in isFunctionColdInCallGraphNthPercentile()
/llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/
H A Dlocal_cache.h37 u32 getCount() const { return Count; } in getCount() function
174 DCHECK_GT(B->getCount(), 0); in refill()
175 C->Count = B->getCount(); in refill()
H A Dprimary64.h110 DCHECK_GT(B->getCount(), 0); in popBatch()
111 Region->Stats.PoppedBlocks += B->getCount(); in popBatch()
116 DCHECK_GT(B->getCount(), 0); in pushBatch()
120 Region->Stats.PushedBlocks += B->getCount(); in pushBatch()
403 DCHECK_GT(B->getCount(), 0); in populateFreeList()
H A Dprimary32.h126 DCHECK_GT(B->getCount(), 0); in popBatch()
127 Sci->Stats.PoppedBlocks += B->getCount(); in popBatch()
133 DCHECK_GT(B->getCount(), 0); in pushBatch()
137 Sci->Stats.PushedBlocks += B->getCount(); in pushBatch()
393 DCHECK_GT(B->getCount(), 0); in populateFreeList()
H A Drelease.h100 uptr getCount() const { return NumCounters; } in getCount() function
245 for (u32 I = 0; I < It.getCount(); I++) { in releaseFreeMemoryToOS()
259 for (u32 I = 0; I < It.getCount(); I++) { in releaseFreeMemoryToOS()
/llvm-project-15.0.7/llvm/lib/Target/Mips/
H A DMipsOptimizePICCall.cpp105 unsigned getCount(ValueType Entry);
241 unsigned N = getCount(Entry); in visitNode()
302 unsigned OptimizePICCall::getCount(ValueType Entry) { in getCount() function in OptimizePICCall
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/PDB/
H A DPDBSymbolTypeVTableShape.h25 FORWARD_SYMBOL_METHOD(getCount)
H A DPDBSymbolTypeArray.h27 FORWARD_SYMBOL_METHOD(getCount)
H A DPDBSymbolTypeFunctionSig.h35 FORWARD_SYMBOL_METHOD(getCount)
/llvm-project-15.0.7/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;
/llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/tests/
H A Drelease_test.cpp139 scudo::u32 getCount() const { return Count; } in getCount() function
190 if (CurrentBatch->getCount() == Batch::MaxCount) in testReleaseFreeMemoryToOS()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/include/llvm/FileCheck/
H A DFileCheck.h93 int getCount() const { return Count; } in getCount() function
/llvm-project-15.0.7/flang/lib/Optimizer/Transforms/
H A DCharacterConversion.cpp49 auto castCnt = rewriter.create<fir::ConvertOp>(loc, idxTy, conv.getCount()); in matchAndRewrite()

123