Lines Matching refs:ReplaceInstUsesWith
407 return ReplaceInstUsesWith(ICI, Builder->getFalse()); in FoldCmpLoadFromIndexedGlobal()
427 return ReplaceInstUsesWith(ICI, Builder->getTrue()); in FoldCmpLoadFromIndexedGlobal()
680 return ReplaceInstUsesWith(I, Cmp); in FoldGEPICmp()
716 return ReplaceInstUsesWith(I, // No comparison is needed here. in FoldGEPICmp()
907 return ReplaceInstUsesWith(ICI, Builder->getFalse()); in FoldICmpDivCst()
914 return ReplaceInstUsesWith(ICI, InsertRangeTest(X, LoBound, HiBound, in FoldICmpDivCst()
918 return ReplaceInstUsesWith(ICI, Builder->getTrue()); in FoldICmpDivCst()
925 return ReplaceInstUsesWith(ICI, InsertRangeTest(X, LoBound, HiBound, in FoldICmpDivCst()
930 return ReplaceInstUsesWith(ICI, Builder->getTrue()); in FoldICmpDivCst()
932 return ReplaceInstUsesWith(ICI, Builder->getFalse()); in FoldICmpDivCst()
937 return ReplaceInstUsesWith(ICI, Builder->getFalse()); in FoldICmpDivCst()
939 return ReplaceInstUsesWith(ICI, Builder->getTrue()); in FoldICmpDivCst()
1012 return ReplaceInstUsesWith(ICI, Cst); in FoldICmpShrCst()
1044 return ReplaceInstUsesWith(I, ConstantInt::get(I.getType(), IsTrue)); in FoldICmpCstShrCst()
1104 return ReplaceInstUsesWith(I, ConstantInt::get(I.getType(), IsTrue)); in FoldICmpCstShlCst()
1335 return ReplaceInstUsesWith(ICI, Builder->getFalse()); in visitICmpInstWithInstAndIntCst()
1337 return ReplaceInstUsesWith(ICI, Builder->getTrue()); in visitICmpInstWithInstAndIntCst()
1571 return ReplaceInstUsesWith(ICI, Cst); in visitICmpInstWithInstAndIntCst()
1821 return ReplaceInstUsesWith(ICI, Builder->getInt1(isICMP_NE)); in visitICmpInstWithInstAndIntCst()
1830 return ReplaceInstUsesWith(ICI, Builder->getInt1(isICMP_NE)); in visitICmpInstWithInstAndIntCst()
2018 return ReplaceInstUsesWith(ICI, Result); in visitICmpInstWithCastAndCast()
2106 IC.ReplaceInstUsesWith(*OrigAdd, ZExt); in ProcessUGT_ADDCST_ADD()
2400 IC.ReplaceInstUsesWith(*TI, Mul); in ProcessUMulZExtIdiom()
2412 IC.ReplaceInstUsesWith(*BO, Zext); in ProcessUMulZExtIdiom()
2666 return ReplaceInstUsesWith(I, V); in visitICmpInst()
2884 return ReplaceInstUsesWith(I, ConstantInt::getFalse(I.getType())); in visitICmpInst()
2929 return ReplaceInstUsesWith(I, ConstantInt::getTrue(I.getType())); in visitICmpInst()
2974 return ReplaceInstUsesWith(I, ConstantInt::getTrue(I.getType())); in visitICmpInst()
2976 return ReplaceInstUsesWith(I, ConstantInt::getFalse(I.getType())); in visitICmpInst()
2992 return ReplaceInstUsesWith(I, ConstantInt::getTrue(I.getType())); in visitICmpInst()
2994 return ReplaceInstUsesWith(I, ConstantInt::getFalse(I.getType())); in visitICmpInst()
3011 return ReplaceInstUsesWith(I, ConstantInt::getTrue(I.getType())); in visitICmpInst()
3013 return ReplaceInstUsesWith(I, ConstantInt::getFalse(I.getType())); in visitICmpInst()
3024 return ReplaceInstUsesWith(I, ConstantInt::getTrue(I.getType())); in visitICmpInst()
3026 return ReplaceInstUsesWith(I, ConstantInt::getFalse(I.getType())); in visitICmpInst()
3039 return ReplaceInstUsesWith(I, ConstantInt::getTrue(I.getType())); in visitICmpInst()
3041 return ReplaceInstUsesWith(I, ConstantInt::getFalse(I.getType())); in visitICmpInst()
3046 return ReplaceInstUsesWith(I, ConstantInt::getTrue(I.getType())); in visitICmpInst()
3048 return ReplaceInstUsesWith(I, ConstantInt::getFalse(I.getType())); in visitICmpInst()
3053 return ReplaceInstUsesWith(I, ConstantInt::getTrue(I.getType())); in visitICmpInst()
3055 return ReplaceInstUsesWith(I, ConstantInt::getFalse(I.getType())); in visitICmpInst()
3060 return ReplaceInstUsesWith(I, ConstantInt::getTrue(I.getType())); in visitICmpInst()
3062 return ReplaceInstUsesWith(I, ConstantInt::getFalse(I.getType())); in visitICmpInst()
3405 return ReplaceInstUsesWith(I, ConstantInt::getFalse(I.getType())); in visitICmpInst()
3407 return ReplaceInstUsesWith(I, ConstantInt::getTrue(I.getType())); in visitICmpInst()
3522 ReplaceInstUsesWith(*AddI, Result); in visitICmpInst()
3523 return ReplaceInstUsesWith(I, Overflow); in visitICmpInst()
3740 return ReplaceInstUsesWith(I, Builder->getFalse()); in FoldFCmp_IntToFP_Cst()
3743 return ReplaceInstUsesWith(I, Builder->getTrue()); in FoldFCmp_IntToFP_Cst()
3792 return ReplaceInstUsesWith(I, Builder->getTrue()); in FoldFCmp_IntToFP_Cst()
3794 return ReplaceInstUsesWith(I, Builder->getFalse()); in FoldFCmp_IntToFP_Cst()
3812 return ReplaceInstUsesWith(I, Builder->getTrue()); in FoldFCmp_IntToFP_Cst()
3813 return ReplaceInstUsesWith(I, Builder->getFalse()); in FoldFCmp_IntToFP_Cst()
3824 return ReplaceInstUsesWith(I, Builder->getTrue()); in FoldFCmp_IntToFP_Cst()
3825 return ReplaceInstUsesWith(I, Builder->getFalse()); in FoldFCmp_IntToFP_Cst()
3837 return ReplaceInstUsesWith(I, Builder->getTrue()); in FoldFCmp_IntToFP_Cst()
3838 return ReplaceInstUsesWith(I, Builder->getFalse()); in FoldFCmp_IntToFP_Cst()
3848 return ReplaceInstUsesWith(I, Builder->getTrue()); in FoldFCmp_IntToFP_Cst()
3849 return ReplaceInstUsesWith(I, Builder->getFalse()); in FoldFCmp_IntToFP_Cst()
3871 return ReplaceInstUsesWith(I, Builder->getTrue()); in FoldFCmp_IntToFP_Cst()
3873 return ReplaceInstUsesWith(I, Builder->getFalse()); in FoldFCmp_IntToFP_Cst()
3878 return ReplaceInstUsesWith(I, Builder->getFalse()); in FoldFCmp_IntToFP_Cst()
3890 return ReplaceInstUsesWith(I, Builder->getFalse()); in FoldFCmp_IntToFP_Cst()
3903 return ReplaceInstUsesWith(I, Builder->getTrue()); in FoldFCmp_IntToFP_Cst()
3915 return ReplaceInstUsesWith(I, Builder->getTrue()); in FoldFCmp_IntToFP_Cst()
3947 return ReplaceInstUsesWith(I, V); in visitFCmpInst()
4068 return ReplaceInstUsesWith(I, Builder->getFalse()); in visitFCmpInst()