Searched refs:SubOne (Results 1 – 3 of 3) sorted by relevance
180 static Constant *SubOne(Constant *C) { in SubOne() function
887 return SelectInst::Create(X, InstCombiner::SubOne(Op1C), Op1); in foldAddWithConstant()1721 : InstCombiner::SubOne(C); in visitAdd()2299 return SelectInst::Create(X, InstCombiner::SubOne(C), C); in visitSub()
1923 return new ICmpInst(NewPred, X, SubOne(cast<Constant>(Cmp.getOperand(1)))); in foldICmpAndConstant()