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

Declarations

include/llvm/IR/ConstantRange.h
  339   ConstantRange add(const ConstantRange &Other) const;

References

lib/Analysis/ScalarEvolution.cpp
 5574       X = X.add(getRangeRef(Add->getOperand(i), SignHint));
10467   ConstantRange LHSRange = FoundLHSRange.add(ConstantRange(*Addend));
lib/Analysis/StackSafetyAnalysis.cpp
  257   ConstantRange AccessRange = AccessStartRange.add(SizeRange);
  467     CalleeRange = CalleeRange.add(CS.Offset);
lib/CodeGen/SafeStack.cpp
  239   ConstantRange AccessRange = AccessStartRange.add(SizeRange);
lib/IR/ConstantRange.cpp
  782     return add(Other);
  808     return add(Other);
  865   ConstantRange Result = add(Other);
lib/Transforms/Scalar/JumpThreading.cpp
  872               CR = CR.add(AddConst->getValue());
unittests/IR/ConstantRangeTest.cpp
  627   EXPECT_EQ(Full.add(APInt(16, 4)), Full);
  628   EXPECT_EQ(Full.add(Full), Full);
  629   EXPECT_EQ(Full.add(Empty), Empty);
  630   EXPECT_EQ(Full.add(One), Full);
  631   EXPECT_EQ(Full.add(Some), Full);
  632   EXPECT_EQ(Full.add(Wrap), Full);
  633   EXPECT_EQ(Empty.add(Empty), Empty);
  634   EXPECT_EQ(Empty.add(One), Empty);
  635   EXPECT_EQ(Empty.add(Some), Empty);
  636   EXPECT_EQ(Empty.add(Wrap), Empty);
  637   EXPECT_EQ(Empty.add(APInt(16, 4)), Empty);
  638   EXPECT_EQ(Some.add(APInt(16, 4)),
  640   EXPECT_EQ(Wrap.add(APInt(16, 4)),
  642   EXPECT_EQ(One.add(APInt(16, 4)),