Home
last modified time | relevance | path

Searched refs:CreateNSWAdd (Results 1 – 25 of 34) 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/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/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DNoFolder.h49 Instruction *CreateNSWAdd(Constant *LHS, Constant *RHS) const { in CreateNSWAdd() function
50 return BinaryOperator::CreateNSWAdd(LHS, RHS); in CreateNSWAdd()
/external/llvm-project/polly/lib/CodeGen/
DLoopGenerators.cpp155 Value *IncrementedIV = Builder.CreateNSWAdd(IV, Stride, "polly.indvar_next"); in createLoop()
DIslExprBuilder.cpp105 return Builder.CreateNSWAdd(LHS, RHS, Name); in createBinOp()
DIslNodeBuilder.cpp1155 size = Builder.CreateNSWAdd(end, in buildFADOutermostDimensionLoad()
/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/llvm-project/llvm/unittests/IR/
DPatternMatch.cpp810 m_NSWAdd(m_Value(MatchL), m_Value(MatchR)).match(IRB.CreateNSWAdd(L, R))); in TEST_F()
854 EXPECT_FALSE(m_NSWSub(m_Value(), m_Value()).match(IRB.CreateNSWAdd(L, R))); in TEST_F()
857 EXPECT_FALSE(m_NSWMul(m_Value(), m_Value()).match(IRB.CreateNSWAdd(L, R))); in TEST_F()
861 EXPECT_FALSE(m_NSWShl(m_Value(), m_Value()).match(IRB.CreateNSWAdd(L, R))); in TEST_F()
864 EXPECT_FALSE(m_NUWAdd(m_Value(), m_Value()).match(IRB.CreateNSWAdd(L, R))); in TEST_F()
DIRBuilderTest.cpp658 cast<BinaryOperator>(Builder.CreateNSWAdd(V, V))->hasNoSignedWrap()); in TEST_F()
679 EXPECT_TRUE(cast<OverflowingBinaryOperator>(Builder.CreateNSWAdd(C, C)) in TEST_F()
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Dir_builder_mixin.h182 return mixin_builder()->CreateNSWAdd(std::forward<Args>(args)...); in NSWAdd()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp1545 Value *NewAdd = Builder.CreateNSWAdd(LHSIntVal, CI, "addconv"); in visitFAdd()
1563 Value *NewAdd = Builder.CreateNSWAdd(LHSIntVal, RHSIntVal, "addconv"); in visitFAdd()
DInstCombineCompares.cpp701 NewInsts[GEP] = Builder.CreateNSWAdd( in rewriteGEPAsOffset()
3866 Value *NewAdd = Builder.CreateNSWAdd(A, C3); in foldICmpBinOp()
3870 Value *NewAdd = Builder.CreateNSWAdd(C, C3); in foldICmpBinOp()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp1578 Value *NewAdd = Builder.CreateNSWAdd(LHSIntVal, CI, "addconv"); in visitFAdd()
1596 Value *NewAdd = Builder.CreateNSWAdd(LHSIntVal, RHSIntVal, "addconv"); in visitFAdd()
DInstCombineCompares.cpp703 NewInsts[GEP] = Builder.CreateNSWAdd( in rewriteGEPAsOffset()
3931 Value *NewAdd = Builder.CreateNSWAdd(A, C3); in foldICmpBinOp()
3935 Value *NewAdd = Builder.CreateNSWAdd(C, C3); in foldICmpBinOp()
/external/llvm-project/clang/lib/CodeGen/
DCGExprScalar.cpp2337 return Builder.CreateNSWAdd(InVal, Amount, Name); in EmitIncDecConsiderOverflowBehavior()
2341 return Builder.CreateNSWAdd(InVal, Amount, Name); in EmitIncDecConsiderOverflowBehavior()
3482 return Builder.CreateNSWAdd(op.LHS, op.RHS, "add"); in EmitAdd()
3486 return Builder.CreateNSWAdd(op.LHS, op.RHS, "add"); in EmitAdd()
DMicrosoftCXXABI.cpp1057 return CGF.Builder.CreateNSWAdd(VBPtrOffset, VBPtrToNewBase); in GetVirtualBaseClassOffset()
3255 NVAdjustField = Builder.CreateNSWAdd(NVAdjustField, UndoSrcAdjustment); in EmitNonNullMemberPointerConversion()
3275 NVDisp = Builder.CreateNSWAdd(NVAdjustField, BaseClassOffset, "adj"); in EmitNonNullMemberPointerConversion()
DItaniumCXXABI.cpp922 dst = Builder.CreateNSWAdd(src, adj, "adj"); in EmitMemberPointerConversion()
942 dstAdj = Builder.CreateNSWAdd(srcAdj, adj, "adj"); in EmitMemberPointerConversion()
DCGOpenMPRuntimeGPU.cpp2425 CGF.Builder.CreateNSWAdd(CounterVal, CGF.Builder.getInt32(1)); in emitCriticalRegion()
3026 Cnt = Bld.CreateNSWAdd(Cnt, llvm::ConstantInt::get(CGM.IntTy, /*V=*/1)); in emitInterWarpCopyFunction()
/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/llvm-project/llvm/unittests/Analysis/
DScalarEvolutionTest.cpp651 auto *Dec = BinaryOperator::CreateNSWAdd( in TEST_F()

12