Home
last modified time | relevance | path

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

/external/llvm/lib/Analysis/
DModuleSummaryAnalysis.cpp85 auto *CalledFunction = CS.getCalledFunction(); in computeFunctionSummary() local
86 if (CalledFunction && CalledFunction->hasName() && in computeFunctionSummary()
87 !CalledFunction->isIntrinsic()) { in computeFunctionSummary()
90 M->getValueSymbolTable().lookup(CalledFunction->getName()); in computeFunctionSummary()
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DSignalHandlerCheck.cpp170 void SignalHandlerCheck::reportBug(const FunctionDecl *CalledFunction, in reportBug() argument
177 << CalledFunction; in reportBug()
DSignalHandlerCheck.h31 void reportBug(const FunctionDecl *CalledFunction, const Expr *CallOrRef,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DModuleSummaryAnalysis.cpp321 auto *CalledFunction = CS.getCalledFunction(); in computeFunctionSummary() local
322 if (CalledValue && !CalledFunction) { in computeFunctionSummary()
325 CalledFunction = dyn_cast<Function>(CalledValue); in computeFunctionSummary()
330 assert(!CalledFunction && "Expected null called function in callsite for alias"); in computeFunctionSummary()
331 CalledFunction = dyn_cast<Function>(GA->getBaseObject()); in computeFunctionSummary()
335 if (CalledFunction) { in computeFunctionSummary()
336 if (CI && CalledFunction->isIntrinsic()) { in computeFunctionSummary()
343 assert(CalledFunction->hasName()); in computeFunctionSummary()
/external/llvm-project/llvm/lib/Analysis/
DModuleSummaryAnalysis.cpp321 auto *CalledFunction = CB->getCalledFunction(); in computeFunctionSummary() local
322 if (CalledValue && !CalledFunction) { in computeFunctionSummary()
325 CalledFunction = dyn_cast<Function>(CalledValue); in computeFunctionSummary()
330 assert(!CalledFunction && "Expected null called function in callsite for alias"); in computeFunctionSummary()
331 CalledFunction = dyn_cast<Function>(GA->getBaseObject()); in computeFunctionSummary()
335 if (CalledFunction) { in computeFunctionSummary()
336 if (CI && CalledFunction->isIntrinsic()) { in computeFunctionSummary()
343 assert(CalledFunction->hasName()); in computeFunctionSummary()
DInlineCost.cpp2601 Function *CalledFunction = CI->getCalledFunction(); in run() local
2602 if (!CalledFunction || CalledFunction->isDeclaration()) in run()
2604 OptimizationRemarkEmitter ORE(CalledFunction); in run()
2605 InlineCostCallAnalyzer ICCA(*CalledFunction, *CI, Params, TTI, in run()
2608 OS << " Analyzing call of " << CalledFunction->getName() in run()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DSampleProfile.cpp891 Function *CalledFunction = CS.getCalledFunction(); in inlineCallInstruction() local
892 assert(CalledFunction); in inlineCallInstruction()
904 getInlineCost(cast<CallBase>(*I), Params, GetTTI(*CalledFunction), GetAC, in inlineCallInstruction()
915 << "inlined callee '" << ore::NV("Callee", CalledFunction) in inlineCallInstruction()
941 Function *CalledFunction = CallSite(I).getCalledFunction(); in emitOptimizationRemarksForInlineCandidates() local
942 if (CalledFunction) { in emitOptimizationRemarksForInlineCandidates()
947 << ore::NV("Callee", CalledFunction) << "' into '" in emitOptimizationRemarksForInlineCandidates()
1010 Function *CalledFunction = CallSite(I).getCalledFunction(); in inlineHotFunctions() local
1012 if (CalledFunction == &F) in inlineHotFunctions()
1060 } else if (CalledFunction && CalledFunction->getSubprogram() && in inlineHotFunctions()
[all …]
/external/llvm-project/llvm/lib/Transforms/IPO/
DSampleProfile.cpp936 Function *CalledFunction = CB.getCalledFunction(); in inlineCallInstruction() local
937 assert(CalledFunction); in inlineCallInstruction()
949 getInlineCost(CB, Params, GetTTI(*CalledFunction), GetAC, GetTLI); in inlineCallInstruction()
958 emitInlinedInto(*ORE, DLoc, BB, *CalledFunction, *BB->getParent(), Cost, in inlineCallInstruction()
989 Function *CalledFunction = I->getCalledFunction(); in emitOptimizationRemarksForInlineCandidates() local
990 if (CalledFunction) { in emitOptimizationRemarksForInlineCandidates()
995 << ore::NV("Callee", CalledFunction) << "' into '" in emitOptimizationRemarksForInlineCandidates()
1060 Function *CalledFunction = I->getCalledFunction(); in inlineHotFunctions() local
1062 if (CalledFunction == &F) in inlineHotFunctions()
1112 } else if (CalledFunction && CalledFunction->getSubprogram() && in inlineHotFunctions()
[all …]
DOpenMPOpt.cpp1779 Function *CalledFunction = CB->getCalledFunction(); in getValueForCall() local
1782 if (CalledFunction == nullptr) in getValueForCall()
1784 if (CalledFunction == GetterRFI.Declaration) in getValueForCall()
1786 if (CalledFunction == SetterRFI.Declaration) { in getValueForCall()
1794 if (CalledFunction->isDeclaration()) in getValueForCall()
/external/llvm/lib/ProfileData/
DSampleProfReader.cpp322 auto CalledFunction(readStringFromTable()); in readProfile() local
323 if (std::error_code EC = CalledFunction.getError()) in readProfile()
331 *CalledFunction, *CalledFunctionSamples); in readProfile()
/external/llvm-project/polly/lib/Analysis/
DScopDetection.cpp680 Function *CalledFunction = CI.getCalledFunction(); in isValidCallInst() local
683 if (CalledFunction == nullptr) in isValidCallInst()
688 << CalledFunction->getName() << '\n'); in isValidCallInst()
693 switch (AA.getModRefBehavior(CalledFunction)) { in isValidCallInst()
DScopBuilder.cpp1806 auto *CalledFunction = CI->getCalledFunction(); in buildAccessCallInst() local
1807 switch (AA.getModRefBehavior(CalledFunction)) { in buildAccessCallInst()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/
DSampleProfReader.cpp399 auto CalledFunction(readStringFromTable()); in readProfile() local
400 if (std::error_code EC = CalledFunction.getError()) in readProfile()
408 *CalledFunction, *CalledFunctionSamples); in readProfile()
/external/llvm/lib/Transforms/IPO/
DSampleProfile.cpp642 Function *CalledFunction = CI->getCalledFunction(); in inlineHotFunctions() local
649 CalledFunction->getName() + "' with " + in inlineHotFunctions()
/external/llvm-project/llvm/lib/ProfileData/
DSampleProfReader.cpp440 auto CalledFunction(readStringFromTable()); in readProfile() local
441 if (std::error_code EC = CalledFunction.getError()) in readProfile()
449 *CalledFunction, *CalledFunctionSamples); in readProfile()
/external/llvm-project/llvm/lib/Transforms/Utils/
DInlineFunction.cpp1177 auto *CalledFunction = CB.getCalledFunction(); in AddReturnAttributes() local
1178 auto &Context = CalledFunction->getContext(); in AddReturnAttributes()
1180 for (auto &BB : *CalledFunction) { in AddReturnAttributes()