Home
last modified time | relevance | path

Searched refs:getSub (Results 1 – 25 of 46) sorted by relevance

12

/external/swiftshader/third_party/LLVM/unittests/VMCore/
DConstantsTest.cpp40 EXPECT_EQ(Zero, ConstantExpr::getSub(NegOne, One)); in TEST()
44 EXPECT_EQ(Zero, ConstantExpr::getSub(One, NegOne)); in TEST()
48 EXPECT_EQ(Zero, ConstantExpr::getSub(One, One)); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DConstantsTest.cpp47 EXPECT_EQ(Zero, ConstantExpr::getSub(NegOne, One)); in TEST()
51 EXPECT_EQ(Zero, ConstantExpr::getSub(One, NegOne)); in TEST()
55 EXPECT_EQ(Zero, ConstantExpr::getSub(One, One)); in TEST()
241 CHECK(ConstantExpr::getSub(P0, P0), "sub i32 " P0STR ", " P0STR); in TEST()
/external/llvm/unittests/IR/
DConstantsTest.cpp47 EXPECT_EQ(Zero, ConstantExpr::getSub(NegOne, One)); in TEST()
51 EXPECT_EQ(Zero, ConstantExpr::getSub(One, NegOne)); in TEST()
55 EXPECT_EQ(Zero, ConstantExpr::getSub(One, One)); in TEST()
240 CHECK(ConstantExpr::getSub(P0, P0), "sub i32 " P0STR ", " P0STR); in TEST()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp589 return BinaryOperator::CreateSub(ConstantExpr::getSub(C, C2), X); in visitSub()
633 Constant *CP1 = ConstantExpr::getSub(ConstantInt::get(I.getType(),1), CI); in visitSub()
640 C = ConstantExpr::getSub(One, ConstantExpr::getShl(One, CI)); in visitSub()
667 return BinaryOperator::CreateMul(X, ConstantExpr::getSub(C1, C2)); in visitSub()
DInstCombineCompares.cpp36 return ConstantExpr::getSub(C, ConstantInt::get(C->getType(), 1)); in SubOne()
93 Result = ConstantExpr::getSub(In1, In2); in SubWithOverflow()
708 ConstantExpr::getSub(ConstantInt::getAllOnesValue(CI->getType()), CI); in FoldICmpAddOpCst()
729 return new ICmpInst(ICmpInst::ICMP_SGT, X, ConstantExpr::getSub(SMax, CI)); in FoldICmpAddOpCst()
740 return new ICmpInst(ICmpInst::ICMP_SLT, X, ConstantExpr::getSub(SMax, C)); in FoldICmpAddOpCst()
1388 ConstantExpr::getSub(RHS, BOp1C)); in visitICmpInstWithInstAndIntCst()
1422 ConstantExpr::getSub(BOp0C, RHS)); in visitICmpInstWithInstAndIntCst()
DInstCombineAndOrXor.cpp1564 AddCST = ConstantExpr::getSub(AddOne(RHSCst), LHSCst); in FoldOrOfICmps()
2150 Constant *ConstantRHS = ConstantExpr::getSub(NegOp0I0C, in visitXor()
2161 ConstantExpr::getSub(NegOp0CI, in visitXor()
/external/swiftshader/third_party/LLVM/include/llvm/
DConstants.h632 static Constant *getSub(Constant *C1, Constant *C2,
673 return getSub(C1, C2, false, true);
676 return getSub(C1, C2, true, false);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DConstants.h931 static Constant *getSub(Constant *C1, Constant *C2,
982 return getSub(C1, C2, false, true);
986 return getSub(C1, C2, true, false);
DConstantFolder.h47 return ConstantExpr::getSub(LHS, RHS, HasNUW, HasNSW);
/external/llvm/include/llvm/IR/
DConstants.h881 static Constant *getSub(Constant *C1, Constant *C2,
929 return getSub(C1, C2, false, true);
932 return getSub(C1, C2, true, false);
DConstantFolder.h43 return ConstantExpr::getSub(LHS, RHS, HasNUW, HasNSW);
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DConstantFolder.h43 return ConstantExpr::getSub(LHS, RHS, HasNUW, HasNSW);
DTargetFolder.h59 return Fold(ConstantExpr::getSub(LHS, RHS, HasNUW, HasNSW));
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DTargetFolder.h58 return Fold(ConstantExpr::getSub(LHS, RHS, HasNUW, HasNSW));
/external/llvm/include/llvm/Analysis/
DTargetFolder.h59 return Fold(ConstantExpr::getSub(LHS, RHS, HasNUW, HasNSW));
/external/llvm/lib/Transforms/IPO/
DLowerTypeTests.cpp640 Constant *Disp = ConstantExpr::getSub(DestInt, SrcInt); in createJumpTableEntry()
643 Constant *OffsetedDisp = ConstantExpr::getSub(Disp, DispOffset); in createJumpTableEntry()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineInternal.h70 return ConstantExpr::getSub(C, ConstantInt::get(C->getType(), 1)); in SubOne()
DInstCombineCompares.cpp98 Result = ConstantExpr::getSub(In1, In2); in SubWithOverflow()
1149 ConstantExpr::getSub(ConstantInt::getAllOnesValue(CI->getType()), CI); in FoldICmpAddOpCst()
1170 return new ICmpInst(ICmpInst::ICMP_SGT, X, ConstantExpr::getSub(SMax, CI)); in FoldICmpAddOpCst()
1181 return new ICmpInst(ICmpInst::ICMP_SLT, X, ConstantExpr::getSub(SMax, C)); in FoldICmpAddOpCst()
2225 ConstantExpr::getSub(RHS, BOp1C)); in visitICmpInstWithInstAndIntCst()
2261 ConstantExpr::getSub(BOp0C, RHS)); in visitICmpInstWithInstAndIntCst()
DInstCombineAndOrXor.cpp1910 AddCST = ConstantExpr::getSub(AddOne(RHSCst), LHSCst); in FoldOrOfICmps()
2568 Constant *ConstantRHS = ConstantExpr::getSub(NegOp0I0C, in visitXor()
2579 ConstantExpr::getSub(NegOp0CI, in visitXor()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineInternal.h132 return ConstantExpr::getSub(C, ConstantInt::get(C->getType(), 1)); in SubOne()
DInstCombineCompares.cpp1094 ConstantExpr::getSub(ConstantInt::getAllOnesValue(CI->getType()), CI); in foldICmpAddOpConst()
1115 return new ICmpInst(ICmpInst::ICMP_SGT, X, ConstantExpr::getSub(SMax, CI)); in foldICmpAddOpConst()
1126 return new ICmpInst(ICmpInst::ICMP_SLT, X, ConstantExpr::getSub(SMax, C)); in foldICmpAddOpConst()
2616 Constant *SubC = ConstantExpr::getSub(RHS, cast<Constant>(BOp1)); in foldICmpBinOpEqualityWithConstant()
2651 Constant *SubC = ConstantExpr::getSub(cast<Constant>(BOp0), RHS); in foldICmpBinOpEqualityWithConstant()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DConstants.cpp1764 return getSub(ConstantFP::getZeroValueForNegation(C->getType()), in getNeg()
1791 Constant *ConstantExpr::getSub(Constant *C1, Constant *C2, in getSub() function in ConstantExpr
/external/llvm/lib/Analysis/
DInlineCost.cpp744 if (Constant *C = ConstantExpr::getSub(CLHS, CRHS)) { in visitSub()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DConstantFolding.cpp602 Res = ConstantExpr::getSub(Res, CE->getOperand(1)); in SymbolicallyEvaluateGEP()
/external/llvm/lib/IR/
DConstants.cpp2116 return getSub(ConstantFP::getZeroValueForNegation(C->getType()), in getNeg()
2143 Constant *ConstantExpr::getSub(Constant *C1, Constant *C2, in getSub() function in ConstantExpr

12