/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | InlineAdvisor.cpp | 67 << 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 D | MLInlineAdvisor.cpp | 129 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 D | CallPrinter.cpp | 177 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 D | AMDGPUAnnotateKernelFeatures.cpp | 51 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 D | AMDGPUInline.cpp | 111 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 D | AMDGPUOpenCLEnqueuedBlockLowering.cpp | 84 auto *Caller = CI->getParent()->getParent(); local 85 if (Callers.insert(Caller).second) 86 collectCallers(Caller, Callers);
|
H A D | AMDGPUPropagateAttributes.cpp | 254 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 D | InterpFrame.cpp | 20 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 D | InterpState.cpp | 31 InterpFrame *Next = Current->Caller; 44 if (Current && Current->Caller) {
|
H A D | InterpFrame.h | 32 InterpFrame *Caller; member in class:clang::interp::final 35 InterpFrame(InterpState &S, Function *Func, InterpFrame *Caller,
|
H A D | Interp.cpp | 42 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 D | SemaCUDA.cpp | 164 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 D | MLInlineAdvisor.h | 76 : Advisor->getIRSize(*Caller)), 81 : (Advisor->getLocalCalls(*Caller) + 90 Function *getCaller() const { return Caller; }
|
H A D | InlineAdvisor.h | 97 /// 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 D | SyntheticCountsPropagation.cpp | 113 Function *Caller = CB.getCaller(); 114 auto &BFI = FAM.getResult<BlockFrequencyAnalysis>(*Caller); 122 BBCount *= Counts[Caller];
|
H A D | PartialInlining.cpp | 772 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 D | Inliner.cpp | 151 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 D | CallGraphUpdater.cpp | 147 Function *Caller = OldCS.getCaller(); 150 CallGraphNode *CallerNode = (*CG)[Caller]; 164 Function *Caller = CS.getCaller(); 165 CallGraphNode *CallerNode = (*CG)[Caller];
|
H A D | ImportedFunctionsInliningStatistics.cpp | 34 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 D | InlineFunction.cpp | 595 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 D | ImportedFunctionsInliningStatistics.h | 70 /// 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 D | Attributes.cpp | 1837 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 D | GlobalDCE.h | 63 void ScanVTableLoad(Function *Caller, Metadata *TypeId, uint64_t CallOffset);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXTargetTransformInfo.h | 77 bool areInlineCompatible(const Function *Caller, argument
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | ExprEngineCXX.cpp | 286 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...] |