Lines Matching refs:replaceAllUsesWith
83 CI->replaceAllUsesWith(NewCI); in ReplaceCallWith()
356 CI->replaceAllUsesWith(V); in LowerIntrinsicCall()
368 CI->replaceAllUsesWith(V); in LowerIntrinsicCall()
373 CI->replaceAllUsesWith(Constant::getNullValue(CI->getType())); in LowerIntrinsicCall()
389 CI->replaceAllUsesWith(LowerCTPOP(Context, CI->getArgOperand(0), CI)); in LowerIntrinsicCall()
393 CI->replaceAllUsesWith(LowerBSWAP(Context, CI->getArgOperand(0), CI)); in LowerIntrinsicCall()
397 CI->replaceAllUsesWith(LowerCTLZ(Context, CI->getArgOperand(0), CI)); in LowerIntrinsicCall()
408 CI->replaceAllUsesWith(Src); in LowerIntrinsicCall()
420 CI->replaceAllUsesWith(Constant::getNullValue(CI->getType())); in LowerIntrinsicCall()
429 CI->replaceAllUsesWith(ConstantInt::get(CI->getType(), 0)); in LowerIntrinsicCall()
436 CI->replaceAllUsesWith( in LowerIntrinsicCall()
442 CI->replaceAllUsesWith( in LowerIntrinsicCall()
454 CI->replaceAllUsesWith(ConstantInt::get(Type::getInt64Ty(Context), 0)); in LowerIntrinsicCall()
464 CI->replaceAllUsesWith(ConstantInt::get(CI->getType(), 1)); in LowerIntrinsicCall()
470 CI->replaceAllUsesWith(CI->getOperand(0)); in LowerIntrinsicCall()
573 CI->replaceAllUsesWith(ConstantInt::get(CI->getType(), 1)); in LowerIntrinsicCall()
578 CI->replaceAllUsesWith(UndefValue::get(CI->getType())); in LowerIntrinsicCall()
609 CI->replaceAllUsesWith(Op); in LowerToByteSwap()