mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-09 10:31:14 +00:00
Use StringMap instead of std::map<std::string, SDNode*>.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52641 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
84701836bf
commit
4b84086e89
@ -16,6 +16,7 @@
|
|||||||
#define LLVM_CODEGEN_SELECTIONDAG_H
|
#define LLVM_CODEGEN_SELECTIONDAG_H
|
||||||
|
|
||||||
#include "llvm/ADT/FoldingSet.h"
|
#include "llvm/ADT/FoldingSet.h"
|
||||||
|
#include "llvm/ADT/StringMap.h"
|
||||||
#include "llvm/ADT/ilist.h"
|
#include "llvm/ADT/ilist.h"
|
||||||
#include "llvm/CodeGen/SelectionDAGNodes.h"
|
#include "llvm/CodeGen/SelectionDAGNodes.h"
|
||||||
|
|
||||||
@ -621,9 +622,9 @@ private:
|
|||||||
|
|
||||||
std::vector<SDNode*> ValueTypeNodes;
|
std::vector<SDNode*> ValueTypeNodes;
|
||||||
std::map<MVT, SDNode*, MVT::compareRawBits> ExtendedValueTypeNodes;
|
std::map<MVT, SDNode*, MVT::compareRawBits> ExtendedValueTypeNodes;
|
||||||
std::map<std::string, SDNode*> ExternalSymbols;
|
StringMap<SDNode*> ExternalSymbols;
|
||||||
std::map<std::string, SDNode*> TargetExternalSymbols;
|
StringMap<SDNode*> TargetExternalSymbols;
|
||||||
std::map<std::string, StringSDNode*> StringNodes;
|
StringMap<StringSDNode*> StringNodes;
|
||||||
};
|
};
|
||||||
|
|
||||||
template <> struct GraphTraits<SelectionDAG*> : public GraphTraits<SDNode*> {
|
template <> struct GraphTraits<SelectionDAG*> : public GraphTraits<SDNode*> {
|
||||||
|
Loading…
Reference in New Issue
Block a user