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 | 252 cast<BinaryOperator>(Builder.CreateNSWAdd(V, V))->hasNoSignedWrap()); in TEST_F() 273 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 | 771 Value *CreateNSWAdd(Value *LHS, Value *RHS, const Twine &Name = "") {
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAddSub.cpp | 1238 Value *NewAdd = Builder->CreateNSWAdd(LHSConv->getOperand(0), in visitAdd() 1255 Value *NewAdd = Builder->CreateNSWAdd(LHSConv->getOperand(0), in visitAdd() 1367 Value *NewAdd = Builder->CreateNSWAdd(LHSConv->getOperand(0), in visitFAdd() 1384 Value *NewAdd = Builder->CreateNSWAdd(LHSConv->getOperand(0), in visitFAdd()
|
D | InstCombineCompares.cpp | 2259 return SetResult(Builder->CreateNSWAdd(LHS, RHS), Builder->getFalse(), in OptimizeOverflowCheck() 3464 Value *NewAdd = Builder->CreateNSWAdd(A, C3); in visitICmpInst() 3468 Value *NewAdd = Builder->CreateNSWAdd(C, C3); in visitICmpInst()
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyIndVar.cpp | 461 Builder.CreateNSWAdd(II->getOperand(0), II->getOperand(1))); in splitOverflowIntrinsic()
|
/external/clang/lib/CodeGen/ |
D | MicrosoftCXXABI.cpp | 1063 return CGF.Builder.CreateNSWAdd(VBPtrOffset, VBPtrToNewBase); in GetVirtualBaseClassOffset() 3088 NVAdjustField = Builder.CreateNSWAdd(NVAdjustField, UndoSrcAdjustment); in EmitNonNullMemberPointerConversion() 3108 NVDisp = Builder.CreateNSWAdd(NVAdjustField, BaseClassOffset, "adj"); in EmitNonNullMemberPointerConversion()
|
D | ItaniumCXXABI.cpp | 692 dst = Builder.CreateNSWAdd(src, adj, "adj"); in EmitMemberPointerConversion() 712 dstAdj = Builder.CreateNSWAdd(srcAdj, adj, "adj"); in EmitMemberPointerConversion()
|
D | CGExprScalar.cpp | 1635 return Builder.CreateNSWAdd(InVal, Amount, Name); in EmitIncDecConsiderOverflowBehavior() 2595 return Builder.CreateNSWAdd(op.LHS, op.RHS, "add"); in EmitAdd()
|
/external/llvm/lib/IR/ |
D | Core.cpp | 2312 return wrap(unwrap(B)->CreateNSWAdd(unwrap(LHS), unwrap(RHS), Name)); in LLVMBuildNSWAdd()
|
/external/llvm/bindings/go/llvm/ |
D | ir.go | 1268 func (b Builder) CreateNSWAdd(lhs, rhs Value, name string) (v Value) { func
|
/external/llvm/bindings/ocaml/llvm/ |
D | llvm.mli | 2056 See the method [llvm::LLVMBuilder::CreateNSWAdd]. *)
|