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

Declarations

include/llvm/IR/ConstantRange.h
  351   ConstantRange sub(const ConstantRange &Other) const;

References

lib/Analysis/LazyValueInfo.cpp
  928         BBLV = ValueLatticeElement::getRange(Zero.sub(TrueCR.abs()));
  932         BBLV = ValueLatticeElement::getRange(Zero.sub(FalseCR.abs()));
lib/IR/ConstantRange.cpp
  784     return sub(Other);
  810     return sub(Other);
lib/Transforms/Instrumentation/BoundsChecking.cpp
   93   Value *Cmp3 = SizeRange.sub(OffsetRange)
lib/Transforms/Scalar/Float2Int.cpp
  259         return Zero.sub(Ops[0]);
unittests/IR/ConstantRangeTest.cpp
  903   EXPECT_EQ(Full.sub(APInt(16, 4)), Full);
  904   EXPECT_EQ(Full.sub(Full), Full);
  905   EXPECT_EQ(Full.sub(Empty), Empty);
  906   EXPECT_EQ(Full.sub(One), Full);
  907   EXPECT_EQ(Full.sub(Some), Full);
  908   EXPECT_EQ(Full.sub(Wrap), Full);
  909   EXPECT_EQ(Empty.sub(Empty), Empty);
  910   EXPECT_EQ(Empty.sub(One), Empty);
  911   EXPECT_EQ(Empty.sub(Some), Empty);
  912   EXPECT_EQ(Empty.sub(Wrap), Empty);
  913   EXPECT_EQ(Empty.sub(APInt(16, 4)), Empty);
  914   EXPECT_EQ(Some.sub(APInt(16, 4)),
  916   EXPECT_EQ(Some.sub(Some),
  918   EXPECT_EQ(Wrap.sub(APInt(16, 4)),
  920   EXPECT_EQ(One.sub(APInt(16, 4)),