Home
last modified time | relevance | path

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

12

/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.cpp262 cast<BinaryOperator>(Builder.CreateNSWAdd(V, V))->hasNoSignedWrap()); in TEST_F()
283 EXPECT_TRUE(cast<OverflowingBinaryOperator>(Builder.CreateNSWAdd(C, C)) in TEST_F()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DPatternMatch.cpp325 m_NSWAdd(m_Value(MatchL), m_Value(MatchR)).match(IRB.CreateNSWAdd(L, R))); in TEST_F()
369 EXPECT_FALSE(m_NSWSub(m_Value(), m_Value()).match(IRB.CreateNSWAdd(L, R))); in TEST_F()
372 EXPECT_FALSE(m_NSWMul(m_Value(), m_Value()).match(IRB.CreateNSWAdd(L, R))); in TEST_F()
376 EXPECT_FALSE(m_NSWShl(m_Value(), m_Value()).match(IRB.CreateNSWAdd(L, R))); in TEST_F()
379 EXPECT_FALSE(m_NUWAdd(m_Value(), m_Value()).match(IRB.CreateNSWAdd(L, R))); in TEST_F()
DIRBuilderTest.cpp346 cast<BinaryOperator>(Builder.CreateNSWAdd(V, V))->hasNoSignedWrap()); in TEST_F()
367 EXPECT_TRUE(cast<OverflowingBinaryOperator>(Builder.CreateNSWAdd(C, C)) in TEST_F()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp298 Value *NewAdd = Builder->CreateNSWAdd(LHSConv->getOperand(0), in visitAdd()
314 Value *NewAdd = Builder->CreateNSWAdd(LHSConv->getOperand(0), in visitAdd()
371 Value *NewAdd = Builder->CreateNSWAdd(LHSConv->getOperand(0), in visitFAdd()
387 Value *NewAdd = Builder->CreateNSWAdd(LHSConv->getOperand(0), in visitFAdd()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DNoFolder.h47 Instruction *CreateNSWAdd(Constant *LHS, Constant *RHS) const { in CreateNSWAdd() function
48 return BinaryOperator::CreateNSWAdd(LHS, RHS); in CreateNSWAdd()
DIRBuilder.h508 Value *CreateNSWAdd(Value *LHS, Value *RHS, const Twine &Name = "") {
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DNoFolder.h50 Instruction *CreateNSWAdd(Constant *LHS, Constant *RHS) const { in CreateNSWAdd() function
51 return BinaryOperator::CreateNSWAdd(LHS, RHS); in CreateNSWAdd()
DIRBuilder.h971 Value *CreateNSWAdd(Value *LHS, Value *RHS, const Twine &Name = "") {
/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.h786 Value *CreateNSWAdd(Value *LHS, Value *RHS, const Twine &Name = "") {
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp1218 Value *NewAdd = Builder->CreateNSWAdd(LHSConv->getOperand(0), in visitAdd()
1235 Value *NewAdd = Builder->CreateNSWAdd(LHSConv->getOperand(0), in visitAdd()
1347 Value *NewAdd = Builder->CreateNSWAdd(LHSConv->getOperand(0), in visitFAdd()
1364 Value *NewAdd = Builder->CreateNSWAdd(LHSConv->getOperand(0), in visitFAdd()
DInstCombineCompares.cpp787 NewInsts[GEP] = Builder.CreateNSWAdd( in rewriteGEPAsOffset()
2617 return SetResult(Builder->CreateNSWAdd(LHS, RHS), Builder->getFalse(), in OptimizeOverflowCheck()
3916 Value *NewAdd = Builder->CreateNSWAdd(A, C3); in visitICmpInst()
3920 Value *NewAdd = Builder->CreateNSWAdd(C, C3); in visitICmpInst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp1300 Builder.CreateNSWAdd(LHSConv->getOperand(0), CI, "addconv"); in visitAdd()
1317 Value *NewAdd = Builder.CreateNSWAdd(LHSConv->getOperand(0), in visitAdd()
1451 Value *NewAdd = Builder.CreateNSWAdd(LHSIntVal, CI, "addconv"); in visitFAdd()
1469 Value *NewAdd = Builder.CreateNSWAdd(LHSIntVal, RHSIntVal, "addconv"); in visitFAdd()
DInstCombineCompares.cpp729 NewInsts[GEP] = Builder.CreateNSWAdd( in rewriteGEPAsOffset()
3186 Value *NewAdd = Builder.CreateNSWAdd(A, C3); in foldICmpBinOp()
3190 Value *NewAdd = Builder.CreateNSWAdd(C, C3); in foldICmpBinOp()
3784 return SetResult(Builder.CreateNSWAdd(LHS, RHS), Builder.getFalse(), in OptimizeOverflowCheck()
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Dir_builder_mixin.h174 return mixin_builder()->CreateNSWAdd(std::forward<Args>(args)...); in NSWAdd()
/external/clang/lib/CodeGen/
DMicrosoftCXXABI.cpp1062 return CGF.Builder.CreateNSWAdd(VBPtrOffset, VBPtrToNewBase); in GetVirtualBaseClassOffset()
3096 NVAdjustField = Builder.CreateNSWAdd(NVAdjustField, UndoSrcAdjustment); in EmitNonNullMemberPointerConversion()
3116 NVDisp = Builder.CreateNSWAdd(NVAdjustField, BaseClassOffset, "adj"); in EmitNonNullMemberPointerConversion()
DItaniumCXXABI.cpp685 dst = Builder.CreateNSWAdd(src, adj, "adj"); in EmitMemberPointerConversion()
705 dstAdj = Builder.CreateNSWAdd(srcAdj, adj, "adj"); in EmitMemberPointerConversion()
DCGExprScalar.cpp1617 return Builder.CreateNSWAdd(InVal, Amount, Name); in EmitIncDecConsiderOverflowBehavior()
2582 return Builder.CreateNSWAdd(op.LHS, op.RHS, "add"); in EmitAdd()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/
DScalarEvolutionTest.cpp699 auto *Dec = BinaryOperator::CreateNSWAdd( in TEST_F()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DCore.cpp1832 return wrap(unwrap(B)->CreateNSWAdd(unwrap(LHS), unwrap(RHS), Name)); in LLVMBuildNSWAdd()
/external/llvm/lib/IR/
DCore.cpp2541 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/swiftshader/third_party/llvm-7.0/llvm/bindings/go/llvm/
Dir.go1335 func (b Builder) CreateNSWAdd(lhs, rhs Value, name string) (v Value) { func
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DCore.cpp2848 return wrap(unwrap(B)->CreateNSWAdd(unwrap(LHS), unwrap(RHS), Name)); in LLVMBuildNSWAdd()

12