Lines Matching refs:AggArgIdx
836 for (unsigned AggArgIdx = 0; AggArgIdx < AggFunc->arg_size(); AggArgIdx++) { in replaceCalledFunction() local
838 if (AggArgIdx == AggFunc->arg_size() - 1 && in replaceCalledFunction()
850 ArgPair = Region.AggArgToExtracted.find(AggArgIdx); in replaceCalledFunction()
856 LLVM_DEBUG(dbgs() << "Setting argument " << AggArgIdx << " to value " in replaceCalledFunction()
863 if (Region.AggArgToConstant.find(AggArgIdx) != in replaceCalledFunction()
865 Constant *CST = Region.AggArgToConstant.find(AggArgIdx)->second; in replaceCalledFunction()
866 LLVM_DEBUG(dbgs() << "Setting argument " << AggArgIdx << " to value " in replaceCalledFunction()
875 LLVM_DEBUG(dbgs() << "Setting argument " << AggArgIdx << " to nullptr\n"); in replaceCalledFunction()
877 static_cast<PointerType *>(AggFunc->getArg(AggArgIdx)->getType()))); in replaceCalledFunction()
928 unsigned AggArgIdx = Region.ExtractedArgToAgg.find(ArgIdx)->second; in replaceArgumentUses() local
929 Argument *AggArg = Group.OutlinedFunction->getArg(AggArgIdx); in replaceArgumentUses()
970 unsigned AggArgIdx = Const.first; in replaceConstants() local
974 Argument *Arg = Group.OutlinedFunction->getArg(AggArgIdx); in replaceConstants()