Home
last modified time | relevance | path

Searched refs:CounterMap (Results 1 – 6 of 6) 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/llvm-project/clang/lib/CodeGen/
DCoverageMappingGen.h133 llvm::DenseMap<const Stmt *, unsigned> *CounterMap; variable
138 : CVM(CVM), SM(SM), LangOpts(LangOpts), CounterMap(nullptr) {} in CoverageMappingGen()
142 llvm::DenseMap<const Stmt *, unsigned> *CounterMap) in CoverageMappingGen() argument
143 : CVM(CVM), SM(SM), LangOpts(LangOpts), CounterMap(CounterMap) {} in CoverageMappingGen()
DCodeGenPGO.cpp162 llvm::DenseMap<const Stmt *, unsigned> &CounterMap; member
165 llvm::DenseMap<const Stmt *, unsigned> &CounterMap) in MapRegionCounters()
166 : NextCounter(0), Hash(HashVersion), CounterMap(CounterMap) {} in MapRegionCounters()
191 CounterMap[D->getBody()] = NextCounter++; in VisitDecl()
202 CounterMap[S] = NextCounter++; in updateCounterMappings()
DCoverageMappingGen.cpp520 llvm::DenseMap<const Stmt *, unsigned> &CounterMap; member
558 return Counter::getCounter(CounterMap[S]); in getRegionCounter()
923 llvm::DenseMap<const Stmt *, unsigned> &CounterMap, SourceManager &SM, in CounterCoverageMappingBuilder()
925 : CoverageMappingBuilder(CVM, SM, LangOpts), CounterMap(CounterMap), in CounterCoverageMappingBuilder()
1587 assert(CounterMap); in emitCounterMapping()
1588 CounterCoverageMappingBuilder Walker(CVM, *CounterMap, SM, LangOpts); in emitCounterMapping()