Searched refs:OldArg (Results 1 – 2 of 2) sorted by relevance
54 Value *OldArg = cast<CallInst>(CI)->getArgOperand(0); in EraseInstruction() local62 isa<ConstantPointerNull>(OldArg))) && in EraseInstruction()64 CI->replaceAllUsesWith(OldArg); in EraseInstruction()70 RecursivelyDeleteTriviallyDeadInstructions(OldArg); in EraseInstruction()
107 for (const Argument &OldArg : OldFunc->args()) in CloneFunctionInto() local108 if (Argument *NewArg = dyn_cast<Argument>(VMap[&OldArg])) { in CloneFunctionInto()110 OldAttrs.getParamAttributes(OldArg.getArgNo() + 1); in CloneFunctionInto()