mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
IR: Define MDNode uniquing sets automatically, NFC
llvm-svn: 228200
This commit is contained in:
parent
2f4b753a1a
commit
cb971a51bd
@ -357,9 +357,8 @@ public:
|
||||
DenseMap<Value *, ValueAsMetadata *> ValuesAsMetadata;
|
||||
DenseMap<Metadata *, MetadataAsValue *> MetadataAsValues;
|
||||
|
||||
DenseSet<MDTuple *, MDTupleInfo> MDTuples;
|
||||
DenseSet<MDLocation *, MDLocationInfo> MDLocations;
|
||||
DenseSet<GenericDebugNode *, GenericDebugNodeInfo> GenericDebugNodes;
|
||||
#define HANDLE_MDNODE_LEAF(CLASS) DenseSet<CLASS *, CLASS##Info> CLASS##s;
|
||||
#include "llvm/IR/Metadata.def"
|
||||
|
||||
// MDNodes may be uniqued or not uniqued. When they're not uniqued, they
|
||||
// aren't in the MDNodeSet, but they're still shared between objects, so no
|
||||
|
Loading…
Reference in New Issue
Block a user