Home
last modified time | relevance | path

Searched refs:SubOne (Results 1 – 3 of 3) sorted by relevance

/src/contrib/llvm-project/llvm/include/llvm/Transforms/InstCombine/
H A DInstCombiner.h180 static Constant *SubOne(Constant *C) { in SubOne() function
/src/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp887 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()
H A DInstCombineCompares.cpp1923 return new ICmpInst(NewPred, X, SubOne(cast<Constant>(Cmp.getOperand(1)))); in foldICmpAndConstant()