Home
last modified time | relevance | path

Searched refs:CounterMap (Results 1 – 5 of 5) sorted by relevance

/external/clang/lib/CodeGen/
DCoverageMappingGen.h91 llvm::DenseMap<const Stmt *, unsigned> *CounterMap; variable
96 : CVM(CVM), SM(SM), LangOpts(LangOpts), CounterMap(nullptr) {} in CoverageMappingGen()
100 llvm::DenseMap<const Stmt *, unsigned> *CounterMap) in CoverageMappingGen() argument
101 : CVM(CVM), SM(SM), LangOpts(LangOpts), CounterMap(CounterMap) {} in CoverageMappingGen()
DCodeGenPGO.cpp119 llvm::DenseMap<const Stmt *, unsigned> &CounterMap; member
121 MapRegionCounters(llvm::DenseMap<const Stmt *, unsigned> &CounterMap) in MapRegionCounters()
122 : NextCounter(0), CounterMap(CounterMap) {} in MapRegionCounters()
142 CounterMap[D->getBody()] = NextCounter++; in VisitDecl()
153 CounterMap[S] = NextCounter++; in VisitStmt()
DCoverageMappingGen.cpp365 llvm::DenseMap<const Stmt *, unsigned> &CounterMap; member
396 return Counter::getCounter(CounterMap[S]); in getRegionCounter()
595 llvm::DenseMap<const Stmt *, unsigned> &CounterMap, SourceManager &SM, in CounterCoverageMappingBuilder()
597 : CoverageMappingBuilder(CVM, SM, LangOpts), CounterMap(CounterMap) {} in CounterCoverageMappingBuilder()
1103 assert(CounterMap); in emitCounterMapping()
1104 CounterCoverageMappingBuilder Walker(CVM, *CounterMap, SM, LangOpts); in emitCounterMapping()
/external/v8/src/
Dd8.h60 class CounterMap {
62 CounterMap(): hash_map_(Match) { } in CounterMap() function
77 explicit Iterator(CounterMap* map) in Iterator()
455 static CounterMap* counter_map_;
Dd8.cc401 CounterMap* Shell::counter_map_;
419 bool CounterMap::Match(void* key1, void* key2) { in Match()
1359 int CounterMap::Hash(const char* name) { in Hash()
1759 for (CounterMap::Iterator i(counter_map_); i.More(); i.Next()) { in OnExit()
1764 for (CounterMap::Iterator i(counter_map_); i.More(); i.Next(), j++) { in OnExit()
2945 Shell::counter_map_ = new CounterMap(); in Main()