Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/Utils/
H A DAArch64SMEAttributes.h158 SMEAttrs Callsite; variable
163 SMEAttrs Callsite = SMEAttrs::Normal)
164 : CallerFn(Caller), CalledFn(Callee), Callsite(Callsite) {} in CallerFn()
169 SMEAttrs &callee() { return IsIndirect ? Callsite : CalledFn; } in callee()
170 SMEAttrs &callsite() { return Callsite; } in callsite()
175 SMEAttrs const &callsite() const { return Callsite; } in callsite()
H A DAArch64SMEAttributes.cpp115 Callsite(CB.getAttributes()), IsIndirect(CB.isIndirectCall()) { in SMECallAttrs()
122 ((Callsite.withoutPerCallsiteFlags() | CalledFn) == CalledFn)) && in SMECallAttrs()
/freebsd/contrib/llvm-project/compiler-rt/lib/ctx_profile/
H A DCtxInstrProfiling.cpp388 auto *Callsite = *CallsiteContext; in __llvm_ctx_profile_get_context() local
391 while (Callsite && Callsite->guid() != Guid) { in __llvm_ctx_profile_get_context()
392 Callsite = Callsite->next(); in __llvm_ctx_profile_get_context()
394 auto *Ret = Callsite ? Callsite in __llvm_ctx_profile_get_context()
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DPGOCtxProfReader.h181 for (const auto &[_, Callsite] : Callsites) in getContainedGuids()
182 for (const auto &[_, Callee] : Callsite) in getContainedGuids()
H A DSampleProf.h1176 const LineLocation &Callsite) {
1177 return SampleContextFrame(Callee, Callsite).getHashCode();
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DSampleProfWriter.cpp402 for (auto &Callsite : Frames) { in writeCSNameTableSection() local
403 if (std::error_code EC = writeNameIdx(Callsite.Func)) in writeCSNameTableSection()
405 encodeULEB128(Callsite.Location.LineOffset, OS); in writeCSNameTableSection()
406 encodeULEB128(Callsite.Location.Discriminator, OS); in writeCSNameTableSection()
671 for (auto &Callsite : Context.getContextFrames()) in addContext() local
672 SampleProfileWriterBinary::addName(Callsite.Func); in addContext()
H A DSampleProf.cpp486 for (auto &Callsite : Context.getContextFrames()) { in getOrCreateContextPath() local
487 Node = Node->getOrCreateChildFrame(CallSiteLoc, Callsite.Func); in getOrCreateContextPath()
488 CallSiteLoc = Callsite.Location; in getOrCreateContextPath()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DSampleContextTracker.cpp524 for (const auto &Callsite : Context.getContextFrames()) { in getOrCreateContextPath() local
528 ContextNode->getOrCreateChildContext(CallSiteLoc, Callsite.Func); in getOrCreateContextPath()
531 ContextNode->getChildContext(CallSiteLoc, Callsite.Func); in getOrCreateContextPath()
533 CallSiteLoc = Callsite.Location; in getOrCreateContextPath()
H A DSampleProfileMatcher.cpp71 LineLocation Callsite = FunctionSamples::getCallSiteIdentifier( in findIRAnchors() local
74 return std::make_pair(Callsite, FunctionId(CalleeName)); in findIRAnchors()
118 LineLocation Callsite = FunctionSamples::getCallSiteIdentifier( in findIRAnchors() local
121 IRAnchors.emplace(Callsite, FunctionId(CalleeName)); in findIRAnchors()
H A DMemProfContextDisambiguation.cpp964 for (auto &Callsite : I.second) in ~IndexCallsiteContextGraph() local
965 FS->addCallsite(*Callsite.second); in ~IndexCallsiteContextGraph()
2079 auto *Callsite = dyn_cast_if_present<CallsiteInfo *>(Call); in getLabel() local
2081 getMemProfFuncName(Callsite->Callee.name(), in getLabel()
2082 Callsite->Clones[CloneNo])) in getLabel()
2657 auto SaveCallsiteInfo = [&](Instruction *Callsite, Function *F) { in findProfiledCalleeThroughTailCalls() argument
2658 FoundCalleeChain.push_back({Callsite, F}); in findProfiledCalleeThroughTailCalls()
5261 auto &Callsite = *CallsiteIt; in applyImport() local
5265 if (!Callsite.StackIdIndices.empty()) in applyImport()
5267 MapTailCallCalleeVIToCallsite.insert({Callsite.Callee, Callsite}); in applyImport()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DProfiledCallGraph.h115 LineLocation Callsite = Callee->getCallSiteLoc(); variable
116 if (auto CallTargets = CallerSamples->findCallTargetMapAt(Callsite)) {
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DRewriteStatepointsForGC.cpp2614 for (auto *Callsite : Intrinsics) in inlineGetBaseAndOffset() local
2615 switch (Callsite->getIntrinsicID()) { in inlineGetBaseAndOffset()
2619 findBasePointer(Callsite->getOperand(0), DVCache, KnownBases); in inlineGetBaseAndOffset()
2620 assert(!DVCache.count(Callsite)); in inlineGetBaseAndOffset()
2621 Callsite->replaceAllUsesWith(Base); in inlineGetBaseAndOffset()
2623 Base->takeName(Callsite); in inlineGetBaseAndOffset()
2624 Callsite->eraseFromParent(); in inlineGetBaseAndOffset()
2629 Value *Derived = Callsite->getOperand(0); in inlineGetBaseAndOffset()
2631 assert(!DVCache.count(Callsite)); in inlineGetBaseAndOffset()
2634 IRBuilder<> Builder(Callsite); in inlineGetBaseAndOffset()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/ctx_profile/tests/
H A DCtxInstrProfilingTest.cpp62 TEST_F(ContextTest, Callsite) { in TEST_F() argument
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DModuleSummaryIndex.h1052 void addCallsite(CallsiteInfo &Callsite) {
1055 Callsites->push_back(Callsite);
H A DIntrinsics.td954 // Callsite instrumentation for contextual profiling
/freebsd/contrib/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp1507 for (const auto &Callsite : CallsiteSamples.second) { in remapSamples() local
1509 remapSamples(Callsite.second, Remapper, Error); in remapSamples()
2316 auto Callsite = (CallsiteStepStatus == MS_FirstUnique) in computeSampleFunctionInternalOverlap() local
2319 for (const auto &F : Callsite->second) in computeSampleFunctionInternalOverlap()