Lines Matching refs:ShiftedC

2147       APInt ShiftedC = C.ashr(*ShiftAmt);  in foldICmpShlConstant()  local
2148 return new ICmpInst(Pred, X, ConstantInt::get(ShType, ShiftedC)); in foldICmpShlConstant()
2152 APInt ShiftedC = C.ashr(*ShiftAmt); in foldICmpShlConstant() local
2153 return new ICmpInst(Pred, X, ConstantInt::get(ShType, ShiftedC)); in foldICmpShlConstant()
2161 APInt ShiftedC = (C - 1).ashr(*ShiftAmt) + 1; in foldICmpShlConstant() local
2162 return new ICmpInst(Pred, X, ConstantInt::get(ShType, ShiftedC)); in foldICmpShlConstant()
2177 APInt ShiftedC = C.lshr(*ShiftAmt); in foldICmpShlConstant() local
2178 return new ICmpInst(Pred, X, ConstantInt::get(ShType, ShiftedC)); in foldICmpShlConstant()
2182 APInt ShiftedC = C.lshr(*ShiftAmt); in foldICmpShlConstant() local
2183 return new ICmpInst(Pred, X, ConstantInt::get(ShType, ShiftedC)); in foldICmpShlConstant()
2191 APInt ShiftedC = (C - 1).lshr(*ShiftAmt) + 1; in foldICmpShlConstant() local
2192 return new ICmpInst(Pred, X, ConstantInt::get(ShType, ShiftedC)); in foldICmpShlConstant()
2325 APInt ShiftedC = C.shl(ShAmtVal); in foldICmpShrConstant() local
2326 if (ShiftedC.ashr(ShAmtVal) == C) in foldICmpShrConstant()
2327 return new ICmpInst(Pred, X, ConstantInt::get(ShrTy, ShiftedC)); in foldICmpShrConstant()
2331 APInt ShiftedC = (C + 1).shl(ShAmtVal) - 1; in foldICmpShrConstant() local
2333 (ShiftedC + 1).ashr(ShAmtVal) == (C + 1)) in foldICmpShrConstant()
2334 return new ICmpInst(Pred, X, ConstantInt::get(ShrTy, ShiftedC)); in foldICmpShrConstant()
2340 APInt ShiftedC = (C + 1).shl(ShAmtVal) - 1; in foldICmpShrConstant() local
2341 if ((ShiftedC + 1).ashr(ShAmtVal) == (C + 1) || in foldICmpShrConstant()
2343 return new ICmpInst(Pred, X, ConstantInt::get(ShrTy, ShiftedC)); in foldICmpShrConstant()
2364 APInt ShiftedC = C.shl(ShAmtVal); in foldICmpShrConstant() local
2365 if (ShiftedC.lshr(ShAmtVal) == C) in foldICmpShrConstant()
2366 return new ICmpInst(Pred, X, ConstantInt::get(ShrTy, ShiftedC)); in foldICmpShrConstant()
2370 APInt ShiftedC = (C + 1).shl(ShAmtVal) - 1; in foldICmpShrConstant() local
2371 if ((ShiftedC + 1).lshr(ShAmtVal) == (C + 1)) in foldICmpShrConstant()
2372 return new ICmpInst(Pred, X, ConstantInt::get(ShrTy, ShiftedC)); in foldICmpShrConstant()