/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 | 262 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/ |
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 | 786 Value *CreateNSWAdd(Value *LHS, Value *RHS, const Twine &Name = "") {
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | NoFolder.h | 49 Instruction *CreateNSWAdd(Constant *LHS, Constant *RHS) const { in CreateNSWAdd() function 50 return BinaryOperator::CreateNSWAdd(LHS, RHS); in CreateNSWAdd()
|
/external/llvm-project/polly/lib/CodeGen/ |
D | LoopGenerators.cpp | 155 Value *IncrementedIV = Builder.CreateNSWAdd(IV, Stride, "polly.indvar_next"); in createLoop()
|
D | IslExprBuilder.cpp | 105 return Builder.CreateNSWAdd(LHS, RHS, Name); in createBinOp()
|
D | IslNodeBuilder.cpp | 1155 size = Builder.CreateNSWAdd(end, in buildFADOutermostDimensionLoad()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAddSub.cpp | 1218 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()
|
D | InstCombineCompares.cpp | 787 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/ |
D | PatternMatch.cpp | 810 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()
|
D | IRBuilderTest.cpp | 658 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/ |
D | ir_builder_mixin.h | 182 return mixin_builder()->CreateNSWAdd(std::forward<Args>(args)...); in NSWAdd()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAddSub.cpp | 1545 Value *NewAdd = Builder.CreateNSWAdd(LHSIntVal, CI, "addconv"); in visitFAdd() 1563 Value *NewAdd = Builder.CreateNSWAdd(LHSIntVal, RHSIntVal, "addconv"); in visitFAdd()
|
D | InstCombineCompares.cpp | 701 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/ |
D | InstCombineAddSub.cpp | 1578 Value *NewAdd = Builder.CreateNSWAdd(LHSIntVal, CI, "addconv"); in visitFAdd() 1596 Value *NewAdd = Builder.CreateNSWAdd(LHSIntVal, RHSIntVal, "addconv"); in visitFAdd()
|
D | InstCombineCompares.cpp | 703 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/ |
D | CGExprScalar.cpp | 2337 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()
|
D | MicrosoftCXXABI.cpp | 1057 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()
|
D | ItaniumCXXABI.cpp | 922 dst = Builder.CreateNSWAdd(src, adj, "adj"); in EmitMemberPointerConversion() 942 dstAdj = Builder.CreateNSWAdd(srcAdj, adj, "adj"); in EmitMemberPointerConversion()
|
D | CGOpenMPRuntimeGPU.cpp | 2425 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/ |
D | MicrosoftCXXABI.cpp | 1062 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()
|
D | ItaniumCXXABI.cpp | 685 dst = Builder.CreateNSWAdd(src, adj, "adj"); in EmitMemberPointerConversion() 705 dstAdj = Builder.CreateNSWAdd(srcAdj, adj, "adj"); in EmitMemberPointerConversion()
|
D | CGExprScalar.cpp | 1617 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/ |
D | ScalarEvolutionTest.cpp | 651 auto *Dec = BinaryOperator::CreateNSWAdd( in TEST_F()
|