mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-02 07:17:36 +00:00
Initial commit for the AttributesImpl class.
This opaque class will contain all of the attributes. All attribute queries will go through this object. This object will also be uniqued in the LLVMContext. Currently not used, so no implementation change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164722 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
#define LLVM_LLVMCONTEXT_IMPL_H
|
||||
|
||||
#include "llvm/LLVMContext.h"
|
||||
#include "AttributesImpl.h"
|
||||
#include "ConstantsContext.h"
|
||||
#include "LeaksContext.h"
|
||||
#include "llvm/Constants.h"
|
||||
@@ -253,10 +254,13 @@ public:
|
||||
typedef DenseMap<DenseMapAPFloatKeyInfo::KeyTy, ConstantFP*,
|
||||
DenseMapAPFloatKeyInfo> FPMapTy;
|
||||
FPMapTy FPConstants;
|
||||
|
||||
FoldingSet<AttributesImpl> AttrsSet;
|
||||
|
||||
StringMap<Value*> MDStringCache;
|
||||
|
||||
|
||||
FoldingSet<MDNode> MDNodeSet;
|
||||
|
||||
// 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
|
||||
// one object can destroy them. This set allows us to at least destroy them
|
||||
|
||||
Reference in New Issue
Block a user