mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-10 08:40:41 +00:00
IR: Define MDNode uniquing sets automatically, NFC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228200 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3cc1e2deee
commit
a196629a7c
@ -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…
x
Reference in New Issue
Block a user