/external/llvm/lib/Analysis/ |
D | ModuleSummaryAnalysis.cpp | 85 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/ |
D | SignalHandlerCheck.cpp | 170 void SignalHandlerCheck::reportBug(const FunctionDecl *CalledFunction, in reportBug() argument 177 << CalledFunction; in reportBug()
|
D | SignalHandlerCheck.h | 31 void reportBug(const FunctionDecl *CalledFunction, const Expr *CallOrRef,
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | ModuleSummaryAnalysis.cpp | 321 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/ |
D | ModuleSummaryAnalysis.cpp | 321 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()
|
D | InlineCost.cpp | 2601 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/ |
D | SampleProfile.cpp | 891 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/ |
D | SampleProfile.cpp | 936 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 …]
|
D | OpenMPOpt.cpp | 1779 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/ |
D | SampleProfReader.cpp | 322 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/ |
D | ScopDetection.cpp | 680 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()
|
D | ScopBuilder.cpp | 1806 auto *CalledFunction = CI->getCalledFunction(); in buildAccessCallInst() local 1807 switch (AA.getModRefBehavior(CalledFunction)) { in buildAccessCallInst()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/ |
D | SampleProfReader.cpp | 399 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/ |
D | SampleProfile.cpp | 642 Function *CalledFunction = CI->getCalledFunction(); in inlineHotFunctions() local 649 CalledFunction->getName() + "' with " + in inlineHotFunctions()
|
/external/llvm-project/llvm/lib/ProfileData/ |
D | SampleProfReader.cpp | 440 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/ |
D | InlineFunction.cpp | 1177 auto *CalledFunction = CB.getCalledFunction(); in AddReturnAttributes() local 1178 auto &Context = CalledFunction->getContext(); in AddReturnAttributes() 1180 for (auto &BB : *CalledFunction) { in AddReturnAttributes()
|