Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/
H A DIROutliner.cpp1441 Function *AggFunc = Group.OutlinedFunction; in replaceCalledFunction() local
1442 assert(AggFunc && "Function to replace with is nullptr?"); in replaceCalledFunction()
1448 if (!Region.ChangedArgOrder && AggFunc->arg_size() == Call->arg_size()) { in replaceCalledFunction()
1450 << *AggFunc << " with same number of arguments\n"); in replaceCalledFunction()
1451 Call->setCalledFunction(AggFunc); in replaceCalledFunction()
1459 for (unsigned AggArgIdx = 0; AggArgIdx < AggFunc->arg_size(); AggArgIdx++) { in replaceCalledFunction()
1461 if (AggArgIdx == AggFunc->arg_size() - 1 && in replaceCalledFunction()
1500 static_cast<PointerType *>(AggFunc->getArg(AggArgIdx)->getType()))); in replaceCalledFunction()
1504 << *AggFunc << " with new set of arguments\n"); in replaceCalledFunction()
1506 Call = CallInst::Create(AggFunc->getFunctionType(), AggFunc, NewCallArgs, "", in replaceCalledFunction()
[all …]