Searched refs:Caller (Results 1 - 25 of 74) sorted by relevance

123

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineAdvisor.cpp67 << NV("Caller", Caller) << ": "
73 emitInlinedInto(ORE, DLoc, Block, *Callee, *Caller, *OIC);
77 emitInlinedInto(ORE, DLoc, Block, *Callee, *Caller, *OIC);
90 Function &Caller = *CB.getCaller(); local
92 FAM.getResult<ModuleAnalysisManagerFunctionProxy>(Caller)
96 auto &ORE = FAM.getResult<OptimizationRemarkEmitterAnalysis>(Caller);
131 : Advisor(Advisor), Caller(CB.getCaller()), Callee(CB.getCalledFunction()),
180 shouldBeDeferred(Function *Caller, InlineCost IC, int &TotalSecondaryCost, argument
183 if (!Caller
315 Function *Caller = CB.getCaller(); local
391 emitInlinedInto(OptimizationRemarkEmitter &ORE, DebugLoc DLoc, const BasicBlock *Block, const Function &Callee, const Function &Caller, const InlineCost &IC, bool ForProfileContext, const char *PassName) argument
[all...]
H A DMLInlineAdvisor.cpp129 Function *Caller = Advice.getCaller(); local
133 FAM.invalidate<InlineFeaturesAnalysis>(*Caller);
135 getIRSize(*Caller) + (CalleeWasDeleted ? 0 : Advice.CalleeIRSize);
146 FAM.getResult<InlineFeaturesAnalysis>(*Caller)
167 auto &Caller = *CB.getCaller(); local
178 auto &ORE = FAM.getResult<OptimizationRemarkEmitterAnalysis>(Caller);
188 &Caller == &Callee)
224 auto &CallerBefore = FAM.getResult<InlineFeaturesAnalysis>(Caller);
230 FunctionLevels[&Caller]);
H A DCallPrinter.cpp177 Function *Caller = Node->getFunction();
178 if (Caller == nullptr || Caller->isDeclaration())
185 uint64_t Counter = getNumOfCalls(*Caller, *Callee);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAnnotateKernelFeatures.cpp51 bool propagateUniformWorkGroupAttribute(Function &Caller, Function &Callee);
231 Function *Caller = Node->getFunction(); local
236 Changed = propagateUniformWorkGroupAttribute(*Caller, *Callee);
244 Function &Caller, Function &Callee) {
249 if (!Caller.hasFnAttribute("uniform-work-group-size"))
250 Caller.addFnAttr("uniform-work-group-size", "false");
254 // Check if the Caller has the attribute
255 if (Caller.hasFnAttribute("uniform-work-group-size")) {
257 if (Caller.getFnAttribute("uniform-work-group-size")
270 Caller
243 propagateUniformWorkGroupAttribute( Function &Caller, Function &Callee) argument
[all...]
H A DAMDGPUInline.cpp111 Function *Caller = CB.getCaller(); local
118 && !Caller->hasFnAttribute(Attribute::MinSize))
122 const DataLayout &DL = Caller->getParent()->getDataLayout();
178 Function *Caller = CB.getCaller(); local
187 if (!TTI.areInlineCompatible(Caller, Callee))
203 const auto &BBs = Caller->getBasicBlockList();
210 OptimizationRemarkEmitter ORE(Caller);
221 size_t Size = Caller->size() + Callee->size() - 1;
H A DAMDGPUOpenCLEnqueuedBlockLowering.cpp84 auto *Caller = CI->getParent()->getParent(); local
85 if (Callers.insert(Caller).second)
86 collectCallers(Caller, Callers);
H A DAMDGPUPropagateAttributes.cpp254 Function *Caller = CI->getCaller(); local
255 if (!Caller || !Visited.insert(CI).second)
257 if (!Roots.count(Caller) && !NewRoots.count(Caller))
260 const FnProperties CallerProps(*TM, *Caller);
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterpFrame.cpp20 InterpFrame::InterpFrame(InterpState &S, Function *Func, InterpFrame *Caller, argument
22 : Caller(Caller), S(S), Func(Func), This(std::move(This)), RetPC(RetPC),
140 if (Caller->Caller)
141 return Caller;
146 if (!Caller->Func)
148 return S.getLocation(Caller->Func, RetPC - sizeof(uintptr_t));
H A DInterpState.cpp31 InterpFrame *Next = Current->Caller;
44 if (Current && Current->Caller) {
H A DInterpFrame.h32 InterpFrame *Caller; member in class:clang::interp::final
35 InterpFrame(InterpState &S, Function *Func, InterpFrame *Caller,
H A DInterp.cpp42 if (InterpFrame *Caller = S.Current->Caller) {
45 S.Current = Caller;
63 if (InterpFrame *Caller = S.Current->Caller) {
66 S.Current = Caller;
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaCUDA.cpp164 Sema::IdentifyCUDAPreference(const FunctionDecl *Caller,
167 CUDAFunctionTarget CallerTarget = IdentifyCUDATarget(Caller);
230 const FunctionDecl *Caller,
237 // Gets the CUDA function preference for a call from Caller to Match.
239 return IdentifyCUDAPreference(Caller, Match.second);
706 FunctionDecl *Caller = dyn_cast<FunctionDecl>(CurContext);
707 if (!Caller)
713 getEmissionStatus(Caller) == FunctionEmissionStatus::Emitted;
714 DeviceDiagBuilder::Kind DiagKind = [this, Caller, Callee,
716 switch (IdentifyCUDAPreference(Caller, Calle
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMLInlineAdvisor.h76 : Advisor->getIRSize(*Caller)),
81 : (Advisor->getLocalCalls(*Caller) +
90 Function *getCaller() const { return Caller; }
H A DInlineAdvisor.h97 /// Caller and Callee are pre-inlining.
98 Function *const Caller; member in class:llvm::InlineAdvice
225 const Function &Caller, const InlineCost &IC,
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DSyntheticCountsPropagation.cpp113 Function *Caller = CB.getCaller();
114 auto &BFI = FAM.getResult<BlockFrequencyAnalysis>(*Caller);
122 BBCount *= Counts[Caller];
H A DPartialInlining.cpp772 Function *Caller = CB.getCaller();
794 << NV("Caller", Caller)
804 << NV("Caller", Caller) << " because too costly to inline (cost="
810 const DataLayout &DL = Caller->getParent()->getDataLayout();
822 << NV("Caller", Caller) << " runtime overhead (overhead="
836 << NV("Caller", Caller) << " wit
947 Function *Caller = CB->getCaller(); local
[all...]
H A DInliner.cpp151 static void mergeInlinedArrayAllocas(Function *Caller, InlineFunctionInfo &IFI, argument
260 Function *Caller = CB.getCaller(); local
271 ImportedFunctionsStats.recordInline(*Caller, *Callee);
273 AttributeFuncs::mergeAttributesForInlining(*Caller, *Callee);
276 mergeInlinedArrayAllocas(Caller, IFI, InlinedArrayAllocas, InlineHistory);
362 << NV("Caller", CB->getCaller())
404 Function *Caller = CB.getCaller(); local
411 bool IsTriviallyDead = isInstructionTriviallyDead(&CB, &GetTLI(*Caller));
429 OptimizationRemarkEmitter ORE(Caller);
443 // Update the call graph by deleting the edge from Callee to Caller
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCallGraphUpdater.cpp147 Function *Caller = OldCS.getCaller();
150 CallGraphNode *CallerNode = (*CG)[Caller];
164 Function *Caller = CS.getCaller();
165 CallGraphNode *CallerNode = (*CG)[Caller];
H A DImportedFunctionsInliningStatistics.cpp34 void ImportedFunctionsInliningStatistics::recordInline(const Function &Caller, argument
37 InlineGraphNode &CallerNode = createInlineGraphNode(Caller);
53 auto It = NodesMap.find(Caller.getName());
55 // Save Caller as a starting node for traversal. The string has to be one
56 // from map because Caller can disappear (and function name with it).
H A DInlineFunction.cpp595 Function *Caller = FirstNewBlock->getParent(); local
604 for (Function::iterator I = FirstNewBlock->getIterator(), E = Caller->end();
621 for (Function::iterator BB = FirstNewBlock->getIterator(), E = Caller->end();
651 Function *Caller = FirstNewBlock->getParent(); local
682 for (Function::iterator BB = FirstNewBlock->getIterator(), E = Caller->end();
697 ConstantTokenNone::get(Caller->getContext());
730 UnwindDestToken = ConstantTokenNone::get(Caller->getContext());
759 E = Caller->end();
1276 const Function *Caller = CB.getCaller(); local
1279 CallGraphNode *CallerNode = CG[Caller];
1366 Function *Caller = TheCall->getFunction(); local
1666 Function *Caller = OrigBB->getParent(); local
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DImportedFunctionsInliningStatistics.h70 /// Record inline of @param Callee to @param Caller for statistis.
71 void recordInline(const Function &Caller, const Function &Callee);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/
H A DAttributes.cpp1837 static bool isEqual(const Function &Caller, const Function &Callee) { argument
1838 return Caller.getFnAttribute(AttrClass::getKind()) ==
1848 static void setAND(Function &Caller, const Function &Callee) { argument
1849 if (AttrClass::isSet(Caller, AttrClass::getKind()) &&
1851 AttrClass::set(Caller, AttrClass::getKind(), false);
1860 static void setOR(Function &Caller, const Function &Callee) { argument
1861 if (!AttrClass::isSet(Caller, AttrClass::getKind()) &&
1863 AttrClass::set(Caller, AttrClass::getKind(), true);
1868 static void adjustCallerSSPLevel(Function &Caller, const Function &Callee) { argument
1878 Caller
1892 adjustCallerStackProbes(Function &Caller, const Function &Callee) argument
1903 adjustCallerStackProbeSize(Function &Caller, const Function &Callee) argument
1933 adjustMinLegalVectorWidth(Function &Caller, const Function &Callee) argument
1957 adjustNullPointerValidAttr(Function &Caller, const Function &Callee) argument
2007 areInlineCompatible(const Function &Caller, const Function &Callee) argument
2012 mergeAttributesForInlining(Function &Caller, const Function &Callee) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DGlobalDCE.h63 void ScanVTableLoad(Function *Caller, Metadata *TypeId, uint64_t CallOffset);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXTargetTransformInfo.h77 bool areInlineCompatible(const Function *Caller, argument
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCXX.cpp286 auto getArgLoc = [&](CallEventRef<> Caller) -> Optional<SVal> {
288 Caller->getCalleeStackFrame(currBldrCtx->blockCount());
294 // This should be equivalent to Caller->getDecl() for now, but
306 const TypedValueRegion *TVR = Caller->getParameterLocation(
307 *Caller->getAdjustedParameterIndex(Idx), currBldrCtx->blockCount());
315 CallEventRef<> Caller = CEMgr.getSimpleCall(CE, State, LCtx); local
316 if (Optional<SVal> V = getArgLoc(Caller))
323 CallEventRef<> Caller = local
325 if (Optional<SVal> V = getArgLoc(Caller))
330 CallEventRef<> Caller local
[all...]

Completed in 288 milliseconds

123