reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/IR/Core.cpp
 3266   return wrap(unwrap(B)->CreateNSWAdd(unwrap(LHS), unwrap(RHS), Name));
lib/Transforms/InstCombine/InstCombineAddSub.cpp
 1547           Value *NewAdd = Builder.CreateNSWAdd(LHSIntVal, CI, "addconv");
 1565           Value *NewAdd = Builder.CreateNSWAdd(LHSIntVal, RHSIntVal, "addconv");
lib/Transforms/InstCombine/InstCombineCompares.cpp
  701         NewInsts[GEP] = Builder.CreateNSWAdd(
 3831             Value *NewAdd = Builder.CreateNSWAdd(A, C3);
 3835             Value *NewAdd = Builder.CreateNSWAdd(C, C3);
tools/clang/lib/CodeGen/CGExprScalar.cpp
 2339       return Builder.CreateNSWAdd(InVal, Amount, Name);
 2343       return Builder.CreateNSWAdd(InVal, Amount, Name);
 3351         return Builder.CreateNSWAdd(op.LHS, op.RHS, "add");
 3355         return Builder.CreateNSWAdd(op.LHS, op.RHS, "add");
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
 2801       CGF.Builder.CreateNSWAdd(CounterVal, CGF.Builder.getInt32(1));
 3378         Cnt = Bld.CreateNSWAdd(Cnt, llvm::ConstantInt::get(CGM.IntTy, /*V=*/1));
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp
  861       dst = Builder.CreateNSWAdd(src, adj, "adj");
  881     dstAdj = Builder.CreateNSWAdd(srcAdj, adj, "adj");
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp
 1039   return CGF.Builder.CreateNSWAdd(VBPtrOffset, VBPtrToNewBase);
 3194       NVAdjustField = Builder.CreateNSWAdd(NVAdjustField, UndoSrcAdjustment);
 3214     NVDisp = Builder.CreateNSWAdd(NVAdjustField, BaseClassOffset, "adj");
tools/polly/lib/CodeGen/IslExprBuilder.cpp
  105       return Builder.CreateNSWAdd(LHS, RHS, Name);
tools/polly/lib/CodeGen/IslNodeBuilder.cpp
 1155   size = Builder.CreateNSWAdd(end,
tools/polly/lib/CodeGen/LoopGenerators.cpp
  155   Value *IncrementedIV = Builder.CreateNSWAdd(IV, Stride, "polly.indvar_next");
unittests/IR/IRBuilderTest.cpp
  592       cast<BinaryOperator>(Builder.CreateNSWAdd(V, V))->hasNoSignedWrap());
  613   EXPECT_TRUE(cast<OverflowingBinaryOperator>(Builder.CreateNSWAdd(C, C))
unittests/IR/PatternMatch.cpp
  787       m_NSWAdd(m_Value(MatchL), m_Value(MatchR)).match(IRB.CreateNSWAdd(L, R)));
  831   EXPECT_FALSE(m_NSWSub(m_Value(), m_Value()).match(IRB.CreateNSWAdd(L, R)));
  834   EXPECT_FALSE(m_NSWMul(m_Value(), m_Value()).match(IRB.CreateNSWAdd(L, R)));
  838   EXPECT_FALSE(m_NSWShl(m_Value(), m_Value()).match(IRB.CreateNSWAdd(L, R)));
  841   EXPECT_FALSE(m_NUWAdd(m_Value(), m_Value()).match(IRB.CreateNSWAdd(L, R)));