Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DIROutliner.cpp739 Function *AggFunc = Group.OutlinedFunction; in replaceCalledFunction() local
740 assert(AggFunc && "Function to replace with is nullptr?"); in replaceCalledFunction()
745 if (AggFunc->arg_size() == Call->arg_size()) { in replaceCalledFunction()
747 << *AggFunc << " with same number of arguments\n"); in replaceCalledFunction()
748 Call->setCalledFunction(AggFunc); in replaceCalledFunction()
756 for (unsigned AggArgIdx = 0; AggArgIdx < AggFunc->arg_size(); AggArgIdx++) { in replaceCalledFunction()
758 if (AggArgIdx == AggFunc->arg_size() - 1 && in replaceCalledFunction()
797 static_cast<PointerType *>(AggFunc->getArg(AggArgIdx)->getType()))); in replaceCalledFunction()
801 << *AggFunc << " with new set of arguments\n"); in replaceCalledFunction()
803 Call = CallInst::Create(AggFunc->getFunctionType(), AggFunc, NewCallArgs, "", in replaceCalledFunction()
[all …]