libfirm
19 years agofix for cgana/callee_arr and inlineing
Götz Lindenmaier [Fri, 19 Nov 2004 16:34:23 +0000 (16:34 +0000)]
fix for cgana/callee_arr and inlineing

[r4450]

19 years agochanged output
Götz Lindenmaier [Fri, 19 Nov 2004 12:24:31 +0000 (12:24 +0000)]
changed output

[r4448]

19 years agoremoved another pointer
Götz Lindenmaier [Fri, 19 Nov 2004 12:24:05 +0000 (12:24 +0000)]
removed another pointer

[r4447]

19 years agoremoved bugus ;
Michael Beck [Fri, 19 Nov 2004 12:04:10 +0000 (12:04 +0000)]
removed bugus ;

[r4446]

19 years agoadded new irr loop
Götz Lindenmaier [Fri, 19 Nov 2004 11:52:22 +0000 (11:52 +0000)]
added new irr loop
removed verbose output

[r4445]

19 years agoadded a new, more complicated irr loop
Götz Lindenmaier [Fri, 19 Nov 2004 11:52:00 +0000 (11:52 +0000)]
added a new, more complicated irr loop
str_red without verbose output

[r4444]

19 years agoalso test for NoMem
Florian Liekweg [Fri, 19 Nov 2004 10:35:20 +0000 (10:35 +0000)]
also test for NoMem

[r4442]

19 years agofixed some depencies between irdump.c and irdumptxt.c
Michael Beck [Thu, 18 Nov 2004 17:47:53 +0000 (17:47 +0000)]
fixed some depencies between irdump.c and irdumptxt.c

[r4436]

19 years agocleaned up
Michael Beck [Thu, 18 Nov 2004 17:15:50 +0000 (17:15 +0000)]
cleaned up
added comments
added hook to intercept node attribute output

[r4435]

19 years agoAdded hook function to intercept node attributes output
Michael Beck [Thu, 18 Nov 2004 17:14:02 +0000 (17:14 +0000)]
Added hook function to intercept node attributes output

[r4434]

19 years agoAdded doxygen comment
Michael Beck [Thu, 18 Nov 2004 17:12:58 +0000 (17:12 +0000)]
Added doxygen comment

[r4433]

19 years agoAdded status to the dumper struct
Michael Beck [Thu, 18 Nov 2004 17:11:38 +0000 (17:11 +0000)]
Added status to the dumper struct

[r4432]

19 years agoAllow to restrict the construction of Mulh nodes by the bit size.
Michael Beck [Thu, 18 Nov 2004 17:10:59 +0000 (17:10 +0000)]
Allow to restrict the construction of Mulh nodes by the bit size.
Needed to avoid Mulh dor L(s|u) modes

[r4431]

19 years agorewrite
Florian Liekweg [Thu, 18 Nov 2004 16:39:46 +0000 (16:39 +0000)]
rewrite

[r4430]

19 years agorewritten
Florian Liekweg [Thu, 18 Nov 2004 16:37:34 +0000 (16:37 +0000)]
rewritten

[r4429]

19 years agoAdded unique ids for debugging, added access functions
Florian Liekweg [Thu, 18 Nov 2004 16:36:37 +0000 (16:36 +0000)]
Added unique ids for debugging, added access functions

[r4428]

19 years agoAdded unique ids for debugging
Florian Liekweg [Thu, 18 Nov 2004 16:35:46 +0000 (16:35 +0000)]
Added unique ids for debugging

[r4427]

19 years agoDo not touch Proj nodes at all
Florian Liekweg [Thu, 18 Nov 2004 16:35:11 +0000 (16:35 +0000)]
Do not touch Proj nodes at all

[r4426]

19 years agoRemoved indeterministic output from vcg graphs
FIRM Projekt Account [Thu, 18 Nov 2004 09:02:13 +0000 (09:02 +0000)]
Removed indeterministic output from vcg graphs

[r4421]

19 years agomoved the status dumper to stat_dmp
Michael Beck [Wed, 17 Nov 2004 17:34:57 +0000 (17:34 +0000)]
moved the status dumper to stat_dmp

[r4418]

