Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/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/unittests/IR/
DConstantsTest.cpp35 EXPECT_EQ(Zero, ConstantExpr::getAdd(One, One)); in TEST()
39 EXPECT_EQ(Zero, ConstantExpr::getAdd(NegOne, One)); in TEST()
43 EXPECT_EQ(Zero, ConstantExpr::getAdd(NegOne, NegOne)); in TEST()
234 CHECK(ConstantExpr::getAdd(P0, P0), "add i32 " P0STR ", " P0STR); in TEST()
235 CHECK(ConstantExpr::getAdd(P0, P0, false, true), "add nsw i32 " P0STR ", " in TEST()
237 CHECK(ConstantExpr::getAdd(P0, P0, true, true), "add nuw nsw i32 " P0STR ", " in TEST()
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/calendar/
DCalendarCalc.java163 Checkbox getAdd; field in CalendarCalcFrame
226 getAdd = new Checkbox("Add",group2, true); in buildGUI()
229 rollAddBoxes.add(getAdd); in buildGUI()
430 if (getAdd.getState()) { in dateFieldChanged()
/external/swiftshader/third_party/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/IR/
DConstants.h878 static Constant *getAdd(Constant *C1, Constant *C2,
923 return getAdd(C1, C2, false, true);
926 return getAdd(C1, C2, true, false);
DConstantFolder.h36 return ConstantExpr::getAdd(LHS, RHS, HasNUW, HasNSW);
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DConstantFolder.h36 return ConstantExpr::getAdd(LHS, RHS, HasNUW, HasNSW);
DTargetFolder.h52 return Fold(ConstantExpr::getAdd(LHS, RHS, HasNUW, HasNSW));
/external/swiftshader/third_party/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.cpp32 return ConstantExpr::getAdd(C, ConstantInt::get(C->getType(), 1)); in AddOne()
58 Result = ConstantExpr::getAdd(In1, In2); in AddWithOverflow()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DLowerSwitch.cpp206 Constant *UpperBound = ConstantExpr::getAdd(NegLo, Leaf.High); in newLeafBlock()
/external/llvm/include/llvm/Analysis/
DTargetFolder.h52 return Fold(ConstantExpr::getAdd(LHS, RHS, HasNUW, HasNSW));
/external/swiftshader/third_party/LLVM/lib/Analysis/
DPHITransAddr.cpp276 RHS = ConstantExpr::getAdd(RHS, CI); in PHITranslateSubExpr()
/external/llvm/lib/Analysis/
DPHITransAddr.cpp271 RHS = ConstantExpr::getAdd(RHS, CI); in PHITranslateSubExpr()
DInstructionSimplify.cpp2092 ConstantExpr::getAdd(LHSOffset, LHSNoBound), in computePointerICmp()
2093 ConstantExpr::getAdd(RHSOffset, RHSNoBound)); in computePointerICmp()
/external/llvm/lib/Transforms/Utils/
DLowerSwitch.cpp325 Constant *UpperBound = ConstantExpr::getAdd(NegLo, Leaf.High); in newLeafBlock()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineInternal.h66 return ConstantExpr::getAdd(C, ConstantInt::get(C->getType(), 1)); in AddOne()
DInstCombineLoadStoreAlloca.cpp369 ConstantExpr::getAdd(NullInt, ConstantInt::get(ITy, 1)); in combineLoadToNewType()
DInstCombineCompares.cpp63 Result = ConstantExpr::getAdd(In1, In2); in AddWithOverflow()
864 Index = ConstantExpr::getAdd( in getAsConstantIndexedAddress()
3150 return new ICmpInst(NewPred, Op0, ConstantExpr::getAdd(Op1C, OneOrNegOne)); in canonicalizeCmpWithConstant()
DInstCombineAndOrXor.cpp310 Constant *UpperBound = ConstantExpr::getAdd(NegLo, Hi); in InsertRangeTest()
329 Constant *LowerBound = ConstantExpr::getAdd(NegLo, Hi); in InsertRangeTest()
DInstCombineAddSub.cpp1095 return BinaryOperator::CreateSub(ConstantExpr::getAdd(XorRHS, CI), in visitAdd()
/external/llvm/lib/Transforms/IPO/
DLowerTypeTests.cpp433 Constant *OffsetedGlobalAsInt = ConstantExpr::getAdd( in lowerBitSetCall()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DConstantFold.cpp1287 Res.push_back(ConstantExpr::getAdd(C1, C2)); in ConstantFoldBinaryInstruction()
2296 NewIdxs[i-1] = ConstantExpr::getAdd(PrevIdx, Div); in ConstantFoldGetElementPtrImpl()
DConstants.cpp1780 Constant *ConstantExpr::getAdd(Constant *C1, Constant *C2, in getAdd() function in ConstantExpr

12