Lines Matching defs:ComputeRegionCounts

204 struct ComputeRegionCounts : public ConstStmtVisitor<ComputeRegionCounts> {  struct
206 CodeGenPGO &PGO;
210 bool RecordNextStmtCount;
213 uint64_t CurrentCount;
216 llvm::DenseMap<const Stmt *, uint64_t> &CountMap;
219 struct BreakContinue {
224 SmallVector<BreakContinue, 8> BreakContinueStack;
226 ComputeRegionCounts(llvm::DenseMap<const Stmt *, uint64_t> &CountMap, in ComputeRegionCounts() argument
230 void RecordStmtCount(const Stmt *S) { in RecordStmtCount()
238 uint64_t setCount(uint64_t Count) { in setCount()
243 void VisitStmt(const Stmt *S) { in VisitStmt()
250 void VisitFunctionDecl(const FunctionDecl *D) { in VisitFunctionDecl()
260 void VisitLambdaExpr(const LambdaExpr *LE) {} in VisitLambdaExpr()
262 void VisitCapturedDecl(const CapturedDecl *D) { in VisitCapturedDecl()
269 void VisitObjCMethodDecl(const ObjCMethodDecl *D) { in VisitObjCMethodDecl()
276 void VisitBlockDecl(const BlockDecl *D) { in VisitBlockDecl()
283 void VisitReturnStmt(const ReturnStmt *S) { in VisitReturnStmt()
291 void VisitCXXThrowExpr(const CXXThrowExpr *E) { in VisitCXXThrowExpr()
299 void VisitGotoStmt(const GotoStmt *S) { in VisitGotoStmt()
305 void VisitLabelStmt(const LabelStmt *S) { in VisitLabelStmt()
313 void VisitBreakStmt(const BreakStmt *S) { in VisitBreakStmt()
321 void VisitContinueStmt(const ContinueStmt *S) { in VisitContinueStmt()
329 void VisitWhileStmt(const WhileStmt *S) { in VisitWhileStmt()
354 void VisitDoStmt(const DoStmt *S) { in VisitDoStmt()
375 void VisitForStmt(const ForStmt *S) { in VisitForStmt()
410 void VisitCXXForRangeStmt(const CXXForRangeStmt *S) { in VisitCXXForRangeStmt()
442 void VisitObjCForCollectionStmt(const ObjCForCollectionStmt *S) { in VisitObjCForCollectionStmt()
459 void VisitSwitchStmt(const SwitchStmt *S) { in VisitSwitchStmt()
474 void VisitSwitchCase(const SwitchCase *S) { in VisitSwitchCase()
488 void VisitIfStmt(const IfStmt *S) { in VisitIfStmt()
512 void VisitCXXTryStmt(const CXXTryStmt *S) { in VisitCXXTryStmt()
522 void VisitCXXCatchStmt(const CXXCatchStmt *S) { in VisitCXXCatchStmt()
530 void VisitAbstractConditionalOperator(const AbstractConditionalOperator *E) { in VisitAbstractConditionalOperator()
551 void VisitBinLAnd(const BinaryOperator *E) { in VisitBinLAnd()
563 void VisitBinLOr(const BinaryOperator *E) { in VisitBinLOr()