Searched refs:OldArg (Results 1 – 6 of 6) sorted by relevance
53 Value *OldArg = cast<CallInst>(CI)->getArgOperand(0); in EraseInstruction() local61 isa<ConstantPointerNull>(OldArg))) && in EraseInstruction()63 CI->replaceAllUsesWith(OldArg); in EraseInstruction()69 RecursivelyDeleteTriviallyDeadInstructions(OldArg); in EraseInstruction()
38 Value *OldArg = cast<CallInst>(CI)->getArgOperand(0); in EraseInstruction() local46 IsNullOrUndef(OldArg->stripPointerCasts()))) && in EraseInstruction()48 CI->replaceAllUsesWith(OldArg); in EraseInstruction()54 RecursivelyDeleteTriviallyDeadInstructions(OldArg); in EraseInstruction()
52 Value *OldArg = cast<CallInst>(CI)->getArgOperand(0); in EraseInstruction() local60 IsNullOrUndef(OldArg->stripPointerCasts()))) && in EraseInstruction()62 CI->replaceAllUsesWith(OldArg); in EraseInstruction()68 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()
115 for (const Argument &OldArg : OldFunc->args()) { in CloneFunctionInto() local116 if (Argument *NewArg = dyn_cast<Argument>(VMap[&OldArg])) { in CloneFunctionInto()118 OldAttrs.getParamAttributes(OldArg.getArgNo()); in CloneFunctionInto()
112 for (const Argument &OldArg : OldFunc->args()) { in CloneFunctionInto() local113 if (Argument *NewArg = dyn_cast<Argument>(VMap[&OldArg])) { in CloneFunctionInto()115 OldAttrs.getParamAttributes(OldArg.getArgNo()); in CloneFunctionInto()