Searched refs:CalledFunc (Results 1 – 8 of 8) sorted by relevance
/external/llvm/lib/Transforms/Scalar/ |
D | PartiallyInlineLibCalls.cpp | 28 static bool optimizeSQRT(CallInst *Call, Function *CalledFunc, in optimizeSQRT() argument 94 Function *CalledFunc; in runPartiallyInlineLibCalls() local 96 if (!Call || !(CalledFunc = Call->getCalledFunction())) in runPartiallyInlineLibCalls() 102 if (CalledFunc->hasLocalLinkage() || !CalledFunc->hasName() || in runPartiallyInlineLibCalls() 103 !TLI->getLibFunc(CalledFunc->getName(), LibFunc)) in runPartiallyInlineLibCalls() 110 optimizeSQRT(Call, CalledFunc, *CurrBB, BB)) in runPartiallyInlineLibCalls()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | PartiallyInlineLibCalls.cpp | 28 static bool optimizeSQRT(CallInst *Call, Function *CalledFunc, in optimizeSQRT() argument 95 Function *CalledFunc; in runPartiallyInlineLibCalls() local 97 if (!Call || !(CalledFunc = Call->getCalledFunction())) in runPartiallyInlineLibCalls() 106 if (CalledFunc->hasLocalLinkage() || in runPartiallyInlineLibCalls() 107 !TLI->getLibFunc(*CalledFunc, LF) || !TLI->has(LF)) in runPartiallyInlineLibCalls() 114 optimizeSQRT(Call, CalledFunc, *CurrBB, BB, TTI)) in runPartiallyInlineLibCalls()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | InlineFunction.cpp | 807 const Function *CalledFunc = CS.getCalledFunction(); in CloneAliasScopeMetadata() local 815 for (const BasicBlock &I : *CalledFunc) in CloneAliasScopeMetadata() 842 DummyNodes.push_back(MDTuple::getTemporary(CalledFunc->getContext(), None)); in CloneAliasScopeMetadata() 859 MDNode *NewM = MDNode::get(CalledFunc->getContext(), NewOps); in CloneAliasScopeMetadata() 917 const Function *CalledFunc = CS.getCalledFunction(); in AddAliasScopeMetadata() local 920 for (const Argument &Arg : CalledFunc->args()) in AddAliasScopeMetadata() 930 DT.recalculate(const_cast<Function&>(*CalledFunc)); in AddAliasScopeMetadata() 939 MDBuilder MDB(CalledFunc->getContext()); in AddAliasScopeMetadata() 943 MDB.createAnonymousAliasScopeDomain(CalledFunc->getName()); in AddAliasScopeMetadata() 947 std::string Name = CalledFunc->getName(); in AddAliasScopeMetadata() [all …]
|
/external/llvm/lib/Transforms/Utils/ |
D | InlineFunction.cpp | 727 const Function *CalledFunc = CS.getCalledFunction(); in CloneAliasScopeMetadata() local 735 for (const BasicBlock &I : *CalledFunc) in CloneAliasScopeMetadata() 762 DummyNodes.push_back(MDTuple::getTemporary(CalledFunc->getContext(), None)); in CloneAliasScopeMetadata() 779 MDNode *NewM = MDNode::get(CalledFunc->getContext(), NewOps); in CloneAliasScopeMetadata() 837 const Function *CalledFunc = CS.getCalledFunction(); in AddAliasScopeMetadata() local 840 for (const Argument &Arg : CalledFunc->args()) in AddAliasScopeMetadata() 850 DT.recalculate(const_cast<Function&>(*CalledFunc)); in AddAliasScopeMetadata() 859 MDBuilder MDB(CalledFunc->getContext()); in AddAliasScopeMetadata() 863 MDB.createAnonymousAliasScopeDomain(CalledFunc->getName()); in AddAliasScopeMetadata() 867 std::string Name = CalledFunc->getName(); in AddAliasScopeMetadata() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | InlineFunction.cpp | 731 const Function *CalledFunc, in HandleByValArgument() argument 739 if (CalledFunc->onlyReadsMemory()) { in HandleByValArgument() 899 const Function *CalledFunc = CS.getCalledFunction(); in InlineFunction() local 900 if (CalledFunc == 0 || // Can't inline external function or indirect in InlineFunction() 901 CalledFunc->isDeclaration() || // call, or call to a vararg function! in InlineFunction() 902 CalledFunc->getFunctionType()->isVarArg()) return false; in InlineFunction() 920 if (CalledFunc->hasGC()) { in InlineFunction() 922 Caller->setGC(CalledFunc->getGC()); in InlineFunction() 923 else if (CalledFunc->getGC() != Caller->getGC()) in InlineFunction() 946 I = CalledFunc->begin(), E = CalledFunc->end(); I != E; ++I) in InlineFunction() [all …]
|
/external/llvm/lib/Analysis/ |
D | CFLSteensAliasAnalysis.cpp | 346 if (auto CalledFunc = CS.getCalledFunction()) { in getArgModRefInfo() local 347 auto &MaybeInfo = ensureCached(const_cast<Function *>(CalledFunc)); in getArgModRefInfo() 375 if (auto CalledFunc = CS.getCalledFunction()) in getModRefBehavior() local 376 return getModRefBehavior(CalledFunc); in getModRefBehavior()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/ |
D | FunctionAttrs.cpp | 601 if (auto *CalledFunc = CS.getCalledFunction()) { in addArgumentAttrsFromCallsites() local 602 for (auto &CSArg : CalledFunc->args()) { in addArgumentAttrsFromCallsites()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 1850 if (auto *CalledFunc = CS.getCalledFunction()) in isKnownNonNullFromDominatingCondition() local 1851 for (const Argument &Arg : CalledFunc->args()) in isKnownNonNullFromDominatingCondition()
|