Home
last modified time | relevance | path

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

/external/llvm/unittests/IR/
DConstantsTest.cpp33 EXPECT_EQ(Zero, ConstantExpr::getAdd(One, One)); in TEST()
37 EXPECT_EQ(Zero, ConstantExpr::getAdd(NegOne, One)); in TEST()
41 EXPECT_EQ(Zero, ConstantExpr::getAdd(NegOne, NegOne)); in TEST()
202 CHECK(ConstantExpr::getAdd(P0, P0), "add i32 " P0STR ", " P0STR); in TEST()
203 CHECK(ConstantExpr::getAdd(P0, P0, false, true), "add nsw i32 " P0STR ", " in TEST()
205 CHECK(ConstantExpr::getAdd(P0, P0, true, true), "add nuw nsw i32 " P0STR ", " in TEST()
/external/llvm/include/llvm/IR/
DConstants.h863 static Constant *getAdd(Constant *C1, Constant *C2,
908 return getAdd(C1, C2, false, true);
911 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/Analysis/
DPHITransAddr.cpp275 RHS = ConstantExpr::getAdd(RHS, CI); in PHITranslateSubExpr()
DInstructionSimplify.cpp2065 ConstantExpr::getAdd(LHSOffset, LHSNoBound), in computePointerICmp()
2066 ConstantExpr::getAdd(RHSOffset, RHSNoBound)); in computePointerICmp()
DScalarEvolution.cpp5695 C = ConstantExpr::getAdd(C, C2); in BuildConstantFromSCEV()
/external/llvm/lib/Transforms/Utils/
DLowerSwitch.cpp326 Constant *UpperBound = ConstantExpr::getAdd(NegLo, Leaf.High); in newLeafBlock()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineInternal.h76 return ConstantExpr::getAdd(C, ConstantInt::get(C->getType(), 1)); in AddOne()
DInstCombineLoadStoreAlloca.cpp364 ConstantExpr::getAdd(NullInt, ConstantInt::get(ITy, 1)); in combineLoadToNewType()
DInstCombineAddSub.cpp1115 return BinaryOperator::CreateSub(ConstantExpr::getAdd(XorRHS, CI), in visitAdd()
DInstCombineAndOrXor.cpp320 Constant *UpperBound = ConstantExpr::getAdd(NegLo, Hi); in InsertRangeTest()
339 Constant *LowerBound = ConstantExpr::getAdd(NegLo, Hi); in InsertRangeTest()
DInstCombineCompares.cpp62 Result = ConstantExpr::getAdd(In1, In2); in AddWithOverflow()
/external/llvm/lib/Transforms/IPO/
DLowerBitSets.cpp430 Constant *OffsetedGlobalAsInt = ConstantExpr::getAdd( in lowerBitSetCall()
/external/llvm/lib/IR/
DConstantFold.cpp2201 NewIdxs[i-1] = ConstantExpr::getAdd(PrevIdx, Div); in ConstantFoldGetElementPtrImpl()
DConstants.cpp2230 Constant *ConstantExpr::getAdd(Constant *C1, Constant *C2, in getAdd() function in ConstantExpr
DCore.cpp1007 return wrap(ConstantExpr::getAdd(unwrap<Constant>(LHSConstant), in LLVMConstAdd()
/external/clang/lib/CodeGen/
DItaniumCXXABI.cpp2709 TypeNameField = llvm::ConstantExpr::getAdd(TypeNameField, flag); in BuildTypeInfo()
/external/llvm/bindings/ocaml/llvm/
Dllvm.mli965 See the method [llvm::ConstantExpr::getAdd]. *)