19 years agosimplify a bit :-)
Michael Beck [Wed, 17 Nov 2004 09:54:00 +0000 (09:54 +0000)]
simplify a bit :-)

[r4412]

19 years agoremoved debug output
Götz Lindenmaier [Tue, 16 Nov 2004 17:18:08 +0000 (17:18 +0000)]
removed debug output

[r4411]

19 years agoFixed place_code
Michael Beck [Tue, 16 Nov 2004 16:56:16 +0000 (16:56 +0000)]
Fixed place_code

[r4410]

19 years agostart of new project
Beyhan [Tue, 16 Nov 2004 12:29:31 +0000 (12:29 +0000)]
start of new project

[r4408]

19 years agoimproved strength reduction
Beyhan [Tue, 16 Nov 2004 12:28:53 +0000 (12:28 +0000)]
improved strength reduction

[r4407]

19 years agoextended example
Beyhan [Tue, 16 Nov 2004 12:27:28 +0000 (12:27 +0000)]
extended example

[r4406]

19 years agofixed bugs in remove_bad_predecessors.
Götz Lindenmaier [Tue, 16 Nov 2004 10:17:25 +0000 (10:17 +0000)]
fixed bugs in remove_bad_predecessors.
Now conserves loop information

[r4404]

19 years agoadded makro to shrink an array by resetting the length
Götz Lindenmaier [Tue, 16 Nov 2004 10:16:27 +0000 (10:16 +0000)]
added makro to shrink an array by resetting the length

[r4403]

19 years agowe need more and more libs at linking ...
Götz Lindenmaier [Mon, 15 Nov 2004 12:38:19 +0000 (12:38 +0000)]
we need more and more libs at linking ...
changed node numbers (unknown_entity)

[r4401]

19 years agoadded output of load library xml2
Götz Lindenmaier [Mon, 15 Nov 2004 12:37:40 +0000 (12:37 +0000)]
added output of load library xml2

[r4400]

19 years agonew analyses for cache optimization
Götz Lindenmaier [Fri, 12 Nov 2004 15:25:49 +0000 (15:25 +0000)]
new analyses for cache optimization

[r4399]

19 years agobugfix, removed dead code
Götz Lindenmaier [Fri, 12 Nov 2004 15:24:31 +0000 (15:24 +0000)]
bugfix, removed dead code

[r4398]

19 years agofirmjni fix
Götz Lindenmaier [Fri, 12 Nov 2004 09:04:36 +0000 (09:04 +0000)]
firmjni fix

[r4385]

19 years ago*** empty log message ***
Boris Boesler [Thu, 11 Nov 2004 13:29:33 +0000 (13:29 +0000)]
*** empty log message ***

[r4382]

19 years agomade pseudo irg aware
Götz Lindenmaier [Thu, 11 Nov 2004 13:28:08 +0000 (13:28 +0000)]
made pseudo irg aware

[r4381]

19 years agoNeed external
Michael Beck [Thu, 11 Nov 2004 12:53:26 +0000 (12:53 +0000)]
Need external

[r4380]

19 years agoadded new node -> new numbers.
Götz Lindenmaier [Thu, 11 Nov 2004 12:48:42 +0000 (12:48 +0000)]
added new node -> new numbers.
irdump more verbose

[r4379]

19 years agopseudo irgs
Götz Lindenmaier [Thu, 11 Nov 2004 12:27:43 +0000 (12:27 +0000)]
pseudo irgs

[r4377]

19 years agoremoved allirg calls
Götz Lindenmaier [Thu, 11 Nov 2004 12:25:52 +0000 (12:25 +0000)]
removed allirg calls

[r4376]

19 years agofixes of pseudo irgs
Götz Lindenmaier [Thu, 11 Nov 2004 12:25:18 +0000 (12:25 +0000)]
fixes of pseudo irgs

[r4375]

19 years agofixes
Götz Lindenmaier [Thu, 11 Nov 2004 12:24:52 +0000 (12:24 +0000)]
fixes

[r4374]

19 years agotreatment of pseudo irgs
Götz Lindenmaier [Thu, 11 Nov 2004 09:36:29 +0000 (09:36 +0000)]
treatment of pseudo irgs

[r4371]

