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/include/llvm/
DConstants.h629 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/
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/Transforms/InstCombine/
DInstCombineAddSub.cpp24 return ConstantExpr::getAdd(C, ConstantInt::get(C->getType(), 1)); in AddOne()
183 return BinaryOperator::CreateMul(X, ConstantExpr::getAdd(C1, C2)); in visitAdd()
DInstCombineAndOrXor.cpp25 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()
DInstCombineCompares.cpp31 return ConstantExpr::getAdd(C, ConstantInt::get(C->getType(), 1)); in AddOne()
57 Result = ConstantExpr::getAdd(In1, In2); in AddWithOverflow()
/external/llvm/lib/Analysis/
DPHITransAddr.cpp276 RHS = ConstantExpr::getAdd(RHS, CI); in PHITranslateSubExpr()
/external/clang/lib/CodeGen/
DItaniumCXXABI.cpp473 Values[1] = llvm::ConstantExpr::getAdd(CS->getOperand(1), Offset); in EmitMemberPointerConversion()
/external/llvm/lib/VMCore/
DConstantFold.cpp1284 Res.push_back(ConstantExpr::getAdd(C1, C2)); in ConstantFoldBinaryInstruction()
2299 NewIdxs[i-1] = ConstantExpr::getAdd(PrevIdx, Div); in ConstantFoldGetElementPtrImpl()
DConstants.cpp1779 Constant *ConstantExpr::getAdd(Constant *C1, Constant *C2, in getAdd() function in ConstantExpr
DCore.cpp648 return wrap(ConstantExpr::getAdd(unwrap<Constant>(LHSConstant), in LLVMConstAdd()
/external/llvm/bindings/ocaml/llvm/
Dllvm.mli676 See the method [llvm::ConstantExpr::getAdd]. *)