Home
last modified time | relevance | path

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

/external/clang/lib/CodeGen/
DCodeGenPGO.h40 std::unique_ptr<llvm::DenseMap<const Stmt *, unsigned>> RegionCounterMap; variable
114 if (!RegionCounterMap) in getRegionCount()
118 return RegionCounts[(*RegionCounterMap)[S]]; in getRegionCount()
DCodeGenPGO.cpp647 RegionCounterMap.reset(new llvm::DenseMap<const Stmt *, unsigned>); in mapRegionCounters()
648 MapRegionCounters Walker(*RegionCounterMap); in mapRegionCounters()
680 CGM.getLangOpts(), RegionCounterMap.get()); in emitCounterRegionMapping()
737 if (!CGM.getCodeGenOpts().hasProfileClangInstr() || !RegionCounterMap) in emitCounterIncrement()
742 unsigned Counter = (*RegionCounterMap)[S]; in emitCounterIncrement()
766 if (InstrumentValueSites && RegionCounterMap) { in valueProfile()