diff options
author | Razya Ladelsky <razya@il.ibm.com> | 2007-12-03 11:16:36 +0000 |
---|---|---|
committer | Razya Ladelsky <razya@gcc.gnu.org> | 2007-12-03 11:16:36 +0000 |
commit | aa1a4968d3c6b9889cd601cad404e97a7ad2b38a (patch) | |
tree | 1feccbb30cb6200e2f3922aa4e5720f8f273f6e7 | |
parent | e90338556a009ae59ec9d262cb127303f13843e7 (diff) | |
download | gcc-aa1a4968d3c6b9889cd601cad404e97a7ad2b38a.zip gcc-aa1a4968d3c6b9889cd601cad404e97a7ad2b38a.tar.gz gcc-aa1a4968d3c6b9889cd601cad404e97a7ad2b38a.tar.bz2 |
invoke.texi (fipa-cp, [...]): Add documentation.
2007-12-03 Razya Ladelsky <razya@il.ibm.com>
* doc/invoke.texi (fipa-cp, fipa-matrix-reorg): Add documentation.
From-SVN: r130580
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/doc/invoke.texi | 26 |
2 files changed, 30 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 67428d3..102f980 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2007-12-03 Razya Ladelsky <razya@il.ibm.com> + + * doc/invoke.texi (fipa-cp, fipa-matrix-reorg): Add documentation. + + 2007-12-03 Jakub Jelinek <jakub@redhat.com> PR middle-end/34317 diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 9fe5fde..c8a97f4 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -328,7 +328,8 @@ Objective-C and Objective-C++ Dialects}. -ffunction-sections -fgcse -fgcse-after-reload -fgcse-las -fgcse-lm @gol -fgcse-sm -fif-conversion -fif-conversion2 -finline-functions @gol -finline-functions-called-once -finline-limit=@var{n} @gol --finline-small-functions -fipa-pta -fipa-pure-const -fipa-reference @gol +-finline-small-functions -fipa-cp -fipa-marix-reorg -fipa-pta @gol +-fipa-pure-const -fipa-reference @gol -fipa-type-escape -fivopts -fkeep-inline-functions -fkeep-static-consts @gol -fmerge-all-constants -fmerge-constants -fmodulo-sched @gol -fmodulo-sched-allow-regmoves -fmove-loop-invariants -fmudflap @gol @@ -5715,6 +5716,29 @@ Enabled by default at @option{-O} and higher. @opindex fipa-pta Perform interprocedural pointer analysis. +@item -fipa-cp +@opindex fipa-cp +Perform interprocedural constant propagation. +This optimization analyzes the program to determine when values passed +to functions are constants and then optimizes accordingly. +This optimization can substantially increase performance +if the application has constants passed to functions, but +because this optimization can create multiple copies of functions, +it may significantly increase code size. + +@item -fipa-matrix-reorg +@opindex fipa-matrix-reorg +Perform matrix flattening and transposing. +Matrix flattening tries to replace a m-dimensional matrix +with its equivalent n-dimensional matrix, where n < m. +This reduces the level of indirection needed for accessing the elements +of the matrix. The second optimization is matrix transposing that +attemps to change the order of the matrix's dimensions in order to +improve cache locality. +Both optimizations need fwhole-program flag. +Transposing is enabled only if profiling information is avaliable. + + @item -ftree-sink @opindex ftree-sink Perform forward store motion on trees. This flag is |