Home
last modified time | relevance | path

Searched refs:RegionCounts (Results 1 – 2 of 2) sorted by relevance

/external/clang/lib/CodeGen/
DCodeGenPGO.h43 std::unique_ptr<std::vector<uint64_t>> RegionCounts; variable
54 bool haveRegionCounts() const { return RegionCounts != nullptr; } in haveRegionCounts()
141 return (*RegionCounts)[Counter]; in getRegionCount()
DCodeGenPGO.cpp919 RegionCounts.reset(new std::vector<uint64_t>); in loadRegionCounts()
921 if (PGOReader->getFunctionCounts(getFuncName(), Hash, *RegionCounts)) { in loadRegionCounts()
923 RegionCounts.reset(); in loadRegionCounts()
925 RegionCounts->size() != NumRegionCounters) { in loadRegionCounts()
927 RegionCounts.reset(); in loadRegionCounts()
934 RegionCounts.reset(); in destroyRegionCounters()