Home
last modified time | relevance | path

Searched refs:CalledFunction (Results 1 – 6 of 6) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DSampleProfile.cpp946 Function *CalledFunction = I->getCalledFunction(); in emitOptimizationRemarksForInlineCandidates() local
947 if (CalledFunction) { in emitOptimizationRemarksForInlineCandidates()
952 << ore::NV("Callee", CalledFunction) << "' into '" in emitOptimizationRemarksForInlineCandidates()
1070 Function *CalledFunction = I->getCalledFunction(); in inlineHotFunctions() local
1077 if (CalledFunction == &F) in inlineHotFunctions()
1097 } else if (CalledFunction && CalledFunction->getSubprogram() && in inlineHotFunctions()
1098 !CalledFunction->isDeclaration()) { in inlineHotFunctions()
1167 Function *CalledFunction = CB.getCalledFunction(); in tryInlineCandidate() local
1168 assert(CalledFunction && "Expect a callee with definition"); in tryInlineCandidate()
1186 emitInlinedInto(*ORE, DLoc, BB, *CalledFunction, *BB->getParent(), Cost, in tryInlineCandidate()
[all …]
H A DOpenMPOpt.cpp943 Function *CalledFunction = CI->getCalledFunction(); in mergeParallelRegions() local
944 if (!CalledFunction) in mergeParallelRegions()
952 if (CalledFunction == RFI.Declaration) in mergeParallelRegions()
1990 Function *CalledFunction = CB->getCalledFunction(); in getValueForCall() local
1993 if (CalledFunction == nullptr) in getValueForCall()
1995 if (CalledFunction == GetterRFI.Declaration) in getValueForCall()
1997 if (CalledFunction == SetterRFI.Declaration) { in getValueForCall()
2005 if (CalledFunction->isDeclaration()) in getValueForCall()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DModuleSummaryAnalysis.cpp316 auto *CalledFunction = CB->getCalledFunction(); in computeFunctionSummary() local
317 if (CalledValue && !CalledFunction) { in computeFunctionSummary()
320 CalledFunction = dyn_cast<Function>(CalledValue); in computeFunctionSummary()
325 assert(!CalledFunction && "Expected null called function in callsite for alias"); in computeFunctionSummary()
326 CalledFunction = dyn_cast<Function>(GA->getBaseObject()); in computeFunctionSummary()
330 if (CalledFunction) { in computeFunctionSummary()
331 if (CI && CalledFunction->isIntrinsic()) { in computeFunctionSummary()
338 assert(CalledFunction->hasName()); in computeFunctionSummary()
H A DInlineCost.cpp2792 Function *CalledFunction = CI->getCalledFunction(); in run() local
2793 if (!CalledFunction || CalledFunction->isDeclaration()) in run()
2795 OptimizationRemarkEmitter ORE(CalledFunction); in run()
2796 InlineCostCallAnalyzer ICCA(*CalledFunction, *CI, Params, TTI, in run()
2799 OS << " Analyzing call of " << CalledFunction->getName() in run()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ProfileData/
H A DSampleProfReader.cpp508 auto CalledFunction(readStringFromTable()); in readProfile() local
509 if (std::error_code EC = CalledFunction.getError()) in readProfile()
517 *CalledFunction, *CalledFunctionSamples); in readProfile()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp1218 auto *CalledFunction = CB.getCalledFunction(); in AddReturnAttributes() local
1219 auto &Context = CalledFunction->getContext(); in AddReturnAttributes()
1221 for (auto &BB : *CalledFunction) { in AddReturnAttributes()