Home
last modified time | relevance | path

Searched refs:CalledFunc (Results 1 – 11 of 11) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
DPartiallyInlineLibCalls.cpp28 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-10.0/llvm/lib/Transforms/Scalar/
DPartiallyInlineLibCalls.cpp31 static bool optimizeSQRT(CallInst *Call, Function *CalledFunc, in optimizeSQRT() argument
101 Function *CalledFunc; in runPartiallyInlineLibCalls() local
103 if (!Call || !(CalledFunc = Call->getCalledFunction())) in runPartiallyInlineLibCalls()
112 if (CalledFunc->hasLocalLinkage() || in runPartiallyInlineLibCalls()
113 !TLI->getLibFunc(*CalledFunc, LF) || !TLI->has(LF)) in runPartiallyInlineLibCalls()
120 optimizeSQRT(Call, CalledFunc, *CurrBB, BB, TTI)) in runPartiallyInlineLibCalls()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DPartiallyInlineLibCalls.cpp31 static bool optimizeSQRT(CallInst *Call, Function *CalledFunc, in optimizeSQRT() argument
101 Function *CalledFunc; in runPartiallyInlineLibCalls() local
103 if (!Call || !(CalledFunc = Call->getCalledFunction())) in runPartiallyInlineLibCalls()
112 if (CalledFunc->hasLocalLinkage() || in runPartiallyInlineLibCalls()
113 !TLI->getLibFunc(*CalledFunc, LF) || !TLI->has(LF)) in runPartiallyInlineLibCalls()
120 optimizeSQRT(Call, CalledFunc, *CurrBB, BB, TTI)) in runPartiallyInlineLibCalls()
/external/llvm/lib/Transforms/Utils/
DInlineFunction.cpp727 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-10.0/llvm/lib/Transforms/Utils/
DInlineFunction.cpp814 const Function *CalledFunc = CS.getCalledFunction(); in CloneAliasScopeMetadata() local
822 for (const BasicBlock &I : *CalledFunc) in CloneAliasScopeMetadata()
849 DummyNodes.push_back(MDTuple::getTemporary(CalledFunc->getContext(), None)); in CloneAliasScopeMetadata()
866 MDNode *NewM = MDNode::get(CalledFunc->getContext(), NewOps); in CloneAliasScopeMetadata()
924 const Function *CalledFunc = CS.getCalledFunction(); in AddAliasScopeMetadata() local
927 for (const Argument &Arg : CalledFunc->args()) in AddAliasScopeMetadata()
937 DT.recalculate(const_cast<Function&>(*CalledFunc)); in AddAliasScopeMetadata()
946 MDBuilder MDB(CalledFunc->getContext()); in AddAliasScopeMetadata()
950 MDB.createAnonymousAliasScopeDomain(CalledFunc->getName()); in AddAliasScopeMetadata()
954 std::string Name = CalledFunc->getName(); in AddAliasScopeMetadata()
[all …]
/external/llvm-project/llvm/lib/Transforms/Utils/
DInlineFunction.cpp832 const Function *CalledFunc = CB.getCalledFunction(); in CloneAliasScopeMetadata() local
840 for (const BasicBlock &I : *CalledFunc) in CloneAliasScopeMetadata()
867 DummyNodes.push_back(MDTuple::getTemporary(CalledFunc->getContext(), None)); in CloneAliasScopeMetadata()
884 MDNode *NewM = MDNode::get(CalledFunc->getContext(), NewOps); in CloneAliasScopeMetadata()
921 const Function *CalledFunc = CB.getCalledFunction(); in AddAliasScopeMetadata() local
924 for (const Argument &Arg : CalledFunc->args()) in AddAliasScopeMetadata()
934 DT.recalculate(const_cast<Function&>(*CalledFunc)); in AddAliasScopeMetadata()
943 MDBuilder MDB(CalledFunc->getContext()); in AddAliasScopeMetadata()
947 MDB.createAnonymousAliasScopeDomain(CalledFunc->getName()); in AddAliasScopeMetadata()
951 std::string Name = std::string(CalledFunc->getName()); in AddAliasScopeMetadata()
[all …]
/external/llvm/lib/Analysis/
DCFLSteensAliasAnalysis.cpp346 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-10.0/llvm/lib/Transforms/IPO/
DFunctionAttrs.cpp642 if (auto *CalledFunc = CS.getCalledFunction()) { in addArgumentAttrsFromCallsites() local
643 for (auto &CSArg : CalledFunc->args()) { in addArgumentAttrsFromCallsites()
/external/llvm-project/llvm/lib/Transforms/IPO/
DFunctionAttrs.cpp643 if (auto *CalledFunc = CB->getCalledFunction()) { in addArgumentAttrsFromCallsites() local
644 for (auto &CSArg : CalledFunc->args()) { in addArgumentAttrsFromCallsites()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DValueTracking.cpp2008 if (auto *CalledFunc = CS.getCalledFunction()) in isKnownNonNullFromDominatingCondition() local
2009 for (const Argument &Arg : CalledFunc->args()) in isKnownNonNullFromDominatingCondition()
/external/llvm-project/llvm/lib/Analysis/
DValueTracking.cpp2100 if (auto *CalledFunc = CB->getCalledFunction()) in isKnownNonNullFromDominatingCondition() local
2101 for (const Argument &Arg : CalledFunc->args()) in isKnownNonNullFromDominatingCondition()