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

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp26 /// SubOne - Subtract one from a ConstantInt.
27 static Constant *SubOne(ConstantInt *C) { function
233 return BinaryOperator::CreateSub(SubOne(CRHS), X);
584 return SelectInst::Create(ZI->getOperand(0), SubOne(C), C);
663 return BinaryOperator::CreateMul(Op1, SubOne(C1));
H A DInstCombineAndOrXor.cpp27 /// SubOne - Subtract one from a ConstantInt.
28 static Constant *SubOne(ConstantInt *C) { function
366 Hi = SubOne(cast<ConstantInt>(Hi));
871 if (LHSCst == SubOne(RHSCst)) // (X != 13 & X u< 14) -> X < 13
875 if (LHSCst == SubOne(RHSCst)) // (X != 13 & X s< 14) -> X < 13
883 if (LHSCst == SubOne(RHSCst)){// (X != 13 & X != 14) -> X-13 >u 1
1560 if (LHSCst == SubOne(RHSCst)) {
H A DInstCombineCompares.cpp34 /// SubOne - Subtract one from a ConstantInt
35 static Constant *SubOne(Constant *C) { function
813 LoBound = ConstantExpr::getNeg(SubOne(RangeSize));
1043 SubOne(RHS));
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineInternal.h69 static inline Constant *SubOne(Constant *C) { function in namespace:llvm
H A DInstCombineAndOrXor.cpp318 Hi = SubOne(cast<ConstantInt>(Hi));
1001 if (LHSCst == SubOne(RHSCst)) // (X != 13 & X u< 14) -> X < 13
1007 if (LHSCst == SubOne(RHSCst)) // (X != 13 & X s< 14) -> X < 13
1019 if (LHSCst == SubOne(RHSCst)){// (X != 13 & X != 14) -> X-13 >u 1
1906 if (LHSCst == SubOne(RHSCst)) {
H A DInstCombineCompares.cpp1253 LoBound = ConstantExpr::getNeg(SubOne(RangeSize));
1596 SubOne(RHS));
1854 LHSI->getOperand(0), SubOne(RHS));
H A DInstCombineAddSub.cpp1149 return BinaryOperator::CreateSub(SubOne(CRHS), X);

Completed in 175 milliseconds