From f6cc4c2d60b9d5e91df53d3e77511d72811505fe Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Wed, 30 Nov 2011 21:43:43 +0000 Subject: Minor cleanup. No content change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145521 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/LangRef.html | 30 +++++++++++++++++++++++------- 1 file changed, 23 insertions(+), 7 deletions(-) (limited to 'docs') diff --git a/docs/LangRef.html b/docs/LangRef.html index b133a532f1..960f6739c9 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -2889,20 +2889,33 @@ call void asm sideeffect "something bad", ""(), !srcloc !42 preceding exclamation point ('!').

A metadata string is a string surrounded by double quotes. It can contain - any character by escaping non-printable characters with "\xx" where "xx" is - the two digit hex code. For example: "!"test\00"".

+ any character by escaping non-printable characters with "\xx" where + "xx" is the two digit hex code. For example: + "!"test\00"".

Metadata nodes are represented with notation similar to structure constants (a comma separated list of elements, surrounded by braces and preceded by an - exclamation point). For example: "!{ metadata !"test\00", i32 - 10}". Metadata nodes can have any values as their operand.

+ exclamation point). Metadata nodes can have any values as their operand. For + example:

+ +
+
+!{ metadata !"test\00", i32 10}
+
+

A named metadata is a collection of metadata nodes, which can be looked up in the module symbol table. For - example: "!foo = metadata !{!4, !3}". + example:

+ +
+
+!foo =  metadata !{!4, !3}
+
+

Metadata can be used as function arguments. Here llvm.dbg.value - function is using two metadata arguments.

+ function is using two metadata arguments:

@@ -2911,7 +2924,8 @@ call void @llvm.dbg.value(metadata !24, i64 0, metadata !25)
 

Metadata can be attached with an instruction. Here metadata !21 is - attached with add instruction using !dbg identifier.

+ attached to the add instruction using the !dbg + identifier:

@@ -2922,6 +2936,7 @@ call void @llvm.dbg.value(metadata !24, i64 0, metadata !25)
 

More information about specific metadata nodes recognized by the optimizers and code generator is found below.

+

'tbaa' Metadata

@@ -2966,6 +2981,7 @@ call void @llvm.dbg.value(metadata !24, i64 0, metadata !25)
+

'fpaccuracy' Metadata

-- cgit v1.2.3