From 39cfba629f4205b1530667eaf62870a8cae3d426 Mon Sep 17 00:00:00 2001 From: Tanya Lattner Date: Fri, 21 Sep 2007 23:56:27 +0000 Subject: [PATCH] Update annotation intrinsic with more details. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42214 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/LangRef.html | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/docs/LangRef.html b/docs/LangRef.html index 05f4e66f882..66c5f13de0c 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -208,7 +208,7 @@
  • General intrinsics
    1. - llvm.var.annotation' Intrinsic
    2. + llvm.var.annotation.*' Intrinsic
    1. @@ -5275,13 +5275,22 @@ This can be useful for special purpose optimizations that want to look for these
      Syntax:
      +

      This is an overloaded intrinsic. You can use 'llvm.annotation' on +any integer bit width. +

         declare i32 @llvm.annotation(i32 <val>, i8* <str>, i8* <str>, i32  <int> )
      +  declare i8 llvm.annotation(i8 <val>, i8* <str>, i8* <str>, i32  <int> )
      +  declare i16 llvm.annotation(i16 <val>, i8* <str>, i8* <str>, i32  <int> )
      +  declare i32 @llvm.annotation(i32 <val>, i8* <str>, i8* <str>, i32  <int> )
      +  declare i64 @llvm.annotation(i64 <val>, i8* <str>, i8* <str>, i32  <int> )
      +  declare i256 @llvm.annotation(i256 <val>, i8* <str>, i8* <str>, i32  <int> )
       
      Overview:
      -

      This is an overloaded intrinsic. You can use 'llvm.annotation' on -any integer bit width. Not all targets support all bit widths however. + +

      +The 'llvm.annotation' intrinsic.

      Arguments:
      @@ -5290,6 +5299,7 @@ any integer bit width. Not all targets support all bit widths however. The first argument is an integer value (result of some expression), the second is a pointer to a global string, the third is a pointer to a global string which is the source file name, and the last argument is the line number. +It returns the value of the first argument.

      Semantics: