summaryrefslogtreecommitdiffstats
path: root/llvm/docs/CommandGuide
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-06-02 19:12:38 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-06-02 19:12:38 +0000
commit9e8f8628c3d63d47cc8d41cc107d65b8d65ffbc2 (patch)
treedb54dfbbedb7f06d8f93851f6d79f13d0468bf08 /llvm/docs/CommandGuide
parente6cad6c5aee94c64ee0d63ec6833467ec1fdb6e3 (diff)
downloadbcm5719-llvm-9e8f8628c3d63d47cc8d41cc107d65b8d65ffbc2.tar.gz
bcm5719-llvm-9e8f8628c3d63d47cc8d41cc107d65b8d65ffbc2.zip
Look, it's a gccas pod.
llvm-svn: 13960
Diffstat (limited to 'llvm/docs/CommandGuide')
-rw-r--r--llvm/docs/CommandGuide/gccas.pod83
1 files changed, 83 insertions, 0 deletions
diff --git a/llvm/docs/CommandGuide/gccas.pod b/llvm/docs/CommandGuide/gccas.pod
new file mode 100644
index 00000000000..edfa8ee7306
--- /dev/null
+++ b/llvm/docs/CommandGuide/gccas.pod
@@ -0,0 +1,83 @@
+
+=pod
+
+=head1 NAME
+
+gccas - optimizing LLVM assembler
+
+=head1 SYNOPSIS
+
+gccas [options] filename
+
+=head1 DESCRIPTION
+
+The B<gccas> utility takes an LLVM assembly file generated by the
+L<llvm-gcc|llvm-gcc> or L<llvm-g++|llvm-g++> front-ends and converts
+it into an LLVM bytecode file. It is primarily used by the GCC
+front end, and as such, attempts to mimic the interface provided
+by the default system assembler so that it can act as a "drop-in"
+replacement.
+
+B<gccas> performs a number of optimizations on the input program,
+including but not limited to: promotion of stack values to SSA
+registers; elimination of dead globals, function arguments, code,
+and types; tail-call elimination; loop-invariant code motion; global
+common-subexpression elimination; and sparse conditional constant
+propagation.
+
+=head1 OPTIONS
+
+=over
+
+=item B<--help>
+
+Print a summary of command line options.
+
+=item B<-o> F<filename>
+
+Specify the name of the output file which will hold the assembled bytecode.
+
+=item B<--disable-inlining>
+
+Disable the inlining pass. By default, it is enabled.
+
+=item B<--disable-opt>
+
+Disable all assembler-time optimization passes.
+
+=item B<--enable-correct-eh-support>
+
+Instruct the B<-lowerinvoke> pass to insert code for correct exception handling
+support. This is expensive and is by default omitted for efficiency.
+
+=item B<--stats>
+
+Print statistics.
+
+=item B<--time-passes>
+
+Record the amount of time needed for each pass and print it to standard
+error.
+
+=item B<--verify>
+
+Verify each pass result.
+
+=back
+
+=head1 EXIT STATUS
+
+If B<gccas> succeeds, it will exit with an exit status of 0.
+Otherwise, if an error occurs, it will exit with a non-zero exit
+status.
+
+=head1 SEE ALSO
+
+L<llvm-as>, L<gccld>
+
+=head1 AUTHORS
+
+Maintained by the LLVM Team (L<http://llvm.cs.uiuc.edu>).
+
+=cut
+
OpenPOWER on IntegriCloud