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

References

unittests/IR/InstructionsTest.cpp
  733   ASSERT_NE(CCI, SI->case_end());
  734   EXPECT_EQ(1, CCI->getCaseValue()->getSExtValue());
  735   EXPECT_EQ(BB1.get(), CCI->getCaseSuccessor());
  736   EXPECT_EQ(2, (CCI + 1)->getCaseValue()->getSExtValue());
  737   EXPECT_EQ(BB2.get(), (CCI + 1)->getCaseSuccessor());
  738   EXPECT_EQ(3, (CCI + 2)->getCaseValue()->getSExtValue());
  739   EXPECT_EQ(BB3.get(), (CCI + 2)->getCaseSuccessor());
  740   EXPECT_EQ(CCI + 1, std::next(CCI));
  740   EXPECT_EQ(CCI + 1, std::next(CCI));
  741   EXPECT_EQ(CCI + 2, std::next(CCI, 2));
  741   EXPECT_EQ(CCI + 2, std::next(CCI, 2));
  742   EXPECT_EQ(CCI + 3, std::next(CCI, 3));
  742   EXPECT_EQ(CCI + 3, std::next(CCI, 3));
  743   EXPECT_EQ(CCE, CCI + 3);
  744   EXPECT_EQ(0, CCI - CCI);
  744   EXPECT_EQ(0, CCI - CCI);
  745   EXPECT_EQ(1, (CCI + 1) - CCI);
  745   EXPECT_EQ(1, (CCI + 1) - CCI);
  746   EXPECT_EQ(2, (CCI + 2) - CCI);
  746   EXPECT_EQ(2, (CCI + 2) - CCI);
  747   EXPECT_EQ(3, CCE - CCI);
  748   EXPECT_EQ(3, std::distance(CCI, CCE));
  751   const auto &Handle = *CCI;