Searched refs:CreateNSWAdd (Results 1 – 13 of 13) sorted by relevance
/external/llvm/unittests/IR/ |
D | PatternMatch.cpp | 230 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()
|
D | IRBuilderTest.cpp | 209 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/ |
D | NoFolder.h | 47 Instruction *CreateNSWAdd(Constant *LHS, Constant *RHS) const { in CreateNSWAdd() function 48 return BinaryOperator::CreateNSWAdd(LHS, RHS); in CreateNSWAdd()
|
D | IRBuilder.h | 640 Value *CreateNSWAdd(Value *LHS, Value *RHS, const Twine &Name = "") {
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAddSub.cpp | 1220 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()
|
D | InstCombineCalls.cpp | 430 Value *Add = Builder->CreateNSWAdd(LHS, RHS); in visitCallInst()
|
D | InstCombineCompares.cpp | 2957 Value *NewAdd = Builder->CreateNSWAdd(A, C3); in visitICmpInst() 2961 Value *NewAdd = Builder->CreateNSWAdd(C, C3); in visitICmpInst()
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyIndVar.cpp | 324 Builder.CreateNSWAdd(II->getOperand(0), II->getOperand(1))); in splitOverflowIntrinsic()
|
/external/clang/lib/CodeGen/ |
D | ItaniumCXXABI.cpp | 533 dst = Builder.CreateNSWAdd(src, adj, "adj"); in EmitMemberPointerConversion() 553 dstAdj = Builder.CreateNSWAdd(srcAdj, adj, "adj"); in EmitMemberPointerConversion()
|
D | MicrosoftCXXABI.cpp | 759 return CGF.Builder.CreateNSWAdd(VBPtrOffset, VBPtrToNewBase); in GetVirtualBaseClassOffset() 2331 NVAdjustField = Builder.CreateNSWAdd(NVAdjustField, Adj, "adj"); in EmitMemberPointerConversion()
|
D | CGExprScalar.cpp | 1528 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/ |
D | Core.cpp | 2108 return wrap(unwrap(B)->CreateNSWAdd(unwrap(LHS), unwrap(RHS), Name)); in LLVMBuildNSWAdd()
|
/external/llvm/bindings/ocaml/llvm/ |
D | llvm.mli | 1946 See the method [llvm::LLVMBuilder::CreateNSWAdd]. *)
|