HomeSort by: relevance | last modified time | path
    Searched refs:Caller (Results 1 - 25 of 84) sorted by relevancy

1 2 3 4

  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
InlineAdvisor.cpp 33 STATISTIC(NumCallerCallersAnalyzed, "Number of caller-callers analyzed");
60 << NV("Caller", Caller) << ": "
67 emitInlinedInto(ORE, DLoc, Block, *Callee, *Caller, *OIC);
72 emitInlinedInto(ORE, DLoc, Block, *Callee, *Caller, *OIC);
77 Function &Caller = *CB.getCaller();
79 FAM.getResult<ModuleAnalysisManagerFunctionProxy>(Caller)
83 auto &ORE = FAM.getResult<OptimizationRemarkEmitterAnalysis>(Caller);
118 : Advisor(Advisor), Caller(CB.getCaller()), Callee(CB.getCalledFunction()),
136 Advisor->ImportedFunctionsStats->recordInline(*Caller, *Callee)
    [all...]
MLInlineAdvisor.cpp 133 Function *Caller = Advice.getCaller();
136 // The caller features aren't valid anymore.
140 FAM.invalidate(*Caller, PA);
143 getIRSize(*Caller) + (CalleeWasDeleted ? 0 : Advice.CalleeIRSize);
149 // the caller, and maybe the callee (by deleting the latter).
151 // For edges, we 'forget' the edges that the caller and callee used to have
154 FAM.getResult<FunctionPropertiesAnalysis>(*Caller)
176 auto &Caller = *CB.getCaller();
183 auto &ORE = FAM.getResult<OptimizationRemarkEmitterAnalysis>(Caller);
191 &Caller == &Callee
    [all...]
ReplayInlineAdvisor.cpp 63 Function &Caller = *CB.getCaller();
64 auto &ORE = FAM.getResult<OptimizationRemarkEmitterAnalysis>(Caller);
CallPrinter.cpp 71 for (Function *Caller : Callers)
72 localSumFreq += getNumOfCalls(*Caller, F);
156 return "external caller";
178 Function *Caller = Node->getFunction();
179 if (Caller == nullptr || Caller->isDeclaration())
186 uint64_t Counter = getNumOfCalls(*Caller, *Callee);
  /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
