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

References

unittests/ProfileData/InstrProfTest.cpp
  837   EXPECT_THAT_ERROR(Symtab.create(FuncNames), Succeeded());
  838   StringRef R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("func1"));
  840   R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("func2"));
  842   R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("func3"));
  844   R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("bar1"));
  846   R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("bar2"));
  848   R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("bar3"));
  852   R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("bar4"));
  854   R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("foo4"));
  858   EXPECT_THAT_ERROR(Symtab.addFuncName("blah_1"), Succeeded());
  859   EXPECT_THAT_ERROR(Symtab.addFuncName("blah_2"), Succeeded());
  860   EXPECT_THAT_ERROR(Symtab.addFuncName("blah_3"), Succeeded());
  863   R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("blah_1"));
  865   R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("blah_2"));
  867   R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("blah_3"));
  869   R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("func1"));
  871   R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("func2"));
  873   R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("func3"));
  875   R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("bar1"));
  877   R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("bar2"));
  879   R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("bar3"));