Searched refs:IndexedInstrProf (Results 1 – 12 of 12) sorted by relevance
246 Value = IndexedInstrProf::ComputeHash(VD.first); in readValueProfileData()633 return IndexedInstrProf::ComputeHash(HashType, K); in ComputeHash()873 return Magic == IndexedInstrProf::Magic; in hasFormat()879 using namespace IndexedInstrProf; in readSummary()882 if (Version >= IndexedInstrProf::Version4) { in readSummary()883 const IndexedInstrProf::Summary *SummaryInLE = in readSummary()891 std::unique_ptr<IndexedInstrProf::Summary> SummaryData = in readSummary()892 IndexedInstrProf::allocSummary(SummarySize); in readSummary()943 const IndexedInstrProf::Header *Header = &HeaderOr.get(); in readHeader()953 IndexedInstrProf::HashT HashType = static_cast<IndexedInstrProf::HashT>( in readHeader()[all …]
114 return IndexedInstrProf::ComputeHash(K); in ComputeHash()314 static void setSummary(IndexedInstrProf::Summary *TheSummary, in setSummary()316 using namespace IndexedInstrProf; in setSummary()332 using namespace IndexedInstrProf; in writeImpl()347 IndexedInstrProf::Header Header; in writeImpl()348 Header.Magic = IndexedInstrProf::Magic; in writeImpl()349 Header.Version = IndexedInstrProf::ProfVersion::CurrentVersion; in writeImpl()368 int N = sizeof(IndexedInstrProf::Header) / sizeof(uint64_t); in writeImpl()464 std::unique_ptr<IndexedInstrProf::Summary> TheSummary = in writeImpl()465 IndexedInstrProf::allocSummary(SummarySize); in writeImpl()[all …]
1307 namespace IndexedInstrProf { namespace1334 if (Magic != IndexedInstrProf::Magic) in readFromBuffer()1340 IndexedInstrProf::ProfVersion::CurrentVersion) in readFromBuffer()1347 IndexedInstrProf::ProfVersion::CurrentVersion == Version8, in readFromBuffer()1366 static_assert(IndexedInstrProf::ProfVersion::CurrentVersion == Version8, in size()
168 maybeSwap<uint64_t>(IndexedInstrProf::ComputeHash(FunctionName)), in addProbe()
1040 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("func2")); in TEST_P()1042 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("func3")); in TEST_P()1044 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("bar1")); in TEST_P()1046 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("bar2")); in TEST_P()1048 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("bar3")); in TEST_P()1052 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("bar4")); in TEST_P()1054 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("foo4")); in TEST_P()1075 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("bar1")); in TEST_P()1077 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("bar2")); in TEST_P()1079 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("bar3")); in TEST_P()[all …]
393 namespace IndexedInstrProf {403 IndexedInstrProf::HashT HashType;411 InstrProfLookupTrait(IndexedInstrProf::HashT HashType, unsigned FormatVersion) in InstrProfLookupTrait()497 IndexedInstrProf::HashT HashType, uint64_t Version);579 const unsigned char *readSummary(IndexedInstrProf::ProfVersion Version,
430 namespace IndexedInstrProf {509 IndexedInstrProf::ComputeHash(FuncName), Ins.first->getKey())); in addFuncName()981 namespace IndexedInstrProf {
74 IndexedInstrProf::ComputeHash(getPGOFuncNameVarInitializer(Inc->getName()))))
38 PGOReader ? PGOReader->getVersion() : llvm::IndexedInstrProf::Version); in setFuncName()214 if (ProfileVersion >= llvm::IndexedInstrProf::Version7) in VisitBinaryOperator()843 uint64_t ProfileVersion = llvm::IndexedInstrProf::Version; in mapRegionCounters()
1662 const uint64_t NameHash = llvm::IndexedInstrProf::ComputeHash(NameValue); in addFunctionMappingRecord()1717 const int64_t FilenamesRef = llvm::IndexedInstrProf::ComputeHash(Filenames); in emit()
651 llvm::IndexedInstrProf::ComputeHash(FilenameRegion); in readCoverageHeader()