Searched refs:CountMap (Results 1 – 4 of 4) sorted by relevance
/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | BlockCounter.cpp | 47 typedef llvm::ImmutableMap<CountKey, unsigned> CountMap; typedef 49 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()
|
/llvm-project/clang/lib/CodeGen/ |
H A D | CodeGenPGO.cpp | 590 llvm::DenseMap<const Stmt *, uint64_t> &CountMap; 600 ComputeRegionCounts(llvm::DenseMap<const Stmt *, uint64_t> &CountMap, 602 : PGO(PGO), RecordNextStmtCount(false), CountMap(CountMap) {} 606 CountMap[S] = CurrentCount; 627 CountMap[D->getBody()] = BodyCount; in VisitFunctionDecl() 639 CountMap[D->getBody()] = BodyCount; in VisitCapturedDecl() 646 CountMap[D->getBody()] = BodyCount; in VisitObjCMethodDecl() 653 CountMap[D->getBody()] = BodyCount; in VisitBlockDecl() 683 CountMap[ in VisitLabelStmt() 593 llvm::DenseMap<const Stmt *, uint64_t> &CountMap; global() member [all...] |
/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64ExpandImm.cpp | 45 using CountMap = DenseMap<uint64_t, unsigned>; in tryToreplicateChunks() typedef 47 CountMap Counts; in tryToreplicateChunks()
|
/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 5024 SmallDenseMap<InstVarPair, unsigned> CountMap; in run() 5030 CountMap[std::make_pair(DVR->getInstruction(), DbgUserVariable)] += 1; in run() 5036 for (auto It : CountMap) { in run() 4910 SmallDenseMap<InstVarPair, unsigned> CountMap; tryToSinkInstructionDbgVariableRecords() local
|