5 gccas - optimizing LLVM assembler
9 B<gccas> [I<options>] I<filename>
13 The B<gccas> utility takes an LLVM assembly file generated by the
14 L<llvmgcc|llvmgcc> or L<llvmg++|llvmgxx> front-ends and converts
15 it into an LLVM bytecode file. It is primarily used by the GCC
16 front end, and as such, attempts to mimic the interface provided
17 by the default system assembler so that it can act as a "drop-in"
20 B<gccas> performs a number of optimizations on the input program,
21 including but not limited to: promotion of stack values to SSA
22 registers; elimination of dead globals, function arguments, code,
23 and types; tail-call elimination; loop-invariant code motion; global
24 common-subexpression elimination; and sparse conditional constant
33 Print a summary of command line options.
35 =item B<-o> F<filename>
37 Specify the name of the output file which will hold the assembled bytecode.
39 =item B<--disable-inlining>
41 Disable the inlining pass. By default, it is enabled.
43 =item B<--disable-opt>
45 Disable all assembler-time optimization passes.
51 =item B<--time-passes>
53 Record the amount of time needed for each pass and print it to standard
58 Verify each pass result.
64 If B<gccas> succeeds, it will exit with an exit status of 0.
65 Otherwise, if an error occurs, it will exit with a non-zero exit
70 L<llvm-as|llvm-as>, L<gccld|gccld>
74 Maintained by the LLVM Team (L<http://llvm.org>).