Home | History | Annotate | Download | only in Utils

Lines Matching refs:CalledFunc

393   const Function *CalledFunc = CS.getCalledFunction();
401 for (Function::const_iterator I = CalledFuncCalledFunc->end();
430 DummyNodes.push_back(MDTuple::getTemporary(CalledFunc->getContext(), None));
448 MDNode *NewM = MDNode::get(CalledFunc->getContext(), NewOps);
506 const Function *CalledFunc = CS.getCalledFunction();
509 for (const Argument &I : CalledFunc->args()) {
520 DT.recalculate(const_cast<Function&>(*CalledFunc));
529 MDBuilder MDB(CalledFunc->getContext());
533 MDB.createAnonymousAliasScopeDomain(CalledFunc->getName());
537 std::string Name = CalledFunc->getName();
693 MDNode::get(CalledFunc->getContext(), NoAliases)));
719 MDNode::get(CalledFunc->getContext(), Scopes)));
736 Function *CalledFunc = CS.getCalledFunction();
737 for (Function::arg_iterator I = CalledFunc->arg_begin(),
738 E = CalledFunc->arg_end();
850 const Function *CalledFunc,
861 if (CalledFunc->onlyReadsMemory()) {
1030 const Function *CalledFunc = CS.getCalledFunction();
1031 if (!CalledFunc || // Can't inline external function or indirect
1032 CalledFunc->isDeclaration() || // call, or call to a vararg function!
1033 CalledFunc->getFunctionType()->isVarArg()) return false;
1062 if (CalledFunc->hasGC()) {
1064 Caller->setGC(CalledFunc->getGC());
1065 else if (CalledFunc->getGC() != Caller->getGC())
1071 CalledFunc->hasPersonalityFn()
1072 ? CalledFunc->getPersonalityFn()->stripPointerCasts()
1113 for (const BasicBlock &CalledBB : *CalledFunc) {
1121 for (const BasicBlock &CalledBB : *CalledFunc) {
1147 assert(CalledFunc->arg_size() == CS.arg_size() &&
1154 for (Function::const_arg_iterator I = CalledFunc->arg_begin(),
1155 E = CalledFunc->arg_end(); I != E; ++I, ++AI, ++ArgNo) {
1163 ActualArg = HandleByValArgument(ActualArg, TheCall, CalledFunc, IFI,
1164 CalledFunc->getParamAlignment(ArgNo+1));
1181 CloneAndPruneFunctionInto(Caller, CalledFunc, VMap,
1579 CalledFunc->getName() + ".exit");
1586 CalledFunc->getName() + ".exit");
1606 Type *RTy = CalledFunc->getReturnType();