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/include/llvm/ |
D | Constants.h | 629 static Constant *getAdd(Constant *C1, Constant *C2, 667 return getAdd(C1, C2, false, true); 670 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/Transforms/InstCombine/ |
D | InstCombineAddSub.cpp | 24 return ConstantExpr::getAdd(C, ConstantInt::get(C->getType(), 1)); in AddOne() 183 return BinaryOperator::CreateMul(X, ConstantExpr::getAdd(C1, C2)); in visitAdd()
|
D | InstCombineAndOrXor.cpp | 25 return ConstantExpr::getAdd(C, ConstantInt::get(C->getType(), 1)); in AddOne() 358 Constant *UpperBound = ConstantExpr::getAdd(NegLo, Hi); in InsertRangeTest() 377 Constant *LowerBound = ConstantExpr::getAdd(NegLo, Hi); in InsertRangeTest()
|
D | InstCombineCompares.cpp | 31 return ConstantExpr::getAdd(C, ConstantInt::get(C->getType(), 1)); in AddOne() 57 Result = ConstantExpr::getAdd(In1, In2); in AddWithOverflow()
|
/external/llvm/lib/Analysis/ |
D | PHITransAddr.cpp | 276 RHS = ConstantExpr::getAdd(RHS, CI); in PHITranslateSubExpr()
|
/external/clang/lib/CodeGen/ |
D | ItaniumCXXABI.cpp | 473 Values[1] = llvm::ConstantExpr::getAdd(CS->getOperand(1), Offset); in EmitMemberPointerConversion()
|
/external/llvm/lib/VMCore/ |
D | ConstantFold.cpp | 1284 Res.push_back(ConstantExpr::getAdd(C1, C2)); in ConstantFoldBinaryInstruction() 2299 NewIdxs[i-1] = ConstantExpr::getAdd(PrevIdx, Div); in ConstantFoldGetElementPtrImpl()
|
D | Constants.cpp | 1779 Constant *ConstantExpr::getAdd(Constant *C1, Constant *C2, in getAdd() function in ConstantExpr
|
D | Core.cpp | 648 return wrap(ConstantExpr::getAdd(unwrap<Constant>(LHSConstant), in LLVMConstAdd()
|
/external/llvm/bindings/ocaml/llvm/ |
D | llvm.mli | 676 See the method [llvm::ConstantExpr::getAdd]. *)
|