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

References

unittests/ProfileData/InstrProfTest.cpp
   49     Reader = std::move(ReaderOrErr.get());
   65   ASSERT_TRUE(Reader->begin() == Reader->end());
   65   ASSERT_TRUE(Reader->begin() == Reader->end());
   78   auto I = Reader->begin(), E = Reader->end();
   78   auto I = Reader->begin(), E = Reader->end();
   96   Expected<InstrProfRecord> R = Reader->getInstrProfRecord("foo", 0x1234);
  102   R = Reader->getInstrProfRecord("foo", 0x1235);
  108   R = Reader->getInstrProfRecord("foo", 0x5678);
  111   R = Reader->getInstrProfRecord("bar", 0x1234);
  122   EXPECT_THAT_ERROR(Reader->getFunctionCounts("foo", 0x1234, Counts),
  128   EXPECT_THAT_ERROR(Reader->getFunctionCounts("foo", 0x1235, Counts),
  134   Error E1 = Reader->getFunctionCounts("foo", 0x5678, Counts);
  137   Error E2 = Reader->getFunctionCounts("bar", 0x1234, Counts);
  178   ProfileSummary &PS = Reader->getSummary(/* IsCS */ false);
  212   Expected<InstrProfRecord> R = Reader->getInstrProfRecord("func1", 0x1234);
  217   R = Reader->getInstrProfRecord("func2", 0x1234);
  253   Expected<InstrProfRecord> R = Reader->getInstrProfRecord("caller", 0x1234);
  284   Expected<InstrProfRecord> R = Reader->getInstrProfRecord("caller", 0x1234);
  393   Expected<InstrProfRecord> R = Reader->getInstrProfRecord("caller", 0x1234);
  441   Reader->setValueProfDataEndianness(support::big);
  443   Expected<InstrProfRecord> R = Reader->getInstrProfRecord("caller", 0x1234);
  520   Expected<InstrProfRecord> R = Reader->getInstrProfRecord("caller", 0x1234);
  608       Reader->getInstrProfRecord("foo", 0x1234);
  613       Reader->getInstrProfRecord("baz", 0x5678);
  659   Expected<InstrProfRecord> R = Reader->getInstrProfRecord("caller", 0x1234);
  804   ASSERT_EQ(1ULL << 63, Reader->getMaximumFunctionCount(/* IsCS */ false));
  814   EXPECT_THAT_ERROR(Reader->getFunctionCounts("foo", 0x1234, Counts),
  820   EXPECT_THAT_ERROR(Reader->getFunctionCounts("foo", 0x1235, Counts),
 1005     EXPECT_THAT_ERROR(Reader->getFunctionCounts(FooName, 0x1234, Counts),
 1015     EXPECT_THAT_ERROR(Reader->getFunctionCounts(BarName, 0x567, Counts),
 1025     EXPECT_THAT_ERROR(Reader->getFunctionCounts(BadName, 0x1234, Counts),
 1027     EXPECT_THAT_ERROR(Reader->getFunctionCounts(BadName, 0x567, Counts),
 1040   auto I = Reader->begin(), E = Reader->end();
 1040   auto I = Reader->begin(), E = Reader->end();