/external/llvm/unittests/IR/ |
D | ConstantsTest.cpp | 46 EXPECT_EQ(Zero, ConstantExpr::getSub(NegOne, One)); in TEST() 50 EXPECT_EQ(Zero, ConstantExpr::getSub(One, NegOne)); in TEST() 54 EXPECT_EQ(Zero, ConstantExpr::getSub(One, One)); in TEST() 216 CHECK(ConstantExpr::getSub(P0, P0), "sub i32 " P0STR ", " P0STR); in TEST()
|
/external/llvm/include/llvm/IR/ |
D | Constants.h | 923 static Constant *getSub(Constant *C1, Constant *C2, 971 return getSub(C1, C2, false, true); 974 return getSub(C1, C2, true, false);
|
D | ConstantFolder.h | 43 return ConstantExpr::getSub(LHS, RHS, HasNUW, HasNSW);
|
/external/llvm/include/llvm/Analysis/ |
D | TargetFolder.h | 59 return Fold(ConstantExpr::getSub(LHS, RHS, HasNUW, HasNSW));
|
/external/llvm/lib/Transforms/IPO/ |
D | LowerBitSets.cpp | 682 Constant *Disp = ConstantExpr::getSub(DestInt, SrcInt); in createJumpTableEntry() 685 Constant *OffsetedDisp = ConstantExpr::getSub(Disp, DispOffset); in createJumpTableEntry()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 97 Result = ConstantExpr::getSub(In1, In2); in SubWithOverflow() 823 ConstantExpr::getSub(ConstantInt::getAllOnesValue(CI->getType()), CI); in FoldICmpAddOpCst() 844 return new ICmpInst(ICmpInst::ICMP_SGT, X, ConstantExpr::getSub(SMax, CI)); in FoldICmpAddOpCst() 855 return new ICmpInst(ICmpInst::ICMP_SLT, X, ConstantExpr::getSub(SMax, C)); in FoldICmpAddOpCst() 1880 ConstantExpr::getSub(RHS, BOp1C)); in visitICmpInstWithInstAndIntCst() 1914 ConstantExpr::getSub(BOp0C, RHS)); in visitICmpInstWithInstAndIntCst()
|
D | InstCombineInternal.h | 70 return ConstantExpr::getSub(C, ConstantInt::get(C->getType(), 1)); in SubOne()
|
D | InstCombineAndOrXor.cpp | 2011 AddCST = ConstantExpr::getSub(AddOne(RHSCst), LHSCst); in FoldOrOfICmps() 2709 Constant *ConstantRHS = ConstantExpr::getSub(NegOp0I0C, in visitXor() 2720 ConstantExpr::getSub(NegOp0CI, in visitXor()
|
D | InstCombineAddSub.cpp | 1544 return BinaryOperator::CreateSub(ConstantExpr::getSub(C, C2), X); in visitSub()
|
D | InstructionCombining.cpp | 2188 Constant* NewCaseVal = ConstantExpr::getSub(LHS, AddRHS); in visitSwitchInst()
|
/external/llvm/lib/Analysis/ |
D | InlineCost.cpp | 622 if (Constant *C = ConstantExpr::getSub(CLHS, CRHS)) { in visitSub()
|
D | ConstantFolding.cpp | 755 Res = ConstantExpr::getSub(Res, CE->getOperand(1)); in SymbolicallyEvaluateGEP()
|
D | InstructionSimplify.cpp | 656 return ConstantExpr::getSub(LHSOffset, RHSOffset); in computePointerDifference()
|
/external/llvm/lib/IR/ |
D | Constants.cpp | 2177 return getSub(ConstantFP::getZeroValueForNegation(C->getType()), in getNeg() 2204 Constant *ConstantExpr::getSub(Constant *C1, Constant *C2, in getSub() function in ConstantExpr
|
D | Core.cpp | 1045 return wrap(ConstantExpr::getSub(unwrap<Constant>(LHSConstant), in LLVMConstSub()
|
/external/clang/lib/CodeGen/ |
D | CGExprConstant.cpp | 1377 llvm::Constant *AddrLabelDiff = llvm::ConstantExpr::getSub(LHS, RHS); in EmitConstantValue()
|
D | MicrosoftCXXABI.cpp | 536 llvm::ConstantExpr::getSub(PtrValAsInt, ImageBaseAsInt, in getImageRelativeConstant()
|
/external/llvm/bindings/ocaml/llvm/ |
D | llvm.mli | 983 constants. See the method [llvm::ConstantExpr::getSub]. *)
|