/external/llvm/unittests/IR/ |
D | ConstantsTest.cpp | 43 EXPECT_EQ(Zero, ConstantExpr::getSub(NegOne, One)); in TEST() 47 EXPECT_EQ(Zero, ConstantExpr::getSub(One, NegOne)); in TEST() 51 EXPECT_EQ(Zero, ConstantExpr::getSub(One, One)); in TEST() 206 CHECK(ConstantExpr::getSub(P0, P0), "sub i32 " P0STR ", " P0STR); in TEST()
|
/external/llvm/include/llvm/IR/ |
D | Constants.h | 834 static Constant *getSub(Constant *C1, Constant *C2, 875 return getSub(C1, C2, false, true); 878 return getSub(C1, C2, true, false);
|
/external/llvm/include/llvm/Support/ |
D | ConstantFolder.h | 43 return ConstantExpr::getSub(LHS, RHS, HasNUW, HasNSW);
|
D | TargetFolder.h | 59 return Fold(ConstantExpr::getSub(LHS, RHS, HasNUW, HasNSW));
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAddSub.cpp | 1407 return BinaryOperator::CreateSub(ConstantExpr::getSub(C, C2), X); in visitSub() 1464 Constant *CP1 = ConstantExpr::getSub(ConstantInt::get(I.getType(),1), CI); in visitSub() 1471 C = ConstantExpr::getSub(One, ConstantExpr::getShl(One, CI)); in visitSub() 1498 return BinaryOperator::CreateMul(X, ConstantExpr::getSub(C1, C2)); in visitSub()
|
D | InstCombineCompares.cpp | 37 return ConstantExpr::getSub(C, ConstantInt::get(C->getType(), 1)); in SubOne() 94 Result = ConstantExpr::getSub(In1, In2); in SubWithOverflow() 768 ConstantExpr::getSub(ConstantInt::getAllOnesValue(CI->getType()), CI); in FoldICmpAddOpCst() 789 return new ICmpInst(ICmpInst::ICMP_SGT, X, ConstantExpr::getSub(SMax, CI)); in FoldICmpAddOpCst() 800 return new ICmpInst(ICmpInst::ICMP_SLT, X, ConstantExpr::getSub(SMax, C)); in FoldICmpAddOpCst() 1635 ConstantExpr::getSub(RHS, BOp1C)); in visitICmpInstWithInstAndIntCst() 1669 ConstantExpr::getSub(BOp0C, RHS)); in visitICmpInstWithInstAndIntCst()
|
D | InstCombineAndOrXor.cpp | 1591 AddCST = ConstantExpr::getSub(AddOne(RHSCst), LHSCst); in FoldOrOfICmps() 2196 Constant *ConstantRHS = ConstantExpr::getSub(NegOp0I0C, in visitXor() 2207 ConstantExpr::getSub(NegOp0CI, in visitXor()
|
D | InstructionCombining.cpp | 1640 Constant* NewCaseVal = ConstantExpr::getSub(cast<Constant>(CaseVal), in visitSwitchInst()
|
/external/llvm/lib/Analysis/IPA/ |
D | InlineCost.cpp | 575 if (Constant *C = ConstantExpr::getSub(CLHS, CRHS)) { in visitSub()
|
/external/llvm/lib/IR/ |
D | Constants.cpp | 1999 return getSub(ConstantFP::getZeroValueForNegation(C->getType()), in getNeg() 2026 Constant *ConstantExpr::getSub(Constant *C1, Constant *C2, in getSub() function in ConstantExpr
|
D | Core.cpp | 802 return wrap(ConstantExpr::getSub(unwrap<Constant>(LHSConstant), in LLVMConstSub()
|
/external/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 675 Res = ConstantExpr::getSub(Res, CE->getOperand(1)); in SymbolicallyEvaluateGEP()
|
D | InstructionSimplify.cpp | 727 return ConstantExpr::getSub(LHSOffset, RHSOffset); in computePointerDifference()
|
/external/clang/lib/CodeGen/ |
D | CGExprConstant.cpp | 1171 llvm::Constant *AddrLabelDiff = llvm::ConstantExpr::getSub(LHS, RHS); in EmitConstantValue()
|
/external/llvm/bindings/ocaml/llvm/ |
D | llvm.mli | 842 constants. See the method [llvm::ConstantExpr::getSub]. *)
|