Home
last modified time | relevance | path

Searched refs:CountMap (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBlockCounter.cpp47 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()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenPGO.cpp591 llvm::DenseMap<const Stmt *, uint64_t> &CountMap; member
601 ComputeRegionCounts(llvm::DenseMap<const Stmt *, uint64_t> &CountMap, in ComputeRegionCounts()
603 : PGO(PGO), RecordNextStmtCount(false), CountMap(CountMap) {} in ComputeRegionCounts()
607 CountMap[S] = CurrentCount; in RecordStmtCount()
628 CountMap[D->getBody()] = BodyCount; in VisitFunctionDecl()
640 CountMap[D->getBody()] = BodyCount; in VisitCapturedDecl()
647 CountMap[D->getBody()] = BodyCount; in VisitObjCMethodDecl()
654 CountMap[D->getBody()] = BodyCount; in VisitBlockDecl()
684 CountMap[S] = BlockCount; in VisitLabelStmt()
712 CountMap[S->getBody()] = CurrentCount; in VisitWhileStmt()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ExpandImm.cpp45 using CountMap = DenseMap<uint64_t, unsigned>; in tryToreplicateChunks() typedef
47 CountMap Counts; in tryToreplicateChunks()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp4910 SmallDenseMap<InstVarPair, unsigned> CountMap; in tryToSinkInstructionDbgVariableRecords() local
4916 CountMap[std::make_pair(DVR->getInstruction(), DbgUserVariable)] += 1; in tryToSinkInstructionDbgVariableRecords()
4922 for (auto It : CountMap) { in tryToSinkInstructionDbgVariableRecords()