Lines Matching refs:Symtab
765 InstrProfSymtab Symtab; in TEST_P() local
766 Symtab.mapAddress(uint64_t(callee1), 0x1000ULL); in TEST_P()
767 Symtab.mapAddress(uint64_t(callee2), 0x2000ULL); in TEST_P()
768 Symtab.mapAddress(uint64_t(callee3), 0x3000ULL); in TEST_P()
769 Symtab.mapAddress(uint64_t(callee4), 0x4000ULL); in TEST_P()
771 Symtab.finalizeSymtab(); in TEST_P()
773 VPData->deserializeTo(Record, &Symtab.getAddrHashMap()); in TEST_P()
838 InstrProfSymtab Symtab; in TEST_P() local
839 Symtab.create(FuncNames); in TEST_P()
840 StringRef R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("func1")); in TEST_P()
842 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("func2")); in TEST_P()
844 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("func3")); in TEST_P()
846 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("bar1")); in TEST_P()
848 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("bar2")); in TEST_P()
850 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("bar3")); in TEST_P()
854 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("bar4")); in TEST_P()
856 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("foo4")); in TEST_P()
860 Symtab.addFuncName("blah_1"); in TEST_P()
861 Symtab.addFuncName("blah_2"); in TEST_P()
862 Symtab.addFuncName("blah_3"); in TEST_P()
864 Symtab.finalizeSymtab(); in TEST_P()
867 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("blah_1")); in TEST_P()
869 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("blah_2")); in TEST_P()
871 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("blah_3")); in TEST_P()
873 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("func1")); in TEST_P()
875 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("func2")); in TEST_P()
877 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("func3")); in TEST_P()
879 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("bar1")); in TEST_P()
881 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("bar2")); in TEST_P()
883 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("bar3")); in TEST_P()
964 InstrProfSymtab Symtab; in TEST_P() local
965 NoError(Symtab.create(StringRef(FuncNameStrings))); in TEST_P()
969 StringRef R = Symtab.getFuncName(IndexedInstrProf::ComputeHash(FuncNames1[0])); in TEST_P()
971 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash(FuncNames1[1])); in TEST_P()
980 StringRef R = Symtab.getFuncName(IndexedInstrProf::ComputeHash(N[J])); in TEST_P()