Add ptr annotation intrinsic.
authorTanya Lattner <tonic@nondot.org>
Wed, 12 Nov 2008 07:17:57 +0000 (07:17 +0000)
committerTanya Lattner <tonic@nondot.org>
Wed, 12 Nov 2008 07:17:57 +0000 (07:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59106 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Intrinsics.td

index da93e0a4b78954ee7c74ab94732e70952eb238b7..9f92a334ca0c0de539aee2b82698759ba6fbad83 100644 (file)
@@ -277,7 +277,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_ptr_annotation : Intrinsic<[LLVMAnyPointerType<llvm_anyint_ty>, 
+                                LLVMMatchType<0>, 
+                                llvm_ptr_ty, llvm_ptr_ty, llvm_i32_ty], 
+                                [], "llvm.ptr.annotation">;
 def int_annotation : Intrinsic<[llvm_anyint_ty, LLVMMatchType<0>, llvm_ptr_ty,
                                 llvm_ptr_ty, llvm_i32_ty], 
                                 [], "llvm.annotation">;