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

References

lib/CodeGen/SplitKit.cpp
 1271     unsigned RegIdx = RegAssign.lookup(V->def);
 1286       unsigned RegIdx = RegAssign.lookup(V->def);
 1335     unsigned RegIdx = RegAssign.lookup(Idx);
 1480     unsigned RegIdx = RegAssign.lookup(ParentVNI->def);
unittests/ADT/IntervalMapTest.cpp
   27   EXPECT_EQ(0u, map.lookup(0));
   28   EXPECT_EQ(7u, map.lookup(0, 7));
   29   EXPECT_EQ(0u, map.lookup(~0u-1));
   30   EXPECT_EQ(7u, map.lookup(~0u-1, 7));
   62   EXPECT_EQ(0u, map.lookup(0));
   63   EXPECT_EQ(0u, map.lookup(99));
   64   EXPECT_EQ(1u, map.lookup(100));
   65   EXPECT_EQ(1u, map.lookup(101));
   66   EXPECT_EQ(1u, map.lookup(125));
   67   EXPECT_EQ(1u, map.lookup(149));
   68   EXPECT_EQ(1u, map.lookup(150));
   69   EXPECT_EQ(0u, map.lookup(151));
   70   EXPECT_EQ(0u, map.lookup(200));
   71   EXPECT_EQ(0u, map.lookup(~0u-1));
  209   EXPECT_EQ(2u, map.lookup(89));
  210   EXPECT_EQ(1u, map.lookup(90));
  228   EXPECT_EQ(2u, map.lookup(201));
  229   EXPECT_EQ(1u, map.lookup(200));
  390     EXPECT_EQ(0u, map.lookup(10*i-1));
  391     EXPECT_EQ(i, map.lookup(10*i));
  392     EXPECT_EQ(i, map.lookup(10*i+5));
  393     EXPECT_EQ(0u, map.lookup(10*i+6));
  529     EXPECT_EQ(0u, map.lookup(10*i-1));
  530     EXPECT_EQ(i, map.lookup(10*i));
  531     EXPECT_EQ(i, map.lookup(10*i+5));
  532     EXPECT_EQ(0u, map.lookup(10*i+6));