Home
last modified time | relevance | path

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

/external/llvm/unittests/IR/
DConstantsTest.cpp31 EXPECT_EQ(Zero, ConstantExpr::getAdd(One, One)); in TEST()
35 EXPECT_EQ(Zero, ConstantExpr::getAdd(NegOne, One)); in TEST()
39 EXPECT_EQ(Zero, ConstantExpr::getAdd(NegOne, NegOne)); in TEST()
200 CHECK(ConstantExpr::getAdd(P0, P0), "add i32 " P0STR ", " P0STR); in TEST()
201 CHECK(ConstantExpr::getAdd(P0, P0, false, true), "add nsw i32 " P0STR ", " in TEST()
203 CHECK(ConstantExpr::getAdd(P0, P0, true, true), "add nuw nsw i32 " P0STR ", " in TEST()
/external/llvm/include/llvm/IR/
DConstants.h837 static Constant *getAdd(Constant *C1, Constant *C2,
876 return getAdd(C1, C2, false, true);
879 return getAdd(C1, C2, true, false);
DConstantFolder.h36 return ConstantExpr::getAdd(LHS, RHS, HasNUW, HasNSW);
/external/llvm/include/llvm/Analysis/
DTargetFolder.h52 return Fold(ConstantExpr::getAdd(LHS, RHS, HasNUW, HasNSW));
/external/llvm/lib/Transforms/Utils/
DLowerSwitch.cpp259 Constant *UpperBound = ConstantExpr::getAdd(NegLo, Leaf.High); in newLeafBlock()
/external/llvm/lib/Analysis/
DPHITransAddr.cpp275 RHS = ConstantExpr::getAdd(RHS, CI); in PHITranslateSubExpr()
DInstructionSimplify.cpp1800 ConstantExpr::getAdd(LHSOffset, LHSNoBound), in computePointerICmp()
1801 ConstantExpr::getAdd(RHSOffset, RHSNoBound)); in computePointerICmp()
DScalarEvolution.cpp5328 C = ConstantExpr::getAdd(C, C2); in BuildConstantFromSCEV()
/external/llvm/lib/Transforms/InstCombine/
DInstCombine.h61 return ConstantExpr::getAdd(C, ConstantInt::get(C->getType(), 1)); in AddOne()
DInstCombineAndOrXor.cpp283 Constant *UpperBound = ConstantExpr::getAdd(NegLo, Hi); in InsertRangeTest()
302 Constant *LowerBound = ConstantExpr::getAdd(NegLo, Hi); in InsertRangeTest()
DInstCombineAddSub.cpp1085 return BinaryOperator::CreateSub(ConstantExpr::getAdd(XorRHS, CI), in visitAdd()
DInstCombineCompares.cpp52 Result = ConstantExpr::getAdd(In1, In2); in AddWithOverflow()
/external/llvm/lib/IR/
DConstantFold.cpp2125 NewIdxs[i-1] = ConstantExpr::getAdd(PrevIdx, Div); in ConstantFoldGetElementPtrImpl()
DCore.cpp876 return wrap(ConstantExpr::getAdd(unwrap<Constant>(LHSConstant), in LLVMConstAdd()
DConstants.cpp2102 Constant *ConstantExpr::getAdd(Constant *C1, Constant *C2, in getAdd() function in ConstantExpr
/external/clang/lib/CodeGen/
DItaniumCXXABI.cpp2520 TypeNameField = llvm::ConstantExpr::getAdd(TypeNameField, flag); in BuildTypeInfo()
/external/llvm/bindings/ocaml/llvm/
Dllvm.mli928 See the method [llvm::ConstantExpr::getAdd]. *)