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

Declarations

include/llvm/ADT/IntEqClasses.h
   63   unsigned findLeader(unsigned a) const;

References

unittests/ADT/IntEqClassesTest.cpp
   24   EXPECT_EQ(0u, ec.findLeader(0));
   25   EXPECT_EQ(0u, ec.findLeader(1));
   26   EXPECT_EQ(2u, ec.findLeader(2));
   27   EXPECT_EQ(2u, ec.findLeader(3));
   28   EXPECT_EQ(4u, ec.findLeader(4));
   29   EXPECT_EQ(4u, ec.findLeader(5));
   30   EXPECT_EQ(6u, ec.findLeader(6));
   31   EXPECT_EQ(6u, ec.findLeader(7));
   32   EXPECT_EQ(8u, ec.findLeader(8));
   33   EXPECT_EQ(9u, ec.findLeader(9));
   38   EXPECT_EQ(0u, ec.findLeader(0));
   39   EXPECT_EQ(0u, ec.findLeader(1));
   40   EXPECT_EQ(0u, ec.findLeader(2));
   41   EXPECT_EQ(0u, ec.findLeader(3));
   42   EXPECT_EQ(4u, ec.findLeader(4));
   43   EXPECT_EQ(4u, ec.findLeader(5));
   44   EXPECT_EQ(6u, ec.findLeader(6));
   45   EXPECT_EQ(6u, ec.findLeader(7));
   46   EXPECT_EQ(8u, ec.findLeader(8));
   47   EXPECT_EQ(9u, ec.findLeader(9));
   52   EXPECT_EQ(0u, ec.findLeader(0));
   53   EXPECT_EQ(0u, ec.findLeader(1));
   54   EXPECT_EQ(0u, ec.findLeader(2));
   55   EXPECT_EQ(0u, ec.findLeader(3));
   56   EXPECT_EQ(4u, ec.findLeader(4));
   57   EXPECT_EQ(4u, ec.findLeader(5));
   58   EXPECT_EQ(6u, ec.findLeader(6));
   59   EXPECT_EQ(6u, ec.findLeader(7));
   60   EXPECT_EQ(4u, ec.findLeader(8));
   61   EXPECT_EQ(9u, ec.findLeader(9));
   66   EXPECT_EQ(0u, ec.findLeader(0));
   67   EXPECT_EQ(0u, ec.findLeader(1));
   68   EXPECT_EQ(0u, ec.findLeader(2));
   69   EXPECT_EQ(0u, ec.findLeader(3));
   70   EXPECT_EQ(4u, ec.findLeader(4));
   71   EXPECT_EQ(4u, ec.findLeader(5));
   72   EXPECT_EQ(6u, ec.findLeader(6));
   73   EXPECT_EQ(6u, ec.findLeader(7));
   74   EXPECT_EQ(4u, ec.findLeader(8));
   75   EXPECT_EQ(0u, ec.findLeader(9));
   94   EXPECT_EQ(0u, ec.findLeader(0));
   95   EXPECT_EQ(0u, ec.findLeader(1));
   96   EXPECT_EQ(0u, ec.findLeader(2));
   97   EXPECT_EQ(0u, ec.findLeader(3));
   98   EXPECT_EQ(4u, ec.findLeader(4));
   99   EXPECT_EQ(4u, ec.findLeader(5));
  100   EXPECT_EQ(6u, ec.findLeader(6));
  101   EXPECT_EQ(6u, ec.findLeader(7));
  102   EXPECT_EQ(4u, ec.findLeader(8));
  103   EXPECT_EQ(0u, ec.findLeader(9));
utils/TableGen/CodeGenRegisters.cpp
 1603     unsigned USetID = UberSetIDs.findLeader((*Regs.begin())->EnumValue);