Searched refs:SubOne (Results 1 – 7 of 7) sorted by relevance
27 static Constant *SubOne(ConstantInt *C) { in SubOne() function233 return BinaryOperator::CreateSub(SubOne(CRHS), X); in visitAdd()584 return SelectInst::Create(ZI->getOperand(0), SubOne(C), C); in visitSub()663 return BinaryOperator::CreateMul(Op1, SubOne(C1)); in visitSub()
28 static Constant *SubOne(ConstantInt *C) { in SubOne() function366 Hi = SubOne(cast<ConstantInt>(Hi)); in InsertRangeTest()871 if (LHSCst == SubOne(RHSCst)) // (X != 13 & X u< 14) -> X < 13 in FoldAndOfICmps()875 if (LHSCst == SubOne(RHSCst)) // (X != 13 & X s< 14) -> X < 13 in FoldAndOfICmps()883 if (LHSCst == SubOne(RHSCst)){// (X != 13 & X != 14) -> X-13 >u 1 in FoldAndOfICmps()1560 if (LHSCst == SubOne(RHSCst)) { in FoldOrOfICmps()
35 static Constant *SubOne(Constant *C) { in SubOne() function813 LoBound = ConstantExpr::getNeg(SubOne(RangeSize)); in FoldICmpDivCst()1043 SubOne(RHS)); in visitICmpInstWithInstAndIntCst()
318 Hi = SubOne(cast<ConstantInt>(Hi)); in InsertRangeTest()1001 if (LHSCst == SubOne(RHSCst)) // (X != 13 & X u< 14) -> X < 13 in FoldAndOfICmps()1007 if (LHSCst == SubOne(RHSCst)) // (X != 13 & X s< 14) -> X < 13 in FoldAndOfICmps()1019 if (LHSCst == SubOne(RHSCst)){// (X != 13 & X != 14) -> X-13 >u 1 in FoldAndOfICmps()1906 if (LHSCst == SubOne(RHSCst)) { in FoldOrOfICmps()
69 static inline Constant *SubOne(Constant *C) { in SubOne() function
1253 LoBound = ConstantExpr::getNeg(SubOne(RangeSize)); in FoldICmpDivCst()1596 SubOne(RHS)); in visitICmpInstWithInstAndIntCst()1854 LHSI->getOperand(0), SubOne(RHS)); in visitICmpInstWithInstAndIntCst()
1149 return BinaryOperator::CreateSub(SubOne(CRHS), X); in visitAdd()