Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/llvm/tools/llvm-profgen/
H A DCallContext.h20 inline std::string getCallSite(const SampleContextFrame &Callsite) { in getCallSite() argument
21 std::string CallsiteStr = Callsite.FuncName.str(); in getCallSite()
23 CallsiteStr += Twine(Callsite.Location.LineOffset).str(); in getCallSite()
24 if (Callsite.Location.Discriminator > 0) { in getCallSite()
26 CallsiteStr += Twine(Callsite.Location.Discriminator).str(); in getCallSite()
35 for (const auto &Callsite : Context) { in getLocWithContext() local
38 OContextStr << getCallSite(Callsite); in getLocWithContext()
48 for (const auto &Callsite : reverse(Context)) { in getReversedLocWithContext() local
51 OContextStr << getCallSite(Callsite); in getReversedLocWithContext()
H A DProfiledBinary.h549 auto &Callsite = ProbeInlineContext[I]; variable
551 if (Callsite.second == 0 && I != ProbeInlineContext.size() - 1) {
555 InlineContextStack.emplace_back(Callsite.first,
556 LineLocation(Callsite.second, 0));
H A DCSPreInliner.cpp122 LineLocation Callsite = CalleeNode->getCallSiteLoc(); in getInlineCandidates() local
123 if (auto CallTargets = CallerSamples->findCallTargetMapAt(Callsite)) { in getInlineCandidates()
H A DProfiledBinary.cpp79 for (const auto &Callsite : reverse(Context)) { in addInstructionForContext() local
80 StringRef CallerName = Callsite.FuncName; in addInstructionForContext()
81 LineLocation CallsiteLoc = IsLeaf ? LineLocation(0, 0) : Callsite.Location; in addInstructionForContext()
H A DProfileGenerator.cpp614 LineLocation Callsite( in getLeafProfileAndAddTotalSamples() local
618 FunctionProfile->functionSamplesAt(Callsite); in getLeafProfileAndAddTotalSamples()
/openbsd/gnu/llvm/llvm/lib/ProfileData/
H A DSampleProf.cpp239 const LineLocation &Callsite) { in getCallSiteHash() argument
242 (((uint64_t)Callsite.LineOffset) << 32) | Callsite.Discriminator; in getCallSiteHash()
493 for (auto &Callsite : Context.getContextFrames()) { in getOrCreateContextPath() local
494 Node = Node->getOrCreateChildFrame(CallSiteLoc, Callsite.FuncName); in getOrCreateContextPath()
495 CallSiteLoc = Callsite.Location; in getOrCreateContextPath()
H A DSampleProfWriter.cpp297 for (auto &Callsite : Frames) { in writeCSNameTableSection() local
298 if (std::error_code EC = writeNameIdx(Callsite.FuncName)) in writeCSNameTableSection()
300 encodeULEB128(Callsite.Location.LineOffset, OS); in writeCSNameTableSection()
301 encodeULEB128(Callsite.Location.Discriminator, OS); in writeCSNameTableSection()
572 for (auto &Callsite : Context.getContextFrames()) in addContext() local
573 SampleProfileWriterBinary::addName(Callsite.FuncName); in addContext()
/openbsd/gnu/llvm/llvm/include/llvm/Transforms/IPO/
H A DProfiledCallGraph.h110 LineLocation Callsite = Callee->getCallSiteLoc(); in ProfiledCallGraph() local
111 if (auto CallTargets = CallerSamples->findCallTargetMapAt(Callsite)) { in ProfiledCallGraph()
/openbsd/gnu/llvm/llvm/lib/Transforms/IPO/
H A DSampleContextTracker.cpp539 for (const auto &Callsite : Context.getContextFrames()) { in getOrCreateContextPath() local
543 ContextNode->getOrCreateChildContext(CallSiteLoc, Callsite.FuncName); in getOrCreateContextPath()
546 ContextNode->getChildContext(CallSiteLoc, Callsite.FuncName); in getOrCreateContextPath()
548 CallSiteLoc = Callsite.Location; in getOrCreateContextPath()
/openbsd/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DRewriteStatepointsForGC.cpp2638 for (auto *Callsite : Intrinsics) in inlineGetBaseAndOffset() local
2639 switch (Callsite->getIntrinsicID()) { in inlineGetBaseAndOffset()
2644 assert(!DVCache.count(Callsite)); in inlineGetBaseAndOffset()
2649 Callsite->replaceAllUsesWith(BaseBC); in inlineGetBaseAndOffset()
2651 BaseBC->takeName(Callsite); in inlineGetBaseAndOffset()
2652 Callsite->eraseFromParent(); in inlineGetBaseAndOffset()
2659 assert(!DVCache.count(Callsite)); in inlineGetBaseAndOffset()
2662 IRBuilder<> Builder(Callsite); in inlineGetBaseAndOffset()
2670 Callsite->replaceAllUsesWith(Offset); in inlineGetBaseAndOffset()
2671 Offset->takeName(Callsite); in inlineGetBaseAndOffset()
[all …]
/openbsd/gnu/usr.bin/perl/t/porting/
H A Dknown_pod_issues.dat98 Devel::Callsite
/openbsd/gnu/llvm/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp886 for (const auto &Callsite : CallsiteSamples.second) { in remapSamples() local
888 remapSamples(Callsite.second, Remapper, Error); in remapSamples()
1801 auto Callsite = (CallsiteStepStatus == MS_FirstUnique) in computeSampleFunctionInternalOverlap() local
1804 for (const auto &F : Callsite->second) in computeSampleFunctionInternalOverlap()
/openbsd/gnu/llvm/llvm/include/llvm/ProfileData/
H A DSampleProf.h1101 const LineLocation &Callsite);
/openbsd/gnu/llvm/llvm/docs/
H A DAArch64SME.rst235 Lowering of a Callsite creates a small chain of nodes which:
/openbsd/gnu/usr.bin/perl/pod/
H A Dperl5180delta.pod469 the caller, see L<Devel::Callsite> on CPAN.
/openbsd/gnu/llvm/clang/docs/
H A DUsersManual.rst2391 - Callsite line represents the profile information of an inlined callsite.