aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2007-09-21 22:59:12 +0000
committerTanya Lattner <tonic@nondot.org>2007-09-21 22:59:12 +0000
commitb636788914df6ea955ec7a1698a5ee495dbb5902 (patch)
tree31500a6aab99322148f07df10501238ac9272a5f /include/llvm
parent910993e8dc49a25d9da3b53de4a82568c14e91cc (diff)
downloadexternal_llvm-b636788914df6ea955ec7a1698a5ee495dbb5902.zip
external_llvm-b636788914df6ea955ec7a1698a5ee495dbb5902.tar.gz
external_llvm-b636788914df6ea955ec7a1698a5ee495dbb5902.tar.bz2
Adding support for __builtin_annotation with an intrinsic called llvm.annotation. This is similar to llvm.var.annotation but is applied to expressions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42211 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/Intrinsics.td4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Intrinsics.td b/include/llvm/Intrinsics.td
index f7b46b2..9d3b180 100644
--- a/include/llvm/Intrinsics.td
+++ b/include/llvm/Intrinsics.td
@@ -240,6 +240,10 @@ def int_eh_dwarf_cfa : Intrinsic<[llvm_ptr_ty, llvm_i32_ty]>;
def int_var_annotation : Intrinsic<[llvm_void_ty, llvm_ptr_ty, llvm_ptr_ty,
llvm_ptr_ty, llvm_i32_ty],
[], "llvm.var.annotation">;
+
+def int_annotation : Intrinsic<[llvm_anyint_ty, LLVMMatchType<0>, llvm_ptr_ty,
+ llvm_ptr_ty, llvm_i32_ty],
+ [], "llvm.annotation">;
//===------------------------ Trampoline Intrinsics -----------------------===//
//