Lines Matching defs:ComputeRegionCounts

199 struct ComputeRegionCounts : public ConstStmtVisitor<ComputeRegionCounts> {  struct
201 CodeGenPGO &PGO;
205 bool RecordNextStmtCount;
208 uint64_t CurrentCount;
211 llvm::DenseMap<const Stmt *, uint64_t> &CountMap;
214 struct BreakContinue {
219 SmallVector<BreakContinue, 8> BreakContinueStack;
221 ComputeRegionCounts(llvm::DenseMap<const Stmt *, uint64_t> &CountMap, in ComputeRegionCounts() function
225 void RecordStmtCount(const Stmt *S) { in RecordStmtCount()
233 uint64_t setCount(uint64_t Count) { in setCount()
238 void VisitStmt(const Stmt *S) { in VisitStmt()
245 void VisitFunctionDecl(const FunctionDecl *D) { in VisitFunctionDecl()
255 void VisitLambdaExpr(const LambdaExpr *LE) {} in VisitLambdaExpr()
257 void VisitCapturedDecl(const CapturedDecl *D) { in VisitCapturedDecl()
264 void VisitObjCMethodDecl(const ObjCMethodDecl *D) { in VisitObjCMethodDecl()
271 void VisitBlockDecl(const BlockDecl *D) { in VisitBlockDecl()
278 void VisitReturnStmt(const ReturnStmt *S) { in VisitReturnStmt()
286 void VisitCXXThrowExpr(const CXXThrowExpr *E) { in VisitCXXThrowExpr()
294 void VisitGotoStmt(const GotoStmt *S) { in VisitGotoStmt()
300 void VisitLabelStmt(const LabelStmt *S) { in VisitLabelStmt()
308 void VisitBreakStmt(const BreakStmt *S) { in VisitBreakStmt()
316 void VisitContinueStmt(const ContinueStmt *S) { in VisitContinueStmt()
324 void VisitWhileStmt(const WhileStmt *S) { in VisitWhileStmt()
349 void VisitDoStmt(const DoStmt *S) { in VisitDoStmt()
370 void VisitForStmt(const ForStmt *S) { in VisitForStmt()
405 void VisitCXXForRangeStmt(const CXXForRangeStmt *S) { in VisitCXXForRangeStmt()
436 void VisitObjCForCollectionStmt(const ObjCForCollectionStmt *S) { in VisitObjCForCollectionStmt()
453 void VisitSwitchStmt(const SwitchStmt *S) { in VisitSwitchStmt()
468 void VisitSwitchCase(const SwitchCase *S) { in VisitSwitchCase()
482 void VisitIfStmt(const IfStmt *S) { in VisitIfStmt()
506 void VisitCXXTryStmt(const CXXTryStmt *S) { in VisitCXXTryStmt()
516 void VisitCXXCatchStmt(const CXXCatchStmt *S) { in VisitCXXCatchStmt()
524 void VisitAbstractConditionalOperator(const AbstractConditionalOperator *E) { in VisitAbstractConditionalOperator()
545 void VisitBinLAnd(const BinaryOperator *E) { in VisitBinLAnd()
557 void VisitBinLOr(const BinaryOperator *E) { in VisitBinLOr()