Home
last modified time | relevance | path

Searched refs:Callsite (Results 1 – 14 of 14) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/ctx_profile/
H A DCtxInstrProfiling.cpp218 auto *Callsite = *CallsiteContext; in __llvm_ctx_profile_get_context() local
221 while (Callsite && Callsite->guid() != Guid) { in __llvm_ctx_profile_get_context()
222 Callsite = Callsite->next(); in __llvm_ctx_profile_get_context()
224 auto *Ret = Callsite ? Callsite in __llvm_ctx_profile_get_context()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DPGOCtxProfReader.cpp49 for (const auto &[_, Callsite] : Callsites) in getContainedGuids()
50 for (const auto &[_, Callee] : Callsite) in getContainedGuids()
H A DSampleProfWriter.cpp404 for (auto &Callsite : Frames) { in writeCSNameTableSection() local
405 if (std::error_code EC = writeNameIdx(Callsite.Func)) in writeCSNameTableSection()
407 encodeULEB128(Callsite.Location.LineOffset, OS); in writeCSNameTableSection()
408 encodeULEB128(Callsite.Location.Discriminator, OS); in writeCSNameTableSection()
674 for (auto &Callsite : Context.getContextFrames()) in addContext() local
675 SampleProfileWriterBinary::addName(Callsite.Func); in addContext()
H A DSampleProf.cpp458 for (auto &Callsite : Context.getContextFrames()) { in getOrCreateContextPath() local
459 Node = Node->getOrCreateChildFrame(CallSiteLoc, Callsite.Func); in getOrCreateContextPath()
460 CallSiteLoc = Callsite.Location; in getOrCreateContextPath()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DProfiledCallGraph.h115 LineLocation Callsite = Callee->getCallSiteLoc();
116 if (auto CallTargets = CallerSamples->findCallTargetMapAt(Callsite)) { variable
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DSampleContextTracker.cpp523 for (const auto &Callsite : Context.getContextFrames()) { in getOrCreateContextPath() local
527 ContextNode->getOrCreateChildContext(CallSiteLoc, Callsite.Func); in getOrCreateContextPath()
530 ContextNode->getChildContext(CallSiteLoc, Callsite.Func); in getOrCreateContextPath()
532 CallSiteLoc = Callsite.Location; in getOrCreateContextPath()
H A DSampleProfileMatcher.cpp62 LineLocation Callsite = FunctionSamples::getCallSiteIdentifier( in findIRAnchors() local
65 return std::make_pair(Callsite, FunctionId(CalleeName)); in findIRAnchors()
109 LineLocation Callsite = FunctionSamples::getCallSiteIdentifier( in findIRAnchors() local
112 IRAnchors.emplace(Callsite, FunctionId(CalleeName)); in findIRAnchors()
H A DMemProfContextDisambiguation.cpp733 for (auto &Callsite : I.second) in ~IndexCallsiteContextGraph() local
734 FS->addCallsite(*Callsite.second); in ~IndexCallsiteContextGraph()
1627 auto *Callsite = dyn_cast_if_present<CallsiteInfo *>(Call.getBase()); in getLabel() local
1629 getMemProfFuncName(Callsite->Callee.name(), in getLabel()
1630 Callsite->Clones[CloneNo])) in getLabel()
1976 auto SaveCallsiteInfo = [&](Instruction *Callsite, Function *F) { in findProfiledCalleeThroughTailCalls() argument
1977 FoundCalleeChain.push_back({Callsite, F}); in findProfiledCalleeThroughTailCalls()
3627 auto &Callsite = *CallsiteIt; in applyImport() local
3631 if (!Callsite.StackIdIndices.empty()) in applyImport()
3633 MapTailCallCalleeVIToCallsite.insert({Callsite.Callee, Callsite}); in applyImport()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DRewriteStatepointsForGC.cpp2607 for (auto *Callsite : Intrinsics) in inlineGetBaseAndOffset() local
2608 switch (Callsite->getIntrinsicID()) { in inlineGetBaseAndOffset()
2612 findBasePointer(Callsite->getOperand(0), DVCache, KnownBases); in inlineGetBaseAndOffset()
2613 assert(!DVCache.count(Callsite)); in inlineGetBaseAndOffset()
2614 Callsite->replaceAllUsesWith(Base); in inlineGetBaseAndOffset()
2616 Base->takeName(Callsite); in inlineGetBaseAndOffset()
2617 Callsite->eraseFromParent(); in inlineGetBaseAndOffset()
2622 Value *Derived = Callsite->getOperand(0); in inlineGetBaseAndOffset()
2624 assert(!DVCache.count(Callsite)); in inlineGetBaseAndOffset()
2627 IRBuilder<> Builder(Callsite); in inlineGetBaseAndOffset()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/ctx_profile/tests/
H A DCtxInstrProfilingTest.cpp60 TEST_F(ContextTest, Callsite) { in TEST_F() argument
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DSampleProf.h1164 const LineLocation &Callsite) {
1165 return SampleContextFrame(Callee, Callsite).getHashCode();
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DModuleSummaryIndex.h1056 void addCallsite(CallsiteInfo &Callsite) {
1059 Callsites->push_back(Callsite);
H A DIntrinsics.td918 // Callsite instrumentation for contextual profiling
/freebsd/contrib/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp1421 for (const auto &Callsite : CallsiteSamples.second) { in remapSamples() local
1423 remapSamples(Callsite.second, Remapper, Error); in remapSamples()
2220 auto Callsite = (CallsiteStepStatus == MS_FirstUnique) in computeSampleFunctionInternalOverlap() local
2223 for (const auto &F : Callsite->second) in computeSampleFunctionInternalOverlap()