improves AsmPrinter runtime on instcombine from 0.3920s to 0.3836s.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52787
91177308-0d34-0410-b5e6-
96231b3b80d8
#ifndef LLVM_SUPPORT_MANGLER_H
#define LLVM_SUPPORT_MANGLER_H
+#include "llvm/ADT/DenseMap.h"
#include <map>
#include <set>
#include <string>
/// Memo - This is used to remember the name that we assign a value.
///
- std::map<const Value*, std::string> Memo;
+ DenseMap<const Value*, std::string> Memo;
/// Count - This simple counter is used to unique value names.
///