Home
last modified time | relevance | path

Searched refs:getAdd (Results 1 – 14 of 14) sorted by relevance

/external/llvm/unittests/VMCore/
DConstantsTest.cpp28 EXPECT_EQ(Zero, ConstantExpr::getAdd(One, One)); in TEST()
32 EXPECT_EQ(Zero, ConstantExpr::getAdd(NegOne, One)); in TEST()
36 EXPECT_EQ(Zero, ConstantExpr::getAdd(NegOne, NegOne)); in TEST()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp24 return ConstantExpr::getAdd(C, ConstantInt::get(C->getType(), 1)); in AddOne()
148 return BinaryOperator::CreateSub(ConstantExpr::getAdd(XorRHS, CI), in visitAdd()
195 return BinaryOperator::CreateMul(X, ConstantExpr::getAdd(C1, C2)); in visitAdd()
DInstCombineAndOrXor.cpp26 return ConstantExpr::getAdd(C, ConstantInt::get(C->getType(), 1)); in AddOne()
295 Constant *UpperBound = ConstantExpr::getAdd(NegLo, Hi); in InsertRangeTest()
314 Constant *LowerBound = ConstantExpr::getAdd(NegLo, Hi); in InsertRangeTest()
DInstCombineCompares.cpp32 return ConstantExpr::getAdd(C, ConstantInt::get(C->getType(), 1)); in AddOne()
58 Result = ConstantExpr::getAdd(In1, In2); in AddWithOverflow()
/external/llvm/include/llvm/
DConstants.h846 static Constant *getAdd(Constant *C1, Constant *C2,
884 return getAdd(C1, C2, false, true);
887 return getAdd(C1, C2, true, false);
/external/llvm/include/llvm/Support/
DConstantFolder.h36 return ConstantExpr::getAdd(LHS, RHS, HasNUW, HasNSW);
DTargetFolder.h52 return Fold(ConstantExpr::getAdd(LHS, RHS, HasNUW, HasNSW));
/external/llvm/lib/Transforms/Utils/
DLowerSwitch.cpp206 Constant *UpperBound = ConstantExpr::getAdd(NegLo, Leaf.High); in newLeafBlock()
/external/llvm/lib/Analysis/
DPHITransAddr.cpp275 RHS = ConstantExpr::getAdd(RHS, CI); in PHITranslateSubExpr()
DScalarEvolution.cpp5062 C = ConstantExpr::getAdd(C, C2); in BuildConstantFromSCEV()
/external/llvm/lib/VMCore/
DConstantFold.cpp2028 NewIdxs[i-1] = ConstantExpr::getAdd(PrevIdx, Div); in ConstantFoldGetElementPtrImpl()
DCore.cpp735 return wrap(ConstantExpr::getAdd(unwrap<Constant>(LHSConstant), in LLVMConstAdd()
DConstants.cpp1922 Constant *ConstantExpr::getAdd(Constant *C1, Constant *C2, in getAdd() function in ConstantExpr
/external/llvm/bindings/ocaml/llvm/
Dllvm.mli824 See the method [llvm::ConstantExpr::getAdd]. *)