19 years agoadapted to new Call_callee semantics
Götz Lindenmaier [Thu, 11 Nov 2004 09:35:54 +0000 (09:35 +0000)]
adapted to new Call_callee semantics

[r4370]

19 years agochange semantics of cgana: collect also external entities into Call_callee,
Götz Lindenmaier [Thu, 11 Nov 2004 09:31:49 +0000 (09:31 +0000)]
change semantics of cgana: collect also external entities into Call_callee,
unknown_entity only if further entities are called.

[r4369]

19 years agoadded path to external
Götz Lindenmaier [Thu, 11 Nov 2004 09:29:57 +0000 (09:29 +0000)]
added path to external

[r4368]

19 years agotreat pseudo irgs special
Götz Lindenmaier [Thu, 11 Nov 2004 09:28:32 +0000 (09:28 +0000)]
treat pseudo irgs special
parse 'local' from xml files

[r4367]

19 years agoadded constant value to unknown_entity
Götz Lindenmaier [Thu, 11 Nov 2004 09:26:50 +0000 (09:26 +0000)]
added constant value to unknown_entity

[r4366]

19 years agoBugFix: a == a is not always True for floating point, it is false if one of them...
Michael Beck [Wed, 10 Nov 2004 17:11:38 +0000 (17:11 +0000)]
BugFix: a == a is not always True for floating point, it is false if one of them are a NaN ...

[r4363]

19 years agoAdded counter for calls
Michael Beck [Wed, 10 Nov 2004 14:45:29 +0000 (14:45 +0000)]
Added counter for calls

[r4354]

19 years agoindentation fixed
Michael Beck [Wed, 10 Nov 2004 14:44:43 +0000 (14:44 +0000)]
indentation fixed
more doxygen comments

[r4353]

19 years agotypo fixed
Michael Beck [Wed, 10 Nov 2004 14:43:37 +0000 (14:43 +0000)]
typo fixed

[r4352]

19 years agoMore doxygen comments, typos fixed, clear some code
Michael Beck [Wed, 10 Nov 2004 14:43:13 +0000 (14:43 +0000)]
More doxygen comments, typos fixed, clear some code

[r4351]

19 years agobe more helpful if a method does not exist
Boris Boesler [Wed, 10 Nov 2004 14:42:00 +0000 (14:42 +0000)]
be more helpful if a method does not exist

[r4350]

19 years agoAdded macro for hashing addresses
Michael Beck [Wed, 10 Nov 2004 14:41:59 +0000 (14:41 +0000)]
Added macro for hashing addresses
more doxygen comments

[r4349]

19 years agoAdded NoMem node that represents a Memory that is Not used
Michael Beck [Wed, 10 Nov 2004 14:40:52 +0000 (14:40 +0000)]
Added NoMem node that represents a Memory that is Not used
Allows calls to be "unpinned"
Removed FuncCall(), can be emulated by Call(NoMem, ...)

[r4348]

19 years agoSome doxygen comments added
Michael Beck [Wed, 10 Nov 2004 14:38:28 +0000 (14:38 +0000)]
Some doxygen comments added

[r4347]

19 years agoCall_callees now with unknown_entity
Götz Lindenmaier [Wed, 10 Nov 2004 08:43:49 +0000 (08:43 +0000)]
Call_callees now with unknown_entity
ir_ir_loop()

[r4343]

19 years agoadded init_entity
Götz Lindenmaier [Wed, 10 Nov 2004 08:42:27 +0000 (08:42 +0000)]
added init_entity

[r4342]

19 years agoCall_calleesl now with unknown entity instead of NULL.
Götz Lindenmaier [Wed, 10 Nov 2004 08:42:04 +0000 (08:42 +0000)]
Call_calleesl now with unknown entity instead of NULL.

[r4341]

19 years agoinproved, commented
Götz Lindenmaier [Tue, 9 Nov 2004 18:23:00 +0000 (18:23 +0000)]
inproved, commented

[r4340]

19 years agocomments, removed unused fields
Götz Lindenmaier [Tue, 9 Nov 2004 17:35:38 +0000 (17:35 +0000)]
comments, removed unused fields
added unknown entity

[r4338]

19 years agoclarify comment
Florian Liekweg [Tue, 9 Nov 2004 16:48:40 +0000 (16:48 +0000)]
clarify comment

[r4336]

19 years agoadded comment
Florian Liekweg [Tue, 9 Nov 2004 16:47:46 +0000 (16:47 +0000)]
added comment

[r4335]

19 years agofix SymConst handling
Florian Liekweg [Tue, 9 Nov 2004 16:47:09 +0000 (16:47 +0000)]
fix SymConst handling

[r4334]

19 years agonew DBGEXE macro
Florian Liekweg [Tue, 9 Nov 2004 16:46:01 +0000 (16:46 +0000)]
new DBGEXE macro

[r4333]

19 years agoprint pointers
Florian Liekweg [Tue, 9 Nov 2004 16:45:36 +0000 (16:45 +0000)]
print pointers

[r4332]

19 years agoAdd a lot of const
Michael Beck [Tue, 9 Nov 2004 12:18:50 +0000 (12:18 +0000)]
Add a lot of const

[r4320]

19 years agoRename ALGSIM0 into CSTEVAL
Michael Beck [Mon, 8 Nov 2004 17:00:04 +0000 (17:00 +0000)]
Rename ALGSIM0 into CSTEVAL

[r4317]

19 years agoused macros from iropt_dbg.h
Michael Beck [Mon, 8 Nov 2004 15:29:36 +0000 (15:29 +0000)]
used macros from iropt_dbg.h
added statistics

fixed indentation

[r4315]

19 years agoAdded STAT_OPT_RC and STAT_OPT_POLY_CALL
Michael Beck [Mon, 8 Nov 2004 15:28:18 +0000 (15:28 +0000)]
Added STAT_OPT_RC and STAT_OPT_POLY_CALL

[r4314]

19 years agoAdded dbg_read_a_const
Michael Beck [Mon, 8 Nov 2004 15:27:40 +0000 (15:27 +0000)]
Added dbg_read_a_const

[r4313]

19 years agoAdded polymorphic calls, renamed ALGSIM0 into CSTEVAL
Michael Beck [Mon, 8 Nov 2004 15:27:05 +0000 (15:27 +0000)]
Added polymorphic calls, renamed ALGSIM0 into CSTEVAL

[r4312]

19 years agoAdded statistic code
Michael Beck [Mon, 8 Nov 2004 14:08:28 +0000 (14:08 +0000)]
Added statistic code
added commutative Rules for And, Or, Eor

[r4310]

19 years agoAdded statistic code for reassociation
Michael Beck [Mon, 8 Nov 2004 14:07:50 +0000 (14:07 +0000)]
Added statistic code for reassociation

[r4309]

19 years agoinitialisation; sanitize print levels, misc fixes
Florian Liekweg [Mon, 8 Nov 2004 12:33:06 +0000 (12:33 +0000)]
initialisation; sanitize print levels, misc fixes

[r4302]

19 years agoMoved q_* methods into private section
Florian Liekweg [Mon, 8 Nov 2004 12:32:00 +0000 (12:32 +0000)]
Moved q_* methods into private section

[r4301]

19 years agoAdded x XOR x = 0 case
Michael Beck [Mon, 8 Nov 2004 08:49:22 +0000 (08:49 +0000)]
Added x XOR x = 0 case
reorder O function

[r4296]

19 years agoMake some more inline functions
Michael Beck [Mon, 8 Nov 2004 08:47:59 +0000 (08:47 +0000)]
Make some more inline functions
make some parameters const

[r4295]

19 years agoAdded some more doxygen docu.
Michael Beck [Mon, 8 Nov 2004 08:47:31 +0000 (08:47 +0000)]
Added some more doxygen docu.
Make some parameters const

[r4294]

19 years agoMake more inline functions
Michael Beck [Mon, 8 Nov 2004 08:46:45 +0000 (08:46 +0000)]
Make more inline functions

[r4293]

19 years agoremoved debug assertion
FIRM Projekt Account [Mon, 8 Nov 2004 08:42:06 +0000 (08:42 +0000)]
removed debug assertion

[r4292]

19 years agowhitespace
Florian Liekweg [Fri, 5 Nov 2004 14:05:57 +0000 (14:05 +0000)]
whitespace

[r4289]

19 years agocopied comment to where it might be useful
Florian Liekweg [Fri, 5 Nov 2004 14:05:19 +0000 (14:05 +0000)]
copied comment to where it might be useful

[r4288]

19 years agoadded raise
Florian Liekweg [Fri, 5 Nov 2004 14:00:53 +0000 (14:00 +0000)]
added raise

[r4285]

19 years agobugfix. type may be null.
Götz Lindenmaier [Fri, 5 Nov 2004 12:00:29 +0000 (12:00 +0000)]
bugfix. type may be null.

[r4282]

19 years agoImproved hashing of nodes:
Michael Beck [Fri, 5 Nov 2004 09:37:48 +0000 (09:37 +0000)]
Improved hashing of nodes:

Use the intra functions to speed up calculation.
Strip all addresses
For CF nodes, hash their blocks. This especially improves Jmp nodes.

The bad news is that after CF optimization the old CF ops cannot be found and
will remain until dead node elimination.

[r4281]

19 years agoFixed address count calculation. Every Load was visited twice, so the count
Michael Beck [Fri, 5 Nov 2004 09:23:40 +0000 (09:23 +0000)]
Fixed address count calculation. Every Load was visited twice, so the count
was wrong.

[r4280]

19 years agointer_arity bugfix
FIRM Projekt Account [Fri, 5 Nov 2004 09:09:41 +0000 (09:09 +0000)]
inter_arity bugfix

[r4279]

19 years agoadded initialisation
Florian Liekweg [Thu, 4 Nov 2004 14:58:59 +0000 (14:58 +0000)]
added initialisation

[r4278]

19 years agoexpanded pto, added initialisation, added debugging printing
Florian Liekweg [Thu, 4 Nov 2004 14:58:38 +0000 (14:58 +0000)]
expanded pto, added initialisation, added debugging printing

[r4277]

19 years agofixed end block handling
Florian Liekweg [Thu, 4 Nov 2004 14:57:12 +0000 (14:57 +0000)]
fixed end block handling

[r4276]

19 years agoadded qset
Florian Liekweg [Thu, 4 Nov 2004 14:55:13 +0000 (14:55 +0000)]
added qset

[r4275]

19 years agoNicer Colors
Florian Liekweg [Thu, 4 Nov 2004 14:54:44 +0000 (14:54 +0000)]
Nicer Colors

[r4274]

19 years agoUsing the interface function now
Michael Beck [Thu, 4 Nov 2004 09:31:35 +0000 (09:31 +0000)]
Using the interface function now

[r4270]

19 years agocalculate the number of uses of every address, this allows an early exit
Michael Beck [Wed, 3 Nov 2004 14:50:04 +0000 (14:50 +0000)]
calculate the number of uses of every address, this allows an early exit
when searching for RAR and WAW

[r4269]

19 years agoreplaced all recursive computed_value calls ba value_of()
Michael Beck [Wed, 3 Nov 2004 14:48:49 +0000 (14:48 +0000)]
replaced all recursive computed_value calls ba value_of()
tarval_bad cannot asked for get_tarval_null :-(

[r4268]

19 years agoremoved gloval intraprocedural_view variable and replaced by get_*() set_*() functions
Michael Beck [Wed, 3 Nov 2004 14:47:39 +0000 (14:47 +0000)]
removed gloval intraprocedural_view variable and replaced by get_*() set_*() functions

[r4267]

19 years agoremoved gloval intraprocedural_view variable and replaced by get_*() set_*() functions
Michael Beck [Wed, 3 Nov 2004 14:47:32 +0000 (14:47 +0000)]
removed gloval intraprocedural_view variable and replaced by get_*() set_*() functions
added reassociation

[r4266]

19 years agoFixed some border cases:
Michael Beck [Wed, 3 Nov 2004 14:31:01 +0000 (14:31 +0000)]
Fixed some border cases:
 - do not access Bad nodes, these will be killed later
 - beware of self loopes, happen in dead code
 - Address calculation may have Iu + (P + Is) resulting in Iu + Is,
 - handle this case gracefully

[r4265]

19 years agoAdded needed include of trouts.h
Michael Beck [Wed, 3 Nov 2004 13:59:35 +0000 (13:59 +0000)]
Added needed include of trouts.h

[r4264]