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.cpp252 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/
DNoFolder.h47 Instruction *CreateNSWAdd(Constant *LHS, Constant *RHS) const { in CreateNSWAdd() function
48 return BinaryOperator::CreateNSWAdd(LHS, RHS); in CreateNSWAdd()
DIRBuilder.h771 Value *CreateNSWAdd(Value *LHS, Value *RHS, const Twine &Name = "") {
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp1238 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()
DInstCombineCompares.cpp2259 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/
DSimplifyIndVar.cpp461 Builder.CreateNSWAdd(II->getOperand(0), II->getOperand(1))); in splitOverflowIntrinsic()
/external/clang/lib/CodeGen/
DMicrosoftCXXABI.cpp1063 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()
DItaniumCXXABI.cpp692 dst = Builder.CreateNSWAdd(src, adj, "adj"); in EmitMemberPointerConversion()
712 dstAdj = Builder.CreateNSWAdd(srcAdj, adj, "adj"); in EmitMemberPointerConversion()
DCGExprScalar.cpp1635 return Builder.CreateNSWAdd(InVal, Amount, Name); in EmitIncDecConsiderOverflowBehavior()
2595 return Builder.CreateNSWAdd(op.LHS, op.RHS, "add"); in EmitAdd()
/external/llvm/lib/IR/
DCore.cpp2312 return wrap(unwrap(B)->CreateNSWAdd(unwrap(LHS), unwrap(RHS), Name)); in LLVMBuildNSWAdd()
/external/llvm/bindings/go/llvm/
Dir.go1268 func (b Builder) CreateNSWAdd(lhs, rhs Value, name string) (v Value) { func
/external/llvm/bindings/ocaml/llvm/
Dllvm.mli2056 See the method [llvm::LLVMBuilder::CreateNSWAdd]. *)