diff --git a/docs/LangRef.html b/docs/LangRef.html index 1b3f4f4afe9..05f4e66f882 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -210,6 +210,10 @@
+ declare i32 @llvm.annotation(i32 <val>, i8* <str>, i8* <str>, i32 <int> ) ++ +
This is an overloaded intrinsic. You can use 'llvm.annotation' on +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. +
+ ++This intrinsic allows annotations to be put on arbitrary expressions +with arbitrary strings. This can be useful for special purpose optimizations +that want to look for these annotations. These have no other defined use, they +are ignored by code generation and optimization. +