Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/PDB/
Dpdbdump-mergeids.test14 MERGED-NEXT: 0x1003 | LF_STRING_ID [size = 16] ID: <no type>, String: SubOne
17 MERGED-NEXT: 0x1003: `SubOne`
/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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp943 return BinaryOperator::CreateSub(SubOne(Op1C), X); in foldAddWithConstant()
1633 return SelectInst::Create(X, SubOne(C), C); in visitSub()
DInstCombineInternal.h131 static inline Constant *SubOne(Constant *C) { in SubOne() function
DInstCombineAndOrXor.cpp1040 if (LHSC == SubOne(RHSC)) // (X != 13 & X u< 14) -> X < 13 in foldAndOfICmps()
1047 if (LHSC == SubOne(RHSC)) // (X != 13 & X s< 14) -> X < 13 in foldAndOfICmps()
DInstCombineCompares.cpp1707 return new ICmpInst(NewPred, X, SubOne(cast<Constant>(Cmp.getOperand(1)))); in foldICmpAndConstant()