Searched refs:CounterMap (Results 1 – 5 of 5) sorted by relevance
/external/clang/lib/CodeGen/ |
D | CoverageMappingGen.h | 91 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()
|
D | CodeGenPGO.cpp | 119 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()
|
D | CoverageMappingGen.cpp | 365 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/ |
D | d8.h | 60 class CounterMap { 62 CounterMap(): hash_map_(Match) { } in CounterMap() function 77 explicit Iterator(CounterMap* map) in Iterator() 455 static CounterMap* counter_map_;
|
D | d8.cc | 401 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()
|