Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp328 Hi = SubOne(cast<ConstantInt>(Hi)); in InsertRangeTest()
1028 if (LHSCst == SubOne(RHSCst)) // (X != 13 & X u< 14) -> X < 13 in FoldAndOfICmps()
1034 if (LHSCst == SubOne(RHSCst)) // (X != 13 & X s< 14) -> X < 13 in FoldAndOfICmps()
1046 if (LHSCst == SubOne(RHSCst)){// (X != 13 & X != 14) -> X-13 >u 1 in FoldAndOfICmps()
2007 if (LHSCst == SubOne(RHSCst)) { in FoldOrOfICmps()
DInstCombineInternal.h69 static inline Constant *SubOne(Constant *C) { in SubOne() function
DInstCombineCompares.cpp927 LoBound = ConstantExpr::getNeg(SubOne(RangeSize)); in FoldICmpDivCst()
1271 SubOne(RHS)); in visitICmpInstWithInstAndIntCst()
1529 LHSI->getOperand(0), SubOne(RHS)); in visitICmpInstWithInstAndIntCst()
DInstCombineAddSub.cpp1169 return BinaryOperator::CreateSub(SubOne(CRHS), X); in visitAdd()