AMDGPUAnnotateKernelFeatures.cpp 43 bool propagateUniformWorkGroupAttribute(Function &Caller, Function &Callee);
215 Function *Caller = Node->getFunction();
220 Changed = propagateUniformWorkGroupAttribute(*Caller, *Callee);
228 Function &Caller, Function &Callee) {
233 if (!Caller.hasFnAttribute("uniform-work-group-size"))
234 Caller.addFnAttr("uniform-work-group-size", "false");
238 // Check if the Caller has the attribute
239 if (Caller.hasFnAttribute("uniform-work-group-size")) {
241 if (Caller.getFnAttribute("uniform-work-group-size")
254 Caller.addFnAttr("uniform-work-group-size", "false")
    [all...]
AMDGPUOpenCLEnqueuedBlockLowering.cpp 79 auto *Caller = CI->getParent()->getParent();
80 if (Callers.insert(Caller).second)
81 collectCallers(Caller, Callers);
144 LLVM_DEBUG(dbgs() << "mark enqueue_kernel caller:" << F->getName() << '\n');
AMDGPULowerIntrinsics.cpp 138 Function *Caller = CI->getParent()->getParent();
139 const AMDGPUSubtarget &ST = AMDGPUSubtarget::get(TM, *Caller);
AMDGPUPropagateAttributes.cpp 13 /// caller.
254 Function *Caller = CI->getCaller();
255 if (!Caller || !Visited.insert(CI).second)
257 if (!Roots.count(Caller) && !NewRoots.count(Caller))
260 const FnProperties CallerProps(*TM, *Caller);
  /src/external/apache2/llvm/dist/clang/lib/AST/Interp/
InterpFrame.cpp 20 InterpFrame::InterpFrame(InterpState &S, Function *Func, InterpFrame *Caller,
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));
InterpState.cpp 31 InterpFrame *Next = Current->Caller;
44 if (Current && Current->Caller) {
InterpFrame.h 32 InterpFrame *Caller;
35 InterpFrame(InterpState &S, Function *Func, InterpFrame *Caller,
56 /// Returns the caller.
Interp.cpp 42 if (InterpFrame *Caller = S.Current->Caller) {
45 S.Current = Caller;
63 if (InterpFrame *Caller = S.Current->Caller) {
66 S.Current = Caller;
  /src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
MLInlineAdvisor.h 77 : Advisor->getIRSize(*Caller)),
82 : (Advisor->getLocalCalls(*Caller) +
91 Function *getCaller() const { return Caller; }
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
SyntheticCountsPropagation.cpp 21 // multiplied by the entry count of the caller and added to the callee's entry
114 Function *Caller = CB.getCaller();
115 auto &BFI = FAM.getResult<BlockFrequencyAnalysis>(*Caller);
123 BBCount *= Counts[Caller];
AlwaysInliner.cpp 50 // When callee coroutine function is inlined into caller coroutine function
67 Function *Caller = CB->getCaller();
68 OptimizationRemarkEmitter ORE(Caller);
76 emitInlinedInto(ORE, CB->getDebugLoc(), CB->getParent(), F, *Caller,
90 AttributeFuncs::mergeAttributesForInlining(*Caller, F);
193 // When callee coroutine function is inlined into caller coroutine function
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
CallGraphUpdater.cpp 148 Function *Caller = OldCS.getCaller();
151 CallGraphNode *CallerNode = (*CG)[Caller];
165 Function *Caller = CS.getCaller();
166 CallGraphNode *CallerNode = (*CG)[Caller];
InlineFunction.cpp 154 /// Forward the 'resume' instruction to the caller's landing pad block.
214 /// Forward the 'resume' instruction to the caller's landing pad block.
261 // annotated as "unwinds to caller" when really it's nounwind (see
265 // "unwinds to caller" cleanupret, which can be trusted.
273 // marked "unwind to caller", it would be a verifier error if it
292 // be ConstantTokenNone to indicate unwind to caller, or can
379 /// return that pad instruction. If it unwinds to caller, return
415 // descendants. An unwind all the way out to a pad in the caller would
561 // invokes. The caller's "segment" of the deoptimization continuation
611 Function *Caller = FirstNewBlock->getParent()
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/IPO/
ProfiledCallGraph.h 65 ContextTrieNode *Caller = Queue.front();
67 // Add calls for context. When AddNodeWithSamplesOnly is true, both caller
74 for (auto &Child : Caller->getAllChildContext()) {
78 addProfiledCall(Caller->getFuncName(), Callee->getFuncName());
GlobalDCE.h 63 void ScanVTableLoad(Function *Caller, Metadata *TypeId, uint64_t CallOffset);
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaCUDA.cpp 202 Sema::IdentifyCUDAPreference(const FunctionDecl *Caller,
205 CUDAFunctionTarget CallerTarget = IdentifyCUDATarget(Caller);
268 const FunctionDecl *Caller,
275 // Gets the CUDA function preference for a call from Caller to Match.
277 return IdentifyCUDAPreference(Caller, Match.second);
339 // members are called from this one, and not from its caller.
751 // the caller is a global initializer?
752 FunctionDecl *Caller = dyn_cast<FunctionDecl>(CurContext);
753 if (!Caller)
756 // If the caller is known-emitted, mark the callee as known-emitted
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
WebAssemblyTargetTransformInfo.cpp 98 bool WebAssemblyTTIImpl::areInlineCompatible(const Function *Caller,
100 // Allow inlining only when the Callee has a subset of the Caller's
109 TM.getSubtargetImpl(*Caller)->getFeatureBits();
WebAssemblyTargetTransformInfo.h 75 bool areInlineCompatible(const Function *Caller,
  /src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/Utils/
ImportedFunctionsInliningStatistics.h 70 /// Record inline of @param Callee to @param Caller for statistis.
71 void recordInline(const Function &Caller, const Function &Callee);
  /src/external/apache2/llvm/dist/llvm/lib/IR/
Attributes.cpp 2128 static bool isEqual(const Function &Caller, const Function &Callee) {
2129 return Caller.getFnAttribute(AttrClass::getKind()) ==
2133 /// Compute the logical AND of the attributes of the caller and the
2136 /// This function sets the caller's attribute to false if the callee's attribute
2139 static void setAND(Function &Caller, const Function &Callee) {
2140 if (AttrClass::isSet(Caller, AttrClass::getKind()) &&
2142 AttrClass::set(Caller, AttrClass::getKind(), false);
2145 /// Compute the logical OR of the attributes of the caller and the
2148 /// This function sets the caller's attribute to true if the callee's attribute
2151 static void setOR(Function &Caller, const Function &Callee)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
NVPTXTargetTransformInfo.h 82 bool areInlineCompatible(const Function *Caller,

Completed in 32 milliseconds

1 2 3 4