Searched refs:CountMap (Results 1 – 3 of 3) sorted by relevance
47 typedef llvm::ImmutableMap<CountKey, unsigned> CountMap; typedef49 static inline CountMap GetMap(void *D) { in GetMap()50 return CountMap(static_cast<CountMap::TreeTy*>(D)); in GetMap()53 static inline CountMap::Factory& GetFactory(void *F) { in GetFactory()54 return *static_cast<CountMap::Factory*>(F); in GetFactory()59 CountMap M = GetMap(Data); in getNumVisited()60 CountMap::data_type* T = M.lookup(CountKey(CallSite, BlockID)); in getNumVisited()65 F = new CountMap::Factory(Alloc); in Factory()69 delete static_cast<CountMap::Factory*>(F); in ~Factory()
375 llvm::DenseMap<const Stmt *, uint64_t> &CountMap; member385 ComputeRegionCounts(llvm::DenseMap<const Stmt *, uint64_t> &CountMap, in ComputeRegionCounts()387 : PGO(PGO), RecordNextStmtCount(false), CountMap(CountMap) {} in ComputeRegionCounts()391 CountMap[S] = CurrentCount; in RecordStmtCount()412 CountMap[D->getBody()] = BodyCount; in VisitFunctionDecl()424 CountMap[D->getBody()] = BodyCount; in VisitCapturedDecl()431 CountMap[D->getBody()] = BodyCount; in VisitObjCMethodDecl()438 CountMap[D->getBody()] = BodyCount; in VisitBlockDecl()468 CountMap[S] = BlockCount; in VisitLabelStmt()496 CountMap[S->getBody()] = CurrentCount; in VisitWhileStmt()[all …]
45 using CountMap = DenseMap<uint64_t, unsigned>; in tryToreplicateChunks() typedef47 CountMap Counts; in tryToreplicateChunks()