Home
last modified time | relevance | path

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

/external/clang/lib/CodeGen/
DCodeGenPGO.h37 std::unique_ptr<llvm::DenseMap<const Stmt *, unsigned>> RegionCounterMap; variable
106 if (!RegionCounterMap) in getRegionCount()
110 return RegionCounts[(*RegionCounterMap)[S]]; in getRegionCount()
DCodeGenPGO.cpp641 RegionCounterMap.reset(new llvm::DenseMap<const Stmt *, unsigned>); in mapRegionCounters()
642 MapRegionCounters Walker(*RegionCounterMap); in mapRegionCounters()
668 CGM.getLangOpts(), RegionCounterMap.get()); in emitCounterRegionMapping()
739 if (!CGM.getCodeGenOpts().ProfileInstrGenerate || !RegionCounterMap) in emitCounterIncrement()
744 unsigned Counter = (*RegionCounterMap)[S]; in emitCounterIncrement()