forked from OSchip/llvm-project
Qualify DenseMap in AnalysisManager.
PiperOrigin-RevId: 238649794
This commit is contained in:
parent
14489b5a8a
commit
cdd56eb675
|
@ -100,7 +100,7 @@ template <typename AnalysisT> struct AnalysisModel : public AnalysisConcept {
|
||||||
template <typename IRUnitT> class AnalysisMap {
|
template <typename IRUnitT> class AnalysisMap {
|
||||||
/// A mapping between an analysis id and an existing analysis instance.
|
/// A mapping between an analysis id and an existing analysis instance.
|
||||||
using ConceptMap =
|
using ConceptMap =
|
||||||
DenseMap<const AnalysisID *, std::unique_ptr<AnalysisConcept>>;
|
llvm::DenseMap<const AnalysisID *, std::unique_ptr<AnalysisConcept>>;
|
||||||
|
|
||||||
/// Utility to return the name of the given analysis class.
|
/// Utility to return the name of the given analysis class.
|
||||||
template <typename AnalysisT> static llvm::StringRef getAnalysisName() {
|
template <typename AnalysisT> static llvm::StringRef getAnalysisName() {
|
||||||
|
@ -274,7 +274,7 @@ public:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
/// The cached analyses for functions within the current module.
|
/// The cached analyses for functions within the current module.
|
||||||
DenseMap<Function *, detail::AnalysisMap<Function>> functionAnalyses;
|
llvm::DenseMap<Function *, detail::AnalysisMap<Function>> functionAnalyses;
|
||||||
|
|
||||||
/// The analyses for the owning module.
|
/// The analyses for the owning module.
|
||||||
detail::AnalysisMap<Module> moduleAnalyses;
|
detail::AnalysisMap<Module> moduleAnalyses;
|
||||||
|
|
Loading…
Reference in New Issue