• Home
  • Raw
  • Download

Lines Matching refs:replaceInstUsesWith

1093     return IC.replaceInstUsesWith(II, II.getArgOperand(3));  in simplifyMaskedGather()
1118 return IC.replaceInstUsesWith(II, ZeroVec); in simplifyX86MaskedLoad()
1140 return IC.replaceInstUsesWith(II, NewMaskedLoad); in simplifyX86MaskedLoad()
1247 return replaceInstUsesWith(CI, V); in visitCallInst()
1342 return replaceInstUsesWith(CI, ConstantInt::get(II->getType(), APSize)); in visitCallInst()
1352 return replaceInstUsesWith(CI, X); in visitCallInst()
1371 return replaceInstUsesWith(CI, X); in visitCallInst()
1377 return replaceInstUsesWith(CI, SimplifiedMaskedOp); in visitCallInst()
1390 return replaceInstUsesWith(CI, ConstantFP::get(CI.getType(), 1.0)); in visitCallInst()
1393 return replaceInstUsesWith(CI, II->getArgOperand(0)); in visitCallInst()
1413 return replaceInstUsesWith(CI, ConstantInt::get(IT, in visitCallInst()
1431 return replaceInstUsesWith(CI, ConstantInt::get(IT, in visitCallInst()
1477 return replaceInstUsesWith(*II, V); in visitCallInst()
1575 return replaceInstUsesWith(*II, ConstantAggregateZero::get(RetType)); in visitCallInst()
1592 return replaceInstUsesWith(*II, VectorFloats); in visitCallInst()
1630 return replaceInstUsesWith(*II, V); in visitCallInst()
1743 return replaceInstUsesWith(*II, V); in visitCallInst()
1763 return replaceInstUsesWith(*II, V); in visitCallInst()
1790 return replaceInstUsesWith(*II, V); in visitCallInst()
1795 return replaceInstUsesWith(*II, V); in visitCallInst()
1818 return replaceInstUsesWith(*II, V); in visitCallInst()
1850 return replaceInstUsesWith(*II, V); in visitCallInst()
1882 return replaceInstUsesWith(*II, V); in visitCallInst()
1915 return replaceInstUsesWith(*II, V); in visitCallInst()
1951 return replaceInstUsesWith(CI, Op0); in visitCallInst()
1955 return replaceInstUsesWith(CI, Op0); in visitCallInst()
1968 return replaceInstUsesWith(*II, V); in visitCallInst()
1976 return replaceInstUsesWith(*II, V); in visitCallInst()
1982 return replaceInstUsesWith(*II, V); in visitCallInst()
1990 return replaceInstUsesWith(*II, V); in visitCallInst()
2023 return replaceInstUsesWith(*II, V); in visitCallInst()
2031 return replaceInstUsesWith(*II, V); in visitCallInst()
2128 return replaceInstUsesWith(CI, ConstantAggregateZero::get(II->getType())); in visitCallInst()
2140 return replaceInstUsesWith(CI, ConstantExpr::getMul(CV0, CV1)); in visitCallInst()
2167 return replaceInstUsesWith(CI, ConstantFP::get(II->getContext(), Val)); in visitCallInst()
2181 return replaceInstUsesWith(CI, ConstantFP::get(II->getContext(), in visitCallInst()
2189 return replaceInstUsesWith(CI, ConstantInt::get(II->getType(), Exp)); in visitCallInst()
2193 return replaceInstUsesWith(CI, UndefValue::get(II->getType())); in visitCallInst()
2321 return replaceInstUsesWith(*II, UndefValue::get(II->getType())); in visitCallInst()
2329 return replaceInstUsesWith(*II, ConstantPointerNull::get(PT)); in visitCallInst()
2390 replaceInstUsesWith(*From, With); in tryOptimizeCall()
2395 return CI->use_empty() ? CI : replaceInstUsesWith(*CI, With); in tryOptimizeCall()
2541 replaceInstUsesWith(*OldCall, UndefValue::get(OldCall->getType())); in visitCallSite()
2557 replaceInstUsesWith(*CS.getInstruction(), in visitCallSite()
2874 replaceInstUsesWith(*Caller, NV); in transformConstExprCastCall()