Lines Matching defs:MapRegionCounters
151 struct MapRegionCounters : public RecursiveASTVisitor<MapRegionCounters> { struct
152 using Base = RecursiveASTVisitor<MapRegionCounters>;
155 unsigned NextCounter;
157 PGOHash Hash;
159 llvm::DenseMap<const Stmt *, unsigned> &CounterMap;
161 MapRegionCounters(PGOHashVersion HashVersion, in MapRegionCounters() argument
167 bool TraverseBlockExpr(BlockExpr *BE) { return true; } in TraverseBlockExpr()
168 bool TraverseLambdaExpr(LambdaExpr *LE) { in TraverseLambdaExpr()
174 bool TraverseCapturedStmt(CapturedStmt *CS) { return true; } in TraverseCapturedStmt()
176 bool VisitDecl(const Decl *D) { in VisitDecl()
196 PGOHash::HashType updateCounterMappings(Stmt *S) { in updateCounterMappings()
204 bool VisitStmt(Stmt *S) { in VisitStmt()
213 bool TraverseIfStmt(IfStmt *If) { in TraverseIfStmt()
245 DEFINE_NESTABLE_TRAVERSAL(DoStmt) in DEFINE_NESTABLE_TRAVERSAL()