Home
last modified time | relevance | path

Searched refs:CreateNSWAdd (Results 1 – 13 of 13) sorted by relevance

/external/llvm/unittests/IR/
DPatternMatch.cpp230 m_NSWAdd(m_Value(MatchL), m_Value(MatchR)).match(IRB.CreateNSWAdd(L, R))); in TEST_F()
274 EXPECT_FALSE(m_NSWSub(m_Value(), m_Value()).match(IRB.CreateNSWAdd(L, R))); in TEST_F()
277 EXPECT_FALSE(m_NSWMul(m_Value(), m_Value()).match(IRB.CreateNSWAdd(L, R))); in TEST_F()
281 EXPECT_FALSE(m_NSWShl(m_Value(), m_Value()).match(IRB.CreateNSWAdd(L, R))); in TEST_F()
284 EXPECT_FALSE(m_NUWAdd(m_Value(), m_Value()).match(IRB.CreateNSWAdd(L, R))); in TEST_F()
DIRBuilderTest.cpp209 cast<BinaryOperator>(Builder.CreateNSWAdd(V, V))->hasNoSignedWrap()); in TEST_F()
230 EXPECT_TRUE(cast<OverflowingBinaryOperator>(Builder.CreateNSWAdd(C, C)) in TEST_F()
/external/llvm/include/llvm/IR/
DNoFolder.h47 Instruction *CreateNSWAdd(Constant *LHS, Constant *RHS) const { in CreateNSWAdd() function
48 return BinaryOperator::CreateNSWAdd(LHS, RHS); in CreateNSWAdd()
DIRBuilder.h640 Value *CreateNSWAdd(Value *LHS, Value *RHS, const Twine &Name = "") {
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp1220 Value *NewAdd = Builder->CreateNSWAdd(LHSConv->getOperand(0), in visitAdd()
1236 Value *NewAdd = Builder->CreateNSWAdd(LHSConv->getOperand(0), in visitAdd()
1323 Value *NewAdd = Builder->CreateNSWAdd(LHSConv->getOperand(0), in visitFAdd()
1339 Value *NewAdd = Builder->CreateNSWAdd(LHSConv->getOperand(0), in visitFAdd()
DInstCombineCalls.cpp430 Value *Add = Builder->CreateNSWAdd(LHS, RHS); in visitCallInst()
DInstCombineCompares.cpp2957 Value *NewAdd = Builder->CreateNSWAdd(A, C3); in visitICmpInst()
2961 Value *NewAdd = Builder->CreateNSWAdd(C, C3); in visitICmpInst()
/external/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp324 Builder.CreateNSWAdd(II->getOperand(0), II->getOperand(1))); in splitOverflowIntrinsic()
/external/clang/lib/CodeGen/
DItaniumCXXABI.cpp533 dst = Builder.CreateNSWAdd(src, adj, "adj"); in EmitMemberPointerConversion()
553 dstAdj = Builder.CreateNSWAdd(srcAdj, adj, "adj"); in EmitMemberPointerConversion()
DMicrosoftCXXABI.cpp759 return CGF.Builder.CreateNSWAdd(VBPtrOffset, VBPtrToNewBase); in GetVirtualBaseClassOffset()
2331 NVAdjustField = Builder.CreateNSWAdd(NVAdjustField, Adj, "adj"); in EmitMemberPointerConversion()
DCGExprScalar.cpp1528 return Builder.CreateNSWAdd(InVal, NextVal, IsInc ? "inc" : "dec"); in EmitAddConsiderOverflowBehavior()
2469 return Builder.CreateNSWAdd(op.LHS, op.RHS, "add"); in EmitAdd()
/external/llvm/lib/IR/
DCore.cpp2108 return wrap(unwrap(B)->CreateNSWAdd(unwrap(LHS), unwrap(RHS), Name)); in LLVMBuildNSWAdd()
/external/llvm/bindings/ocaml/llvm/
Dllvm.mli1946 See the method [llvm::LLVMBuilder::CreateNSWAdd]. *)