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

Declarations

include/llvm/IR/ConstantRange.h
  389   ConstantRange urem(const ConstantRange &Other) const;

References

lib/IR/ConstantRange.cpp
  792     return urem(Other);
unittests/IR/ConstantRangeTest.cpp
 1136   EXPECT_EQ(Full.urem(Empty), Empty);
 1137   EXPECT_EQ(Empty.urem(Full), Empty);
 1139   EXPECT_EQ(Full.urem(ConstantRange(APInt(16, 0))), Empty);
 1141   EXPECT_EQ(Full.urem(Full), ConstantRange(APInt(16, 0), APInt(16, 0xffff)));
 1143   EXPECT_EQ(Full.urem(ConstantRange(APInt(16, 0), APInt(16, 123))),
 1146   EXPECT_EQ(ConstantRange(APInt(16, 0), APInt(16, 123)).urem(Full),
 1150                 .urem(ConstantRange(APInt(16, 20), APInt(16, 30))),
 1154                 .urem(ConstantRange(APInt(16, 19), APInt(16, 30))),
 1158                 .urem(ConstantRange(APInt(16, 10))),
 1163         return CR1.urem(CR2);