Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp27 static Constant *SubOne(ConstantInt *C) { in SubOne() function
233 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()
DInstCombineAndOrXor.cpp28 static Constant *SubOne(ConstantInt *C) { in SubOne() function
366 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()
DInstCombineCompares.cpp35 static Constant *SubOne(Constant *C) { in SubOne() function
813 LoBound = ConstantExpr::getNeg(SubOne(RangeSize)); in FoldICmpDivCst()
1043 SubOne(RHS)); in visitICmpInstWithInstAndIntCst()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp318 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()
DInstCombineInternal.h69 static inline Constant *SubOne(Constant *C) { in SubOne() function
DInstCombineCompares.cpp1253 LoBound = ConstantExpr::getNeg(SubOne(RangeSize)); in FoldICmpDivCst()
1596 SubOne(RHS)); in visitICmpInstWithInstAndIntCst()
1854 LHSI->getOperand(0), SubOne(RHS)); in visitICmpInstWithInstAndIntCst()
DInstCombineAddSub.cpp1149 return BinaryOperator::CreateSub(SubOne(CRHS), X); in visitAdd()