Home
last modified time | relevance | path

Searched refs:CallCount (Results 1 – 4 of 4) sorted by relevance

/external/clang/unittests/Sema/
DExternalSemaSourceTest.cpp31 CompleteTypeDiagnoser(bool MockResult) : CallCount(0), Result(MockResult) {} in CompleteTypeDiagnoser()
34 ++CallCount; in MaybeDiagnoseMissingCompleteType()
38 int CallCount; member in __anon1ee1c6270111::CompleteTypeDiagnoser
102 : CorrectFrom(From), CorrectTo(To), CurrentSema(nullptr), CallCount(0) {} in NamespaceTypoProvider()
113 ++CallCount; in CorrectTypo()
134 int CallCount; member in __anon1ee1c6270111::NamespaceTypoProvider
144 : CorrectFrom(From), CorrectTo(To), CurrentSema(nullptr), CallCount(0) {} in FunctionTypoProvider()
155 ++CallCount; in CorrectTypo()
176 int CallCount; member in __anon1ee1c6270111::FunctionTypoProvider
246 ASSERT_LE(0, Provider.CallCount); in TEST()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DProfileSummaryInfo.cpp136 if (auto CallCount = getProfileCount(&I, nullptr)) in isFunctionHotInCallGraph() local
137 TotalCallCount += CallCount.getValue(); in isFunctionHotInCallGraph()
165 if (auto CallCount = getProfileCount(&I, nullptr)) in isFunctionColdInCallGraph() local
166 TotalCallCount += CallCount.getValue(); in isFunctionColdInCallGraph()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DCGSCCPassManager.h703 struct CallCount {
714 SmallVector<CallCount, 4> CallCounts;
717 CallCount &Count = CallCounts.back();
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DInlineFunction.cpp1443 uint64_t CallCount = in updateCallProfile() local
1450 CI->updateProfWeight(CallCount, CalleeEntryCount.getCount()); in updateCallProfile()
1456 CI->updateProfWeight(CalleeEntryCount.getCount() - CallCount, in updateCallProfile()
1474 auto CallCount = PSI->getProfileCount(CallInst, CallerBFI); in updateCalleeCount() local
1475 if (!CallCount.hasValue()) in updateCalleeCount()
1479 if (CallCount.getValue() > CalleeCount.getCount()) in updateCalleeCount()
1482 CalleeCount.setCount(CalleeCount.getCount() - CallCount.getValue()); in updateCalleeCount()