Lines Matching refs:CountMap
242 llvm::DenseMap<const Stmt *, uint64_t> &CountMap; member
252 ComputeRegionCounts(llvm::DenseMap<const Stmt *, uint64_t> &CountMap, in ComputeRegionCounts()
254 : PGO(PGO), RecordNextStmtCount(false), CountMap(CountMap) {} in ComputeRegionCounts()
258 CountMap[S] = PGO.getCurrentRegionCount(); in RecordStmtCount()
275 CountMap[D->getBody()] = PGO.getCurrentRegionCount(); in VisitFunctionDecl()
288 CountMap[D->getBody()] = PGO.getCurrentRegionCount(); in VisitCapturedDecl()
296 CountMap[D->getBody()] = PGO.getCurrentRegionCount(); in VisitObjCMethodDecl()
304 CountMap[D->getBody()] = PGO.getCurrentRegionCount(); in VisitBlockDecl()
327 CountMap[S] = PGO.getCurrentRegionCount(); in VisitLabelStmt()
355 CountMap[S->getBody()] = PGO.getCurrentRegionCount(); in VisitWhileStmt()
366 CountMap[S->getCond()] = PGO.getCurrentRegionCount(); in VisitWhileStmt()
379 CountMap[S->getBody()] = PGO.getCurrentRegionCount(); in VisitDoStmt()
391 CountMap[S->getCond()] = PGO.getCurrentRegionCount(); in VisitDoStmt()
408 CountMap[S->getBody()] = PGO.getCurrentRegionCount(); in VisitForStmt()
417 CountMap[S->getInc()] = PGO.getCurrentRegionCount(); in VisitForStmt()
429 CountMap[S->getCond()] = PGO.getCurrentRegionCount(); in VisitForStmt()
447 CountMap[S->getLoopVarStmt()] = PGO.getCurrentRegionCount(); in VisitCXXForRangeStmt()
456 CountMap[S->getInc()] = PGO.getCurrentRegionCount(); in VisitCXXForRangeStmt()
466 CountMap[S->getCond()] = PGO.getCurrentRegionCount(); in VisitCXXForRangeStmt()
480 CountMap[S->getBody()] = PGO.getCurrentRegionCount(); in VisitObjCForCollectionStmt()
511 CountMap[S] = Cnt.getCount(); in VisitCaseStmt()
522 CountMap[S] = Cnt.getCount(); in VisitDefaultStmt()
535 CountMap[S->getThen()] = PGO.getCurrentRegionCount(); in VisitIfStmt()
541 CountMap[S->getElse()] = PGO.getCurrentRegionCount(); in VisitIfStmt()
565 CountMap[S] = PGO.getCurrentRegionCount(); in VisitCXXCatchStmt()
578 CountMap[E->getTrueExpr()] = PGO.getCurrentRegionCount(); in VisitAbstractConditionalOperator()
583 CountMap[E->getFalseExpr()] = PGO.getCurrentRegionCount(); in VisitAbstractConditionalOperator()
597 CountMap[E->getRHS()] = PGO.getCurrentRegionCount(); in VisitBinLAnd()
610 CountMap[E->getRHS()] = PGO.getCurrentRegionCount(); in VisitBinLOr()