Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Scalar/
DPartiallyInlineLibCalls.cpp44 bool optimizeSQRT(CallInst *Call, Function *CalledFunc,
73 Function *CalledFunc; in runOnFunction() local
75 if (!Call || !(CalledFunc = Call->getCalledFunction())) in runOnFunction()
81 if (CalledFunc->hasLocalLinkage() || !CalledFunc->hasName() || in runOnFunction()
82 !TLI->getLibFunc(CalledFunc->getName(), LibFunc)) in runOnFunction()
89 optimizeSQRT(Call, CalledFunc, *CurrBB, BB)) in runOnFunction()
105 Function *CalledFunc, in optimizeSQRT() argument
/external/llvm/lib/Transforms/Utils/
DInlineFunction.cpp289 const Function *CalledFunc = CS.getCalledFunction(); in CloneAliasScopeMetadata() local
297 for (Function::const_iterator I = CalledFunc->begin(), IE = CalledFunc->end(); in CloneAliasScopeMetadata()
326 DummyNodes.push_back(MDTuple::getTemporary(CalledFunc->getContext(), None)); in CloneAliasScopeMetadata()
344 MDNode *NewM = MDNode::get(CalledFunc->getContext(), NewOps); in CloneAliasScopeMetadata()
402 const Function *CalledFunc = CS.getCalledFunction(); in AddAliasScopeMetadata() local
405 for (Function::const_arg_iterator I = CalledFunc->arg_begin(), in AddAliasScopeMetadata()
406 E = CalledFunc->arg_end(); I != E; ++I) { in AddAliasScopeMetadata()
417 DT.recalculate(const_cast<Function&>(*CalledFunc)); in AddAliasScopeMetadata()
426 MDBuilder MDB(CalledFunc->getContext()); in AddAliasScopeMetadata()
430 MDB.createAnonymousAliasScopeDomain(CalledFunc->getName()); in AddAliasScopeMetadata()
[all …]