Searched refs:CalledFunc (Results 1 – 4 of 4) sorted by relevance
31 static bool optimizeSQRT(CallInst *Call, Function *CalledFunc, in optimizeSQRT() argument101 Function *CalledFunc; in runPartiallyInlineLibCalls() local103 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()
814 const Function *CalledFunc = CS.getCalledFunction(); in CloneAliasScopeMetadata() local822 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() local927 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 …]
642 if (auto *CalledFunc = CS.getCalledFunction()) { in addArgumentAttrsFromCallsites() local643 for (auto &CSArg : CalledFunc->args()) { in addArgumentAttrsFromCallsites()
2008 if (auto *CalledFunc = CS.getCalledFunction()) in isKnownNonNullFromDominatingCondition() local2009 for (const Argument &Arg : CalledFunc->args()) in isKnownNonNullFromDominatingCondition()