diff options
author | Nuno Lopes <nunoplopes@sapo.pt> | 2012-06-18 16:04:04 +0000 |
---|---|---|
committer | Nuno Lopes <nunoplopes@sapo.pt> | 2012-06-18 16:04:04 +0000 |
commit | fa7494306bc6fbe16cc82a67b93e762241b26777 (patch) | |
tree | bc87b64fbaa757a52d4a23c4558dcfd002d3085c /include/llvm/LLVMContext.h | |
parent | 96ef284da415cccd60cf5066929a4683dec5dd79 (diff) | |
download | external_llvm-fa7494306bc6fbe16cc82a67b93e762241b26777.zip external_llvm-fa7494306bc6fbe16cc82a67b93e762241b26777.tar.gz external_llvm-fa7494306bc6fbe16cc82a67b93e762241b26777.tar.bz2 |
add the 'alloc' metadata node to represent the size of offset of buffers pointed to by pointers.
This metadata can be attached to any instruction returning a pointer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158660 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/LLVMContext.h')
-rw-r--r-- | include/llvm/LLVMContext.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/LLVMContext.h b/include/llvm/LLVMContext.h index a8306a9..d15f3e0 100644 --- a/include/llvm/LLVMContext.h +++ b/include/llvm/LLVMContext.h @@ -43,7 +43,8 @@ public: MD_tbaa = 1, // "tbaa" MD_prof = 2, // "prof" MD_fpmath = 3, // "fpmath" - MD_range = 4 // "range" + MD_range = 4, // "range" + MD_alloc = 5 // "alloc" }; /// getMDKindID - Return a unique non-zero ID for the specified metadata kind. |