Lines Matching refs:ShiftedC

2110       APInt ShiftedC = C.ashr(*ShiftAmt);  in foldICmpShlConstant()  local
2111 return new ICmpInst(Pred, X, ConstantInt::get(ShType, ShiftedC)); in foldICmpShlConstant()
2115 APInt ShiftedC = C.ashr(*ShiftAmt); in foldICmpShlConstant() local
2116 return new ICmpInst(Pred, X, ConstantInt::get(ShType, ShiftedC)); in foldICmpShlConstant()
2124 APInt ShiftedC = (C - 1).ashr(*ShiftAmt) + 1; in foldICmpShlConstant() local
2125 return new ICmpInst(Pred, X, ConstantInt::get(ShType, ShiftedC)); in foldICmpShlConstant()
2140 APInt ShiftedC = C.lshr(*ShiftAmt); in foldICmpShlConstant() local
2141 return new ICmpInst(Pred, X, ConstantInt::get(ShType, ShiftedC)); in foldICmpShlConstant()
2145 APInt ShiftedC = C.lshr(*ShiftAmt); in foldICmpShlConstant() local
2146 return new ICmpInst(Pred, X, ConstantInt::get(ShType, ShiftedC)); in foldICmpShlConstant()
2154 APInt ShiftedC = (C - 1).lshr(*ShiftAmt) + 1; in foldICmpShlConstant() local
2155 return new ICmpInst(Pred, X, ConstantInt::get(ShType, ShiftedC)); in foldICmpShlConstant()
2260 APInt ShiftedC = C.shl(ShAmtVal); in foldICmpShrConstant() local
2261 if (ShiftedC.ashr(ShAmtVal) == C) in foldICmpShrConstant()
2262 return new ICmpInst(Pred, X, ConstantInt::get(ShrTy, ShiftedC)); in foldICmpShrConstant()
2266 APInt ShiftedC = (C + 1).shl(ShAmtVal) - 1; in foldICmpShrConstant() local
2268 (ShiftedC + 1).ashr(ShAmtVal) == (C + 1)) in foldICmpShrConstant()
2269 return new ICmpInst(Pred, X, ConstantInt::get(ShrTy, ShiftedC)); in foldICmpShrConstant()
2290 APInt ShiftedC = C.shl(ShAmtVal); in foldICmpShrConstant() local
2291 if (ShiftedC.lshr(ShAmtVal) == C) in foldICmpShrConstant()
2292 return new ICmpInst(Pred, X, ConstantInt::get(ShrTy, ShiftedC)); in foldICmpShrConstant()
2296 APInt ShiftedC = (C + 1).shl(ShAmtVal) - 1; in foldICmpShrConstant() local
2297 if ((ShiftedC + 1).lshr(ShAmtVal) == (C + 1)) in foldICmpShrConstant()
2298 return new ICmpInst(Pred, X, ConstantInt::get(ShrTy, ShiftedC)); in foldICmpShrConstant()