diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2006-06-01 23:46:30 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2006-06-01 23:46:30 +0000 |
commit | e53b4ca08928e66bed920d0130e52a6e84e22e1a (patch) | |
tree | 87baa17ee78b4a6a325d9032f69c562a3700efed /llvm/docs | |
parent | b83051a28f0d726f65e97fe331bbd2e91fe00432 (diff) | |
download | bcm5719-llvm-e53b4ca08928e66bed920d0130e52a6e84e22e1a.tar.gz bcm5719-llvm-e53b4ca08928e66bed920d0130e52a6e84e22e1a.zip |
Document the -gen-inline option.
llvm-svn: 28646
Diffstat (limited to 'llvm/docs')
-rw-r--r-- | llvm/docs/CommandGuide/llvm2cpp.pod | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/llvm/docs/CommandGuide/llvm2cpp.pod b/llvm/docs/CommandGuide/llvm2cpp.pod index 9d8059da404..ecdf7983607 100644 --- a/llvm/docs/CommandGuide/llvm2cpp.pod +++ b/llvm/docs/CommandGuide/llvm2cpp.pod @@ -137,6 +137,17 @@ The value of the option must be the name of a function in the input module for 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 |