Lines Matching defs:MapRegionCounters
154 struct MapRegionCounters : public RecursiveASTVisitor<MapRegionCounters> { struct
155 using Base = RecursiveASTVisitor<MapRegionCounters>;
158 unsigned NextCounter;
160 PGOHash Hash;
162 llvm::DenseMap<const Stmt *, unsigned> &CounterMap;
164 uint64_t ProfileVersion;
166 MapRegionCounters(PGOHashVersion HashVersion, uint64_t ProfileVersion, in MapRegionCounters() argument
173 bool TraverseBlockExpr(BlockExpr *BE) { return true; } in TraverseBlockExpr()
174 bool TraverseLambdaExpr(LambdaExpr *LE) { in TraverseLambdaExpr()
180 bool TraverseCapturedStmt(CapturedStmt *CS) { return true; } in TraverseCapturedStmt()
182 bool VisitDecl(const Decl *D) { in VisitDecl()
202 PGOHash::HashType updateCounterMappings(Stmt *S) { in updateCounterMappings()
213 bool VisitBinaryOperator(BinaryOperator *S) { in VisitBinaryOperator()
222 bool VisitStmt(Stmt *S) { in VisitStmt()
231 bool TraverseIfStmt(IfStmt *If) { in TraverseIfStmt()
263 DEFINE_NESTABLE_TRAVERSAL(DoStmt) in DEFINE_NESTABLE_TRAVERSAL()