Searched refs:OldArg (Results 1 – 4 of 4) 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()
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()
443 Value *OldArg = cast<CallInst>(CI)->getArgOperand(0); in EraseInstruction() local451 CI->replaceAllUsesWith(OldArg); in EraseInstruction()457 RecursivelyDeleteTriviallyDeadInstructions(OldArg); in EraseInstruction()
2670 auto OldArg = CI->getOperand(0); in transOCLAllAny() local2672 Int32Ty, OldArg->getType()->getVectorNumElements()); in transOCLAllAny()2674 CastInst::CreateSExtOrBitCast(OldArg, NewArgTy, "", CI); in transOCLAllAny()