Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DIROutliner.cpp1424 Function *AggFunc = Group.OutlinedFunction; in replaceCalledFunction() local
1425 assert(AggFunc && "Function to replace with is nullptr?"); in replaceCalledFunction()
1431 if (!Region.ChangedArgOrder && AggFunc->arg_size() == Call->arg_size()) { in replaceCalledFunction()
1433 << *AggFunc << " with same number of arguments\n"); in replaceCalledFunction()
1434 Call->setCalledFunction(AggFunc); in replaceCalledFunction()
1442 for (unsigned AggArgIdx = 0; AggArgIdx < AggFunc->arg_size(); AggArgIdx++) { in replaceCalledFunction()
1444 if (AggArgIdx == AggFunc->arg_size() - 1 && in replaceCalledFunction()
1483 static_cast<PointerType *>(AggFunc->getArg(AggArgIdx)->getType()))); in replaceCalledFunction()
1487 << *AggFunc << " with new set of arguments\n"); in replaceCalledFunction()
1489 Call = CallInst::Create(AggFunc->getFunctionType(), AggFunc, NewCallArgs, "", in replaceCalledFunction()
[all …]