Home
last modified time | relevance | path

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

/external/llvm/unittests/IR/
DConstantsTest.cpp46 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/
DConstants.h923 static Constant *getSub(Constant *C1, Constant *C2,
971 return getSub(C1, C2, false, true);
974 return getSub(C1, C2, true, false);
DConstantFolder.h43 return 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/
DLowerBitSets.cpp682 Constant *Disp = ConstantExpr::getSub(DestInt, SrcInt); in createJumpTableEntry()
685 Constant *OffsetedDisp = ConstantExpr::getSub(Disp, DispOffset); in createJumpTableEntry()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp97 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()
DInstCombineInternal.h70 return ConstantExpr::getSub(C, ConstantInt::get(C->getType(), 1)); in SubOne()
DInstCombineAndOrXor.cpp2011 AddCST = ConstantExpr::getSub(AddOne(RHSCst), LHSCst); in FoldOrOfICmps()
2709 Constant *ConstantRHS = ConstantExpr::getSub(NegOp0I0C, in visitXor()
2720 ConstantExpr::getSub(NegOp0CI, in visitXor()
DInstCombineAddSub.cpp1544 return BinaryOperator::CreateSub(ConstantExpr::getSub(C, C2), X); in visitSub()
DInstructionCombining.cpp2188 Constant* NewCaseVal = ConstantExpr::getSub(LHS, AddRHS); in visitSwitchInst()
/external/llvm/lib/Analysis/
DInlineCost.cpp622 if (Constant *C = ConstantExpr::getSub(CLHS, CRHS)) { in visitSub()
DConstantFolding.cpp755 Res = ConstantExpr::getSub(Res, CE->getOperand(1)); in SymbolicallyEvaluateGEP()
DInstructionSimplify.cpp656 return ConstantExpr::getSub(LHSOffset, RHSOffset); in computePointerDifference()
/external/llvm/lib/IR/
DConstants.cpp2177 return getSub(ConstantFP::getZeroValueForNegation(C->getType()), in getNeg()
2204 Constant *ConstantExpr::getSub(Constant *C1, Constant *C2, in getSub() function in ConstantExpr
DCore.cpp1045 return wrap(ConstantExpr::getSub(unwrap<Constant>(LHSConstant), in LLVMConstSub()
/external/clang/lib/CodeGen/
DCGExprConstant.cpp1377 llvm::Constant *AddrLabelDiff = llvm::ConstantExpr::getSub(LHS, RHS); in EmitConstantValue()
DMicrosoftCXXABI.cpp536 llvm::ConstantExpr::getSub(PtrValAsInt, ImageBaseAsInt, in getImageRelativeConstant()
/external/llvm/bindings/ocaml/llvm/
Dllvm.mli983 constants. See the method [llvm::ConstantExpr::getSub]. *)