libfirm
19 years agoDump the volatility of Load/Store ops
Michael Beck [Fri, 24 Sep 2004 10:57:59 +0000 (10:57 +0000)]
Dump the volatility of Load/Store ops

[r3927]

19 years agoBugFix for ALGSIM2
Michael Beck [Thu, 23 Sep 2004 11:00:56 +0000 (11:00 +0000)]
BugFix for ALGSIM2

[r3922]

19 years agoFixed again: Do not create Bad block, only remove bad CF
Michael Beck [Wed, 22 Sep 2004 12:43:17 +0000 (12:43 +0000)]
Fixed again: Do not create Bad block, only remove bad CF

[r3919]

19 years agoRemoved optimize_cf (now in it's own file), restored old place_early behavior
Michael Beck [Wed, 22 Sep 2004 12:42:54 +0000 (12:42 +0000)]
Removed optimize_cf (now in it's own file), restored old place_early behavior

[r3918]

19 years agoFixed pinned info
Michael Beck [Wed, 22 Sep 2004 12:13:34 +0000 (12:13 +0000)]
Fixed pinned info

[r3917]

19 years agocfopt.h added
Michael Beck [Wed, 22 Sep 2004 09:40:40 +0000 (09:40 +0000)]
cfopt.h added

[r3916]

19 years agoadded new optimize_cf
Michael Beck [Wed, 22 Sep 2004 09:38:37 +0000 (09:38 +0000)]
added new optimize_cf

[r3915]

19 years agoNew optimize_cf should remove more (hopefully all) Bad cf
Michael Beck [Wed, 22 Sep 2004 09:38:14 +0000 (09:38 +0000)]
New optimize_cf should remove more (hopefully all) Bad cf

[r3914]

19 years agobugfix for jva
Götz Lindenmaier [Tue, 21 Sep 2004 14:46:29 +0000 (14:46 +0000)]
bugfix for jva

[r3913]

19 years agoadd attribute compare for Load/Store
Michael Beck [Mon, 20 Sep 2004 13:08:08 +0000 (13:08 +0000)]
add attribute compare for Load/Store

[r3910]

19 years agoflag for strength reduction verbosity
Götz Lindenmaier [Mon, 20 Sep 2004 11:42:33 +0000 (11:42 +0000)]
flag for strength reduction verbosity

[r3909]

19 years agoflag for verbosity, compiler warnings
Götz Lindenmaier [Mon, 20 Sep 2004 11:41:55 +0000 (11:41 +0000)]
flag for verbosity, compiler warnings

[r3908]

19 years agobugfix for jack
Götz Lindenmaier [Mon, 20 Sep 2004 11:21:59 +0000 (11:21 +0000)]
bugfix for jack

[r3905]

19 years agoLoad/Store opt added
Michael Beck [Fri, 17 Sep 2004 17:12:24 +0000 (17:12 +0000)]
Load/Store opt added

[r3898]

19 years agoLoad/Store optimization added
Michael Beck [Fri, 17 Sep 2004 17:10:17 +0000 (17:10 +0000)]
Load/Store optimization added

[r3897]

19 years agoSimple Load/Store optimization
Michael Beck [Fri, 17 Sep 2004 17:09:41 +0000 (17:09 +0000)]
Simple Load/Store optimization

[r3896]

19 years agoadded flag for strength reduction
Beyhan [Fri, 17 Sep 2004 14:16:47 +0000 (14:16 +0000)]
added flag for strength reduction

[r3893]

19 years agoFirst strength reduction optimization. To be improved: Tests are not
Beyhan [Fri, 17 Sep 2004 14:12:48 +0000 (14:12 +0000)]
First strength reduction optimization. To be improved: Tests are not
optimized.

[r3891]

19 years agoChecks now the Load_mode
Michael Beck [Fri, 17 Sep 2004 12:51:11 +0000 (12:51 +0000)]
Checks now the Load_mode

[r3884]

19 years agoremoved all (wrong) Load/Store optimization, they are now in ir/opt/ldstopt.c
Michael Beck [Fri, 17 Sep 2004 12:50:49 +0000 (12:50 +0000)]
removed all (wrong) Load/Store optimization, they are now in ir/opt/ldstopt.c

[r3883]

19 years agoused new attributes for Load/Store/Exception
Michael Beck [Fri, 17 Sep 2004 12:49:56 +0000 (12:49 +0000)]
used new attributes for Load/Store/Exception

[r3882]

19 years agoadded new attributes: load_attr, store_attr, except_attr
Michael Beck [Fri, 17 Sep 2004 12:49:26 +0000 (12:49 +0000)]
added new attributes: load_attr, store_attr, except_attr

[r3881]

19 years agoadded _max enum values for all Proj numbers
Michael Beck [Fri, 17 Sep 2004 12:48:50 +0000 (12:48 +0000)]
added _max enum values for all Proj numbers
added definitions for new getter/setter (volatility, load_mode)

[r3880]

19 years agoBugFix: get_node_nr returns now the right number if debug is disabled
Michael Beck [Fri, 17 Sep 2004 12:47:26 +0000 (12:47 +0000)]
BugFix: get_node_nr returns now the right number if debug is disabled
added attribute getter for new load/store attributes
added Getter/Setter for volatility/load_mode attributes of Load/Store

[r3879]

19 years agoLoad and Store now have an volatility attribute
Michael Beck [Fri, 17 Sep 2004 12:45:35 +0000 (12:45 +0000)]
Load and Store now have an volatility attribute
Load has a load_mode attribute, allowing to fully define the semantics without having a data proj

[r3878]

19 years agoThe load mode is now shown in [] brackets
Michael Beck [Fri, 17 Sep 2004 12:44:36 +0000 (12:44 +0000)]
The load mode is now shown in [] brackets

[r3877]

19 years agoAdded flag to switch off entity verification in Load/Store nodes.
Michael Beck [Thu, 16 Sep 2004 16:46:34 +0000 (16:46 +0000)]
Added flag to switch off entity verification in Load/Store nodes.

[r3875]

19 years agoadded new output in irdump
Götz Lindenmaier [Thu, 16 Sep 2004 07:10:08 +0000 (07:10 +0000)]
added new output in irdump

[r3871]

19 years agolittle optimization
Michael Beck [Wed, 15 Sep 2004 09:11:43 +0000 (09:11 +0000)]
little optimization

[r3870]

19 years agoenable global cse for this example
Michael Beck [Wed, 15 Sep 2004 09:07:42 +0000 (09:07 +0000)]
enable global cse for this example

[r3869]

19 years agoadded code that could check for bads
Michael Beck [Wed, 15 Sep 2004 09:05:34 +0000 (09:05 +0000)]
added code that could check for bads

[r3868]

19 years agoMore doxygen comments
Michael Beck [Wed, 15 Sep 2004 09:03:53 +0000 (09:03 +0000)]
More doxygen comments

[r3867]

19 years agoShows the block for floating nodes
Michael Beck [Wed, 15 Sep 2004 09:02:01 +0000 (09:02 +0000)]
Shows the block for floating nodes

[r3866]

19 years agoDeactivated Load/Store Optimization again:
Michael Beck [Wed, 15 Sep 2004 08:46:06 +0000 (08:46 +0000)]
Deactivated Load/Store Optimization again:
- must compare the mode's
- must check for exceptions

[r3865]

19 years agotest more modes (Store, SymConst as addr)
Götz Lindenmaier [Tue, 14 Sep 2004 13:28:43 +0000 (13:28 +0000)]
test more modes (Store, SymConst as addr)

[r3863]

19 years agoAded Load after Load optimization (no define yet)
Michael Beck [Tue, 14 Sep 2004 13:00:28 +0000 (13:00 +0000)]
Aded Load after Load optimization (no define yet)
Optimize Proj(Load) & Proj(Store), as the proj may be visited BEFORE the Load/Store ...

[r3861]

19 years agobugfix: typeo
Götz Lindenmaier [Tue, 14 Sep 2004 11:26:41 +0000 (11:26 +0000)]
bugfix: typeo

[r3860]

19 years agoAdded reflection initialization
Sebastian Hack [Tue, 14 Sep 2004 09:07:24 +0000 (09:07 +0000)]
Added reflection initialization

[r3859]

19 years agoAdded basic reflaction functionality for firm operators
Sebastian Hack [Tue, 14 Sep 2004 09:06:03 +0000 (09:06 +0000)]
Added basic reflaction functionality for firm operators

[r3858]

19 years agocommented ...
Götz Lindenmaier [Fri, 10 Sep 2004 16:36:51 +0000 (16:36 +0000)]
commented ...

[r3856]

19 years agoadded needed includes
Michael Beck [Fri, 10 Sep 2004 14:42:54 +0000 (14:42 +0000)]
added needed includes

[r3855]

19 years agoMoved from irgopt.c
Michael Beck [Fri, 10 Sep 2004 14:26:11 +0000 (14:26 +0000)]
Moved from irgopt.c

[r3854]

19 years agoRemoved due to wrong name
Michael Beck [Fri, 10 Sep 2004 14:25:43 +0000 (14:25 +0000)]
Removed due to wrong name

[r3853]

19 years agoMoved from irgopt.[ch]
Michael Beck [Fri, 10 Sep 2004 14:23:10 +0000 (14:23 +0000)]
Moved from irgopt.[ch]

[r3852]

19 years agocomment,
Götz Lindenmaier [Fri, 10 Sep 2004 09:03:37 +0000 (09:03 +0000)]
comment,
example for delicate place code situation

[r3850]

19 years agoadded flag to guard load store optimizations
Götz Lindenmaier [Thu, 9 Sep 2004 08:15:39 +0000 (08:15 +0000)]
added flag to guard load store optimizations

[r3849]

19 years agonode numbers conserved in dead node elimination
Götz Lindenmaier [Wed, 8 Sep 2004 16:30:49 +0000 (16:30 +0000)]
node numbers conserved in dead node elimination

[r3846]

19 years agobugfix at keepalives
Götz Lindenmaier [Wed, 8 Sep 2004 16:30:13 +0000 (16:30 +0000)]
bugfix at keepalives

[r3845]

19 years agoUnknown and Bad are pinned now, speeding up code placement and fixing some asserts...
Michael Beck [Wed, 8 Sep 2004 16:14:59 +0000 (16:14 +0000)]
Unknown and Bad are pinned now, speeding up code placement and fixing some asserts() there

[r3844]

19 years agoAdded more checks for Phi nodes
Michael Beck [Wed, 8 Sep 2004 16:13:57 +0000 (16:13 +0000)]
Added more checks for Phi nodes

[r3843]

19 years agoBad and Unknown are pinned instructions yet, speeding up code placement
Michael Beck [Wed, 8 Sep 2004 16:13:21 +0000 (16:13 +0000)]
Bad and Unknown are pinned instructions yet, speeding up code placement

[r3842]

19 years agoRemove useless assert()
Michael Beck [Wed, 8 Sep 2004 16:12:38 +0000 (16:12 +0000)]
Remove useless assert()

[r3841]

19 years agoMake sure dead blocks will be reached by irg_block_walk()
Michael Beck [Wed, 8 Sep 2004 16:12:03 +0000 (16:12 +0000)]
Make sure dead blocks will be reached by irg_block_walk()

[r3840]

19 years ago- dead_node_elimination: copies now node numbers, make debugging much easier
Michael Beck [Wed, 8 Sep 2004 16:10:50 +0000 (16:10 +0000)]
- dead_node_elimination: copies now node numbers, make debugging much easier
- do not inline variadic functions for now
- handle dead blocks in place_code by inspecting it's dominator
  information; do not move code in dead blocks
- optimize_cf() improve merge_blocks(), so some bad cases finishes now

[r3839]

19 years agobugfix when dumping dominator info
Michael Beck [Wed, 8 Sep 2004 16:05:56 +0000 (16:05 +0000)]
bugfix when dumping dominator info
color blocks with Bad predecessor yellow, add info about bad predecessors

[r3838]

19 years agoblocks without dominators (i.e. dead blocks) return now Bad() as its dominator
Michael Beck [Wed, 8 Sep 2004 16:04:54 +0000 (16:04 +0000)]
blocks without dominators (i.e. dead blocks) return now Bad() as its dominator

[r3837]

19 years agobugfix: check for address entity needed
Michael Beck [Wed, 8 Sep 2004 16:03:23 +0000 (16:03 +0000)]
bugfix: check for address entity needed

[r3836]

19 years agocolor and name Start and End block in cfg graphs
Michael Beck [Wed, 8 Sep 2004 14:33:34 +0000 (14:33 +0000)]
color and name Start and End block in cfg graphs

[r3835]

19 years agougly fix for firmjni
Götz Lindenmaier [Wed, 8 Sep 2004 07:28:38 +0000 (07:28 +0000)]
ugly fix for firmjni

[r3834]

19 years agobetter organization of flags
Götz Lindenmaier [Tue, 7 Sep 2004 13:01:17 +0000 (13:01 +0000)]
better organization of flags

[r3833]

19 years agonew verbosity flags
Götz Lindenmaier [Tue, 7 Sep 2004 12:59:58 +0000 (12:59 +0000)]
new verbosity flags
bugfix for dumping loops

[r3832]

19 years agoAdded support for DAG's and distribution tables
Michael Beck [Mon, 6 Sep 2004 13:59:00 +0000 (13:59 +0000)]
Added support for DAG's and distribution tables

[r3830]

19 years agothere were results from some temporary test programs in the cvs
FIRM Projekt Account [Mon, 6 Sep 2004 10:37:47 +0000 (10:37 +0000)]
there were results from some temporary test programs in the cvs

[r3829]

19 years ago- Fixed block dumper semantics
Sebastian Hack [Fri, 3 Sep 2004 09:47:22 +0000 (09:47 +0000)]
- Fixed block dumper semantics
- Fixed handling of PREFIX/BLOCK_AS_IRN

[r3823]

19 years agochecked in the dumper, that requires this
Götz Lindenmaier [Fri, 3 Sep 2004 09:43:46 +0000 (09:43 +0000)]
checked in the dumper, that requires this

[r3822]

19 years agoaccess routines for memops,
Götz Lindenmaier [Fri, 3 Sep 2004 08:08:03 +0000 (08:08 +0000)]
access routines for memops,
fixed header for firmjni
dump analyses info

[r3820]

19 years agofixed test: new reference
Götz Lindenmaier [Thu, 2 Sep 2004 14:35:13 +0000 (14:35 +0000)]
fixed test: new reference

[r3819]

19 years agocomments
Götz Lindenmaier [Thu, 2 Sep 2004 14:18:49 +0000 (14:18 +0000)]
comments

[r3818]

19 years agocomments
Götz Lindenmaier [Thu, 2 Sep 2004 14:18:30 +0000 (14:18 +0000)]
comments
comments

[r3817]

19 years agomoved dumpers to irdumptxt.c
Götz Lindenmaier [Thu, 2 Sep 2004 14:18:09 +0000 (14:18 +0000)]
moved dumpers to irdumptxt.c

[r3816]

19 years agomore analyses for cache optimization
Götz Lindenmaier [Thu, 2 Sep 2004 14:15:05 +0000 (14:15 +0000)]
more analyses for cache optimization

[r3815]

19 years agoadded test for callee flag
Götz Lindenmaier [Thu, 2 Sep 2004 14:11:44 +0000 (14:11 +0000)]
added test for callee flag

[r3814]

19 years agoadded test dumper
Götz Lindenmaier [Thu, 2 Sep 2004 14:09:49 +0000 (14:09 +0000)]
added test dumper

[r3813]

19 years ago- fixed error with cse and programs containing endless loops:
Rubino Geiß [Thu, 2 Sep 2004 11:53:00 +0000 (11:53 +0000)]
- fixed error with cse and programs containing endless loops:
start block somtimes only reached after keep alives
- added assertion for in arrays of irnodes

[r3812]

19 years agoforget one change :-(
Michael Beck [Thu, 2 Sep 2004 11:29:41 +0000 (11:29 +0000)]
forget one change :-(

[r3811]

19 years agoadded options to statistic functions
Michael Beck [Thu, 2 Sep 2004 08:07:58 +0000 (08:07 +0000)]
added options to statistic functions
renamed internal function to avoid name clash with gcc 3.4.1

[r3808]

19 years agoadded options to statistic functions
Michael Beck [Thu, 2 Sep 2004 08:07:36 +0000 (08:07 +0000)]
added options to statistic functions

[r3807]

19 years agorenamed tarval function for new naming scheme
Michael Beck [Thu, 2 Sep 2004 08:06:47 +0000 (08:06 +0000)]
renamed tarval function for new naming scheme

[r3806]

19 years agorenames internal function to avoid name clash with gcc 3.4.1
Michael Beck [Thu, 2 Sep 2004 08:06:09 +0000 (08:06 +0000)]
renames internal function to avoid name clash with gcc 3.4.1

[r3805]

19 years agochanged information in entity nodes
Götz Lindenmaier [Tue, 31 Aug 2004 14:35:53 +0000 (14:35 +0000)]
changed information in entity nodes

[r3804]

19 years agomissing header
Götz Lindenmaier [Tue, 31 Aug 2004 14:31:45 +0000 (14:31 +0000)]
missing header

[r3803]

19 years agoremoved never finished code
Götz Lindenmaier [Tue, 31 Aug 2004 14:30:09 +0000 (14:30 +0000)]
removed never finished code

[r3802]

19 years agoadded dumper for callgraph
Götz Lindenmaier [Tue, 31 Aug 2004 14:29:19 +0000 (14:29 +0000)]
added dumper for callgraph

[r3801]

19 years agomissing test for extenal visibility added
Götz Lindenmaier [Tue, 31 Aug 2004 14:27:12 +0000 (14:27 +0000)]
missing test for extenal visibility added

[r3800]

19 years agoremoved old code
Götz Lindenmaier [Tue, 31 Aug 2004 14:22:41 +0000 (14:22 +0000)]
removed old code

[r3799]

19 years agomore state administration
Götz Lindenmaier [Tue, 31 Aug 2004 14:20:50 +0000 (14:20 +0000)]
more state administration

[r3798]

19 years agomore status flags
Götz Lindenmaier [Tue, 31 Aug 2004 14:19:09 +0000 (14:19 +0000)]
more status flags

[r3797]

19 years agoformatted, more verbose debug output,
Götz Lindenmaier [Tue, 31 Aug 2004 14:13:07 +0000 (14:13 +0000)]
formatted, more verbose debug output,
Unknown as default value for constant entities

[r3796]

19 years agomode loop analyses
Götz Lindenmaier [Tue, 31 Aug 2004 14:11:31 +0000 (14:11 +0000)]
mode loop analyses

[r3795]

19 years agoassert was too restrictive
Michael Beck [Tue, 31 Aug 2004 09:30:13 +0000 (09:30 +0000)]
assert was too restrictive

[r3793]

19 years ago*** empty log message ***
Michael Beck [Tue, 31 Aug 2004 09:25:09 +0000 (09:25 +0000)]
*** empty log message ***

[r3792]

19 years agoadded one node in const code irg==> new node numbers
Götz Lindenmaier [Sun, 29 Aug 2004 09:01:19 +0000 (09:01 +0000)]
added one node in const code irg==> new node numbers

[r3779]

19 years agoadded one node in const_code_irg ==> new node numbers
FIRM Projekt Account [Sun, 29 Aug 2004 09:00:36 +0000 (09:00 +0000)]
added one node in const_code_irg ==> new node numbers

[r3778]

19 years agoinitial_mem memory for const irg graph
Rubino Geiß [Fri, 27 Aug 2004 13:26:13 +0000 (13:26 +0000)]
initial_mem memory for const irg graph

[r3774]

19 years agoadded initial mem to const code irg: constant divisions and the like.
Götz Lindenmaier [Fri, 27 Aug 2004 11:47:00 +0000 (11:47 +0000)]
added initial mem to const code irg:  constant divisions and the like.
Warning:  this makes only sense if side effects modeled by the mem
are impossible.

[r3770]

19 years agobugfixes inlineing
Götz Lindenmaier [Tue, 24 Aug 2004 11:34:33 +0000 (11:34 +0000)]
bugfixes inlineing

[r3746]

19 years agothe inevitable inconsistencies removed
Götz Lindenmaier [Thu, 19 Aug 2004 17:03:27 +0000 (17:03 +0000)]
the inevitable inconsistencies removed

[r3740]

19 years agofixed some errors, pushed closer to inteded firm semantics
Götz Lindenmaier [Thu, 19 Aug 2004 16:51:02 +0000 (16:51 +0000)]
fixed some errors, pushed closer to inteded firm semantics

[r3739]

19 years agofixed complicated code, commented out one optimization that generates unwanted Bad...
Götz Lindenmaier [Thu, 19 Aug 2004 16:49:56 +0000 (16:49 +0000)]
fixed complicated code, commented out one optimization that generates unwanted Bad nodes.

[r3738]

19 years agoremoved C++ style comments
Rubino Geiß [Mon, 16 Aug 2004 11:24:38 +0000 (11:24 +0000)]
removed C++ style comments

[r3718]