Searched refs:getAdd (Results 1 – 14 of 14) sorted by relevance
/external/llvm/unittests/VMCore/ |
D | ConstantsTest.cpp | 28 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/ |
D | InstCombineAddSub.cpp | 24 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()
|
D | InstCombineAndOrXor.cpp | 26 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()
|
D | InstCombineCompares.cpp | 32 return ConstantExpr::getAdd(C, ConstantInt::get(C->getType(), 1)); in AddOne() 58 Result = ConstantExpr::getAdd(In1, In2); in AddWithOverflow()
|
/external/llvm/include/llvm/ |
D | Constants.h | 846 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/ |
D | ConstantFolder.h | 36 return ConstantExpr::getAdd(LHS, RHS, HasNUW, HasNSW);
|
D | TargetFolder.h | 52 return Fold(ConstantExpr::getAdd(LHS, RHS, HasNUW, HasNSW));
|
/external/llvm/lib/Transforms/Utils/ |
D | LowerSwitch.cpp | 206 Constant *UpperBound = ConstantExpr::getAdd(NegLo, Leaf.High); in newLeafBlock()
|
/external/llvm/lib/Analysis/ |
D | PHITransAddr.cpp | 275 RHS = ConstantExpr::getAdd(RHS, CI); in PHITranslateSubExpr()
|
D | ScalarEvolution.cpp | 5062 C = ConstantExpr::getAdd(C, C2); in BuildConstantFromSCEV()
|
/external/llvm/lib/VMCore/ |
D | ConstantFold.cpp | 2028 NewIdxs[i-1] = ConstantExpr::getAdd(PrevIdx, Div); in ConstantFoldGetElementPtrImpl()
|
D | Core.cpp | 735 return wrap(ConstantExpr::getAdd(unwrap<Constant>(LHSConstant), in LLVMConstAdd()
|
D | Constants.cpp | 1922 Constant *ConstantExpr::getAdd(Constant *C1, Constant *C2, in getAdd() function in ConstantExpr
|
/external/llvm/bindings/ocaml/llvm/ |
D | llvm.mli | 824 See the method [llvm::ConstantExpr::getAdd]. *)
|