[llvm-commits] CVS: llvm/docs/CommandGuide/llvm2cpp.pod

Reid Spencer reid at x10sys.com
Thu Jun 1 16:46:42 PDT 2006



Changes in directory llvm/docs/CommandGuide:

llvm2cpp.pod updated: 1.3 -> 1.4
---
Log message:

Document the -gen-inline option.


---
Diffs of the changes:  (+11 -0)

 llvm2cpp.pod |   11 +++++++++++
 1 files changed, 11 insertions(+)


Index: llvm/docs/CommandGuide/llvm2cpp.pod
diff -u llvm/docs/CommandGuide/llvm2cpp.pod:1.3 llvm/docs/CommandGuide/llvm2cpp.pod:1.4
--- llvm/docs/CommandGuide/llvm2cpp.pod:1.3	Wed May 31 12:32:21 2006
+++ llvm/docs/CommandGuide/llvm2cpp.pod	Thu Jun  1 18:46:30 2006
@@ -137,6 +137,17 @@
 which code should be generated. If the named function does not exist an error
 will be produced.
 
+=item B<-gen-inline>
+
+This option is very analagous to B<-gen-function> except that the generated
+function will not re-produce the target function's definition. Instead, the body
+of the target function is inserted into some other function passed as an
+argument to the generated function. Similarly any arguments to the function must
+be passed to the generated function. The result of the generated function is the
+first basic block of the target function.
+
+The B<-for> option works the same way as it does for B<-gen-function>.
+
 =item B<-gen-variable>
 
 Specify that the output should be a function that produces the definitions






More information about the llvm-commits mailing list