Searched refs:OldArg (Results 1 – 4 of 4) sorted by relevance
41 Value *OldArg = cast<CallInst>(CI)->getArgOperand(0); in EraseInstruction() local49 IsNullOrUndef(OldArg->stripPointerCasts()))) && in EraseInstruction()51 CI->replaceAllUsesWith(OldArg); in EraseInstruction()57 RecursivelyDeleteTriviallyDeadInstructions(OldArg); in EraseInstruction()
117 for (const Argument &OldArg : OldFunc->args()) { in CloneFunctionInto() local118 if (Argument *NewArg = dyn_cast<Argument>(VMap[&OldArg])) { in CloneFunctionInto()120 OldAttrs.getParamAttributes(OldArg.getArgNo()); in CloneFunctionInto()
1326 uint64_t OldArg, uint64_t NewArg) { in replaceArg() argument1332 if (Op.getOp() != dwarf::DW_OP_LLVM_arg || Op.getArg(0) < OldArg) { in replaceArg()1337 uint64_t Arg = Op.getArg(0) == OldArg ? NewArg : Op.getArg(0); in replaceArg()1340 if (Arg > OldArg) in replaceArg()
2807 static DIExpression *replaceArg(const DIExpression *Expr, uint64_t OldArg,