Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/unittests/Sema/
H A DExternalSemaSourceTest.cpp33 ++CallCount; in MaybeDiagnoseMissingCompleteType()
37 int CallCount; member in __anonc354d5f50111::CompleteTypeDiagnoser
112 ++CallCount; in CorrectTypo()
133 int CallCount; member in __anonc354d5f50111::NamespaceTypoProvider
154 ++CallCount; in CorrectTypo()
176 int CallCount; member in __anonc354d5f50111::FunctionTypoProvider
263 ASSERT_LE(1, First.CallCount); in TEST()
264 ASSERT_LE(1, Second.CallCount); in TEST()
265 ASSERT_EQ(0, Third.CallCount); in TEST()
313 ASSERT_EQ(1, First.CallCount); in TEST()
[all …]
/llvm-project-15.0.7/llvm/unittests/XRay/
H A DProfileTest.cpp78 AllOf(Field(&Profile::Data::CallCount, Eq(1u)), in TEST()
82 AllOf(Field(&Profile::Data::CallCount, Eq(10u)), in TEST()
102 AllOf(Field(&Profile::Data::CallCount, Eq(1u)), in TEST()
106 AllOf(Field(&Profile::Data::CallCount, Eq(10u)), in TEST()
142 AllOf(Field(&Profile::Data::CallCount, Eq(2u)), in TEST()
146 AllOf(Field(&Profile::Data::CallCount, Eq(1u)), in TEST()
153 AllOf(Field(&Profile::Data::CallCount, Eq(2u)), in TEST()
157 AllOf(Field(&Profile::Data::CallCount, Eq(1u)), in TEST()
180 AllOf(Field(&Profile::Data::CallCount, Eq(2u)), in TEST()
206 AllOf(Field(&Profile::Data::CallCount, Eq(3u)), in TEST()
[all …]
/llvm-project-15.0.7/compiler-rt/lib/xray/tests/unit/
H A Dfunction_call_trie_test.cpp39 ASSERT_EQ(R.front()->CallCount, 1u); in TEST()
54 ASSERT_EQ(R.front()->CallCount, 1u); in TEST()
132 EXPECT_EQ(R0->CallCount, 1u); in TEST()
136 EXPECT_EQ(R1->CallCount, 1u); in TEST()
183 EXPECT_EQ(F3.CallCount, 1u); in TEST()
184 EXPECT_EQ(F2.CallCount, 1u); in TEST()
185 EXPECT_EQ(F1.CallCount, 1u); in TEST()
208 EXPECT_EQ(F->CallCount, 1u); in TEST()
294 EXPECT_EQ(R0.CallCount, 2u); in TEST()
300 EXPECT_EQ(F1.CallCount, 2u); in TEST()
[all …]
H A Dprofile_collector_test.cpp85 int64_t CallCount; member
101 internal_memcpy(&Result.CallCount, P, sizeof(int64_t)); in ParseProfile()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DProfileSummaryInfo.cpp126 if (auto CallCount = getProfileCount(cast<CallBase>(I), nullptr)) in isFunctionHotInCallGraph() local
127 TotalCallCount += *CallCount; in isFunctionHotInCallGraph()
155 if (auto CallCount = getProfileCount(cast<CallBase>(I), nullptr)) in isFunctionColdInCallGraph() local
156 TotalCallCount += *CallCount; in isFunctionColdInCallGraph()
189 if (auto CallCount = getProfileCount(cast<CallBase>(I), nullptr)) in isFunctionHotOrColdInCallGraphNthPercentile() local
190 TotalCallCount += *CallCount; in isFunctionHotOrColdInCallGraphNthPercentile()
H A DCGSCCPassManager.cpp376 struct CallCount { in run() struct
387 SmallDenseMap<Function *, CallCount> CallCounts; in run()
388 CallCount CountLocal = {0, 0}; in run()
390 CallCount &Count = in run()
/llvm-project-15.0.7/llvm/lib/XRay/
H A DProfile.cpp103 D.CallCount = Extractor.getU64(&Offset); in readData()
216 ExistingData.CallCount += Data.CallCount; in mergeProfilesByThread()
249 ExistingData.CallCount += Data.CallCount; in mergeProfilesByStack()
363 ++TPD.CallCount; in profileFromTrace()
/llvm-project-15.0.7/compiler-rt/lib/xray/
H A Dxray_function_call_trie.h114 uint64_t CallCount; member
454 TopNode->CallCount++; in exitFunction()
498 nullptr, NodeIdPairArray(*O.NodeIdPairAllocator), Root->CallCount, in deepCopyInto()
520 Callee.NodePtr->CallCount, Callee.NodePtr->CumulativeLocalTime, in deepCopyInto()
576 NT.TargetNode->CallCount += NT.OrigNode->CallCount; in mergeInto()
H A Dxray_profile_collector.cpp219 NextPtr, &Record.Node->CallCount, sizeof(Record.Node->CallCount))) + in serializeRecords()
220 sizeof(Record.Node->CallCount); in serializeRecords()
/llvm-project-15.0.7/llvm/include/llvm/XRay/
H A DProfile.h58 uint64_t CallCount; member
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp1640 int64_t CallCount = in updateCallProfile() local
1642 updateProfileCallee(Callee, -CallCount, &VMap); in updateCallProfile()