• Home
  • Raw
  • Download

Lines Matching refs:CalledFunc

832   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()
1104 MDNode::get(CalledFunc->getContext(), NoAliases))); in AddAliasScopeMetadata()
1130 MDNode::get(CalledFunc->getContext(), Scopes))); in AddAliasScopeMetadata()
1240 Function *CalledFunc = CB.getCalledFunction(); in AddAlignmentAssumptions() local
1241 for (Argument &Arg : CalledFunc->args()) { in AddAlignmentAssumptions()
1355 const Function *CalledFunc, in HandleByValArgument() argument
1367 if (CalledFunc->onlyReadsMemory()) { in HandleByValArgument()
1635 Function *CalledFunc = CB.getCalledFunction(); in InlineFunction() local
1636 if (!CalledFunc || // Can't inline external function or indirect in InlineFunction()
1637 CalledFunc->isDeclaration()) // call! in InlineFunction()
1667 if (CalledFunc->hasGC()) { in InlineFunction()
1669 Caller->setGC(CalledFunc->getGC()); in InlineFunction()
1670 else if (CalledFunc->getGC() != Caller->getGC()) in InlineFunction()
1676 CalledFunc->hasPersonalityFn() in InlineFunction()
1677 ? CalledFunc->getPersonalityFn()->stripPointerCasts() in InlineFunction()
1718 for (const BasicBlock &CalledBB : *CalledFunc) { in InlineFunction()
1726 for (const BasicBlock &CalledBB : *CalledFunc) { in InlineFunction()
1769 for (Function::arg_iterator I = CalledFunc->arg_begin(), in InlineFunction()
1770 E = CalledFunc->arg_end(); I != E; ++I, ++AI, ++ArgNo) { in InlineFunction()
1778 ActualArg = HandleByValArgument(ActualArg, &CB, CalledFunc, IFI, in InlineFunction()
1779 CalledFunc->getParamAlignment(ArgNo)); in InlineFunction()
1803 CloneAndPruneFunctionInto(Caller, CalledFunc, VMap, in InlineFunction()
1812 CalledFunc->front()); in InlineFunction()
1814 updateCallProfile(CalledFunc, VMap, CalledFunc->getEntryCount(), CB, in InlineFunction()
1881 CalledFunc->getSubprogram() != nullptr); in InlineFunction()
1949 for (unsigned i = CalledFunc->getFunctionType()->getNumParams(); in InlineFunction()
2353 CalledFunc->getName() + ".exit"); in InlineFunction()
2360 CalledFunc->getName() + ".exit"); in InlineFunction()
2386 Type *RTy = CalledFunc->getReturnType(); in InlineFunction()