Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCodeGenPGO.h37 std::unique_ptr<llvm::DenseMap<const Stmt *, unsigned>> RegionCounterMap; variable
109 if (!RegionCounterMap) in getRegionCount()
113 return RegionCounts[(*RegionCounterMap)[S]]; in getRegionCount()
H A DCodeGenPGO.cpp804 RegionCounterMap.reset(new llvm::DenseMap<const Stmt *, unsigned>); in mapRegionCounters()
805 MapRegionCounters Walker(HashVersion, *RegionCounterMap); in mapRegionCounters()
837 CGM.getLangOpts(), RegionCounterMap.get()); in emitCounterRegionMapping()
895 if (!CGM.getCodeGenOpts().hasProfileClangInstr() || !RegionCounterMap) in emitCounterIncrement()
900 unsigned Counter = (*RegionCounterMap)[S]; in emitCounterIncrement()
931 if (InstrumentValueSites && RegionCounterMap) { in valueProfile()