libfirm
18 years agoAdapted to changes in irphase
Sebastian Hack [Thu, 4 May 2006 16:14:26 +0000 (16:14 +0000)]
Adapted to changes in irphase

[r7692]

18 years agoused new assure_*() functions
Michael Beck [Wed, 3 May 2006 16:12:14 +0000 (16:12 +0000)]
used new assure_*() functions

[r7691]

18 years agoused xmalloc()
Michael Beck [Wed, 3 May 2006 16:09:37 +0000 (16:09 +0000)]
used xmalloc()
used a macro to hide ugly casts

[r7690]

18 years agoused new assure_doms()
Michael Beck [Wed, 3 May 2006 16:07:50 +0000 (16:07 +0000)]
used new assure_doms()

[r7689]

18 years agoBugFix: turn_into_tuple() now works if edges are activated
Michael Beck [Wed, 3 May 2006 10:38:32 +0000 (10:38 +0000)]
BugFix: turn_into_tuple() now works if edges are activated

[r7688]

18 years agoassure_irg_outs() added
Michael Beck [Wed, 3 May 2006 08:54:20 +0000 (08:54 +0000)]
assure_irg_outs() added

[r7687]

18 years agoassure_doms() and assure_postdoms() added
Michael Beck [Wed, 3 May 2006 08:53:32 +0000 (08:53 +0000)]
assure_doms() and assure_postdoms() added

[r7686]

18 years agoAdd if conversion, use with -fif-conversion
Christoph Mallon [Wed, 3 May 2006 08:29:19 +0000 (08:29 +0000)]
Add if conversion, use with -fif-conversion

[r7685]

18 years agoAdd control dependency analysis
Christoph Mallon [Wed, 3 May 2006 08:27:11 +0000 (08:27 +0000)]
Add control dependency analysis

[r7684]

18 years agoAllow mode_b for and and or
Christoph Mallon [Wed, 3 May 2006 08:23:47 +0000 (08:23 +0000)]
Allow mode_b for and and or

[r7683]

18 years agoUse [gs]et_irn_n() instead of direct access to the in array
Christoph Mallon [Wed, 3 May 2006 08:23:24 +0000 (08:23 +0000)]
Use [gs]et_irn_n() instead of direct access to the in array

[r7682]

18 years agoAdd an edge callback hook for blocks
Christoph Mallon [Wed, 3 May 2006 08:22:44 +0000 (08:22 +0000)]
Add an edge callback hook for blocks

[r7681]

18 years agoAdapted to changes in irphase.c
Sebastian Hack [Tue, 2 May 2006 14:43:42 +0000 (14:43 +0000)]
Adapted to changes in irphase.c

[r7680]

18 years agoSmall modifications
Sebastian Hack [Tue, 2 May 2006 14:43:24 +0000 (14:43 +0000)]
Small modifications

[r7679]

18 years agooptimize_graph_df() added, a fixed point version of local_optimize_graph()
Michael Beck [Tue, 2 May 2006 12:38:02 +0000 (12:38 +0000)]
optimize_graph_df() added, a fixed point version of local_optimize_graph()

[r7677]

18 years agoAdded add_saturated
Sebastian Hack [Tue, 2 May 2006 12:23:16 +0000 (12:23 +0000)]
Added add_saturated

[r7675]

18 years agoremoved const from first parameter for phase init data function as some init functions
Christian Würdig [Mon, 1 May 2006 14:28:44 +0000 (14:28 +0000)]
removed const from first parameter for phase init data function as some init functions
change the object, so it's obviously not const

[r7674]

18 years agoadded missing include
Christian Würdig [Mon, 1 May 2006 14:17:27 +0000 (14:17 +0000)]
added missing include

[r7673]

18 years agocopy_irn_to_irg was buggy. It handed the whole in array of a node, including
Adam Szalkowski [Sat, 29 Apr 2006 18:59:00 +0000 (18:59 +0000)]
copy_irn_to_irg was buggy. It handed the whole in array of a node, including
the block, to new_ir_node. As a result after copying position 0 of the
new node contained the block.

[r7672]

18 years agoinvalidate more analyse info
Michael Beck [Fri, 28 Apr 2006 15:59:00 +0000 (15:59 +0000)]
invalidate more analyse info

[r7671]

18 years agoinvalidate more analyse info
Michael Beck [Fri, 28 Apr 2006 15:53:52 +0000 (15:53 +0000)]
invalidate more analyse info

[r7670]

18 years agoBugFix: do return -1 if no bit is found
Michael Beck [Fri, 28 Apr 2006 15:52:15 +0000 (15:52 +0000)]
BugFix: do return -1 if no bit is found

[r7669]

18 years agodon't create extended block info for const code irg
Michael Beck [Fri, 28 Apr 2006 15:48:18 +0000 (15:48 +0000)]
don't create extended block info for const code irg

[r7668]

18 years agoBugFix: == missed
Michael Beck [Fri, 28 Apr 2006 13:38:53 +0000 (13:38 +0000)]
BugFix: == missed

[r7667]

18 years agoMoved N to >
Sebastian Hack [Fri, 28 Apr 2006 09:31:26 +0000 (09:31 +0000)]
Moved N to >

[r7666]

18 years agodon't crash if a Const node has no tarval set yet
Michael Beck [Thu, 27 Apr 2006 13:41:26 +0000 (13:41 +0000)]
don't crash if a Const node has no tarval set yet

[r7665]

18 years agoinitial implementation of DOUBLE-WORD lowering, cannot handle conversions from/to
Michael Beck [Thu, 27 Apr 2006 13:31:08 +0000 (13:31 +0000)]
initial implementation of DOUBLE-WORD lowering, cannot handle conversions from/to
floating point yet.

[r7664]

18 years agoChanged indent modifier to %N.
Sebastian Hack [Thu, 27 Apr 2006 12:57:58 +0000 (12:57 +0000)]
Changed indent modifier to %N.
%N can now be equipped with a width giving a multiplier

[r7663]

18 years agoadded function to determine if statistics are active
Christian Würdig [Thu, 27 Apr 2006 11:36:08 +0000 (11:36 +0000)]
added function to determine if statistics are active

[r7661]

18 years agoBugFix: need a place for the block :-)
Michael Beck [Mon, 24 Apr 2006 15:56:59 +0000 (15:56 +0000)]
BugFix: need a place for the block :-)

[r7659]

18 years agodo not use set_irn_in to change End's keep-alives, this changes the in array from...
Michael Beck [Mon, 24 Apr 2006 15:45:46 +0000 (15:45 +0000)]
do not use set_irn_in to change End's keep-alives, this changes the in array from a flexible one to a dynamic ...
use new set_end_keepalives() function

[r7658]

18 years agofixed post-dominance construction for endless loops (hopefully).
Michael Beck [Mon, 24 Apr 2006 13:38:42 +0000 (13:38 +0000)]
fixed post-dominance construction for endless loops (hopefully).

[r7657]

18 years agodec_irg_block_visited() added
Michael Beck [Mon, 24 Apr 2006 13:10:57 +0000 (13:10 +0000)]
dec_irg_block_visited() added

[r7656]

18 years agoUse keep-alives to handle dominance info for graphs with endless loops right.
Michael Beck [Mon, 24 Apr 2006 13:10:32 +0000 (13:10 +0000)]
Use keep-alives to handle dominance info for graphs with endless loops right.
Post-dominance is not yet updated !!!

[r7655]

18 years agoadded functions to include the keep-alives for cfg edges
Michael Beck [Mon, 24 Apr 2006 13:09:17 +0000 (13:09 +0000)]
added functions to include the keep-alives for cfg edges

[r7654]

18 years agoFixed keep-alive visiting for extbb walker
Michael Beck [Mon, 24 Apr 2006 13:01:09 +0000 (13:01 +0000)]
Fixed keep-alive visiting for extbb walker

[r7652]

18 years agoAdd a new dumper
Michael Beck [Fri, 21 Apr 2006 11:31:02 +0000 (11:31 +0000)]
Add a new dumper
made allocation simplier

[r7649]

18 years agoadded header comment
Christian Würdig [Fri, 21 Apr 2006 08:18:05 +0000 (08:18 +0000)]
added header comment

[r7648]

18 years agoremoved pedantic-errors switch :)
Christian Würdig [Thu, 20 Apr 2006 16:07:14 +0000 (16:07 +0000)]
removed pedantic-errors switch :)

[r7647]

18 years agoUsed hooks to implement dump_add_node_info_callback()
Michael Beck [Thu, 20 Apr 2006 08:52:30 +0000 (08:52 +0000)]
Used hooks to implement dump_add_node_info_callback()
add prototypes to header file

[r7646]

18 years agohook_node_info added
Michael Beck [Thu, 20 Apr 2006 08:50:38 +0000 (08:50 +0000)]
hook_node_info added

[r7645]

18 years agoAdded height computation
Sebastian Hack [Wed, 19 Apr 2006 15:44:51 +0000 (15:44 +0000)]
Added height computation

[r7644]

18 years agoAdded node info dump callbacks
Sebastian Hack [Wed, 19 Apr 2006 15:44:12 +0000 (15:44 +0000)]
Added node info dump callbacks

[r7643]

18 years agoremoved backend statistics hooks, statistic functions are now called directly by...
Christian Würdig [Wed, 19 Apr 2006 11:43:36 +0000 (11:43 +0000)]
removed backend statistics hooks, statistic functions are now called directly by bestat

[r7639]

18 years agoremoved backend statistics hooks, functions are called now from bestat
Christian Würdig [Wed, 19 Apr 2006 11:43:00 +0000 (11:43 +0000)]
removed backend statistics hooks, functions are called now from bestat

[r7638]

18 years agoPhase objects can now be embedded
Sebastian Hack [Wed, 19 Apr 2006 11:13:16 +0000 (11:13 +0000)]
Phase objects can now be embedded

[r7637]

18 years agoadded comment
Christian Würdig [Tue, 18 Apr 2006 17:03:07 +0000 (17:03 +0000)]
added comment

[r7633]

18 years agofixed chain/cycle distribution statistic output
Christian Würdig [Tue, 18 Apr 2006 17:02:50 +0000 (17:02 +0000)]
fixed chain/cycle distribution statistic output

[r7632]

18 years agoadded conv to keep gcc happy
Christian Würdig [Thu, 13 Apr 2006 15:36:47 +0000 (15:36 +0000)]
added conv to keep gcc happy

[r7631]

18 years agoadded missing parameter and initializer
Christian Würdig [Wed, 12 Apr 2006 14:08:55 +0000 (14:08 +0000)]
added missing parameter and initializer

[r7630]

18 years agoAdded phases
Sebastian Hack [Wed, 12 Apr 2006 13:05:54 +0000 (13:05 +0000)]
Added phases

[r7629]

18 years agoAdded phases using node indexes
Sebastian Hack [Wed, 12 Apr 2006 13:05:12 +0000 (13:05 +0000)]
Added phases using node indexes

[r7628]

18 years agoAdded MIN und MAX
Sebastian Hack [Tue, 11 Apr 2006 15:46:19 +0000 (15:46 +0000)]
Added MIN und MAX

[r7625]

18 years agoextended permutation statistics
Christian Würdig [Tue, 11 Apr 2006 12:28:48 +0000 (12:28 +0000)]
extended permutation statistics

[r7624]

18 years agostat_be_block_regpressure() and stat_be_block_ready() are now directly called from...
Michael Beck [Tue, 11 Apr 2006 11:19:55 +0000 (11:19 +0000)]
stat_be_block_regpressure() and stat_be_block_ready() are now directly called from the be_stat module

[r7623]

18 years agoremoved hook_be_block_regpressure and hook_be_sched_ready. These was only be used...
Michael Beck [Tue, 11 Apr 2006 11:18:48 +0000 (11:18 +0000)]
removed hook_be_block_regpressure and hook_be_sched_ready. These was only be used for statistic
purpose

[r7622]

18 years agofixed foreach macro
Michael Beck [Tue, 11 Apr 2006 09:50:37 +0000 (09:50 +0000)]
fixed foreach macro

[r7621]

18 years agorenamed cnt_to_int() into cnt_to_uint()
Michael Beck [Tue, 11 Apr 2006 09:50:22 +0000 (09:50 +0000)]
renamed cnt_to_int() into cnt_to_uint()
cleaned up by using foreach_pset()

[r7620]

18 years agoforeach_pset macro added
Michael Beck [Tue, 11 Apr 2006 09:13:02 +0000 (09:13 +0000)]
foreach_pset macro added

[r7619]

18 years agomade cnt_to_int unsigned
Christian Würdig [Tue, 11 Apr 2006 09:05:28 +0000 (09:05 +0000)]
made cnt_to_int unsigned

[r7618]

18 years agoadded cnt_to_int function for counter
Christian Würdig [Tue, 11 Apr 2006 09:03:27 +0000 (09:03 +0000)]
added cnt_to_int function for counter

[r7617]

18 years agoadded get_count function for distribution tables
Christian Würdig [Tue, 11 Apr 2006 09:03:04 +0000 (09:03 +0000)]
added get_count function for distribution tables

[r7616]

18 years agoadded inc and insert functions for distribution tables
Christian Würdig [Tue, 11 Apr 2006 08:36:53 +0000 (08:36 +0000)]
added inc and insert functions for distribution tables
removed cnt_1 and cnt_0 from counter.h

[r7615]

18 years agochanged class name type from ident to const char*
Christian Würdig [Tue, 11 Apr 2006 08:15:53 +0000 (08:15 +0000)]
changed class name type from ident to const char*

[r7614]

18 years agoadded hooks for permutation statistics
Christian Würdig [Mon, 10 Apr 2006 15:22:53 +0000 (15:22 +0000)]
added hooks for permutation statistics

[r7613]

18 years agoadded permutations statistics
Christian Würdig [Mon, 10 Apr 2006 15:22:31 +0000 (15:22 +0000)]
added permutations statistics

[r7612]

18 years agoadded 0 and 1 counter
Christian Würdig [Mon, 10 Apr 2006 15:21:35 +0000 (15:21 +0000)]
added 0 and 1 counter

[r7611]

18 years agofixed indents
Christian Würdig [Mon, 10 Apr 2006 09:23:35 +0000 (09:23 +0000)]
fixed indents

[r7610]

18 years agoadded average calculation of distribution table
Christian Würdig [Mon, 10 Apr 2006 09:23:02 +0000 (09:23 +0000)]
added average calculation of distribution table

[r7609]

18 years agoadded be statitics hook (sched_ready)
Christian Würdig [Mon, 10 Apr 2006 08:32:26 +0000 (08:32 +0000)]
added be statitics hook (sched_ready)

[r7608]

18 years agofixed scheduling statistics
Christian Würdig [Sat, 8 Apr 2006 21:31:13 +0000 (21:31 +0000)]
fixed scheduling statistics
removed comment

[r7607]

18 years agoadded statistics for scheduling
Christian Würdig [Sat, 8 Apr 2006 21:06:20 +0000 (21:06 +0000)]
added statistics for scheduling

[r7606]

18 years agoadded environment pointer for distribution table iteration
Christian Würdig [Sat, 8 Apr 2006 21:05:55 +0000 (21:05 +0000)]
added environment pointer for distribution table iteration
fixed compare function for int distrib tables
changed order of typedefs

[r7605]

18 years agoused new node index for normalization (instead of the non-determnistic node address)
Michael Beck [Sat, 8 Apr 2006 01:01:26 +0000 (01:01 +0000)]
used new node index for normalization (instead of the non-determnistic node address)

[r7604]

18 years agomoved reg pressure statistics into sepearete be_block_hash
Christian Würdig [Fri, 7 Apr 2006 15:02:56 +0000 (15:02 +0000)]
moved reg pressure statistics into sepearete be_block_hash
added be_data obstack
free be_data on finish

[r7603]

18 years agoadded reg pressure statistic hook
Christian Würdig [Fri, 7 Apr 2006 14:34:00 +0000 (14:34 +0000)]
added reg pressure statistic hook

[r7602]

18 years agoadded register pressure statistics
Christian Würdig [Fri, 7 Apr 2006 14:03:11 +0000 (14:03 +0000)]
added register pressure statistics

[r7601]

18 years agoreset node index on dead node elimination
Michael Beck [Fri, 7 Apr 2006 12:42:26 +0000 (12:42 +0000)]
reset node index on dead node elimination

[r7598]

18 years agodump the node index and estimated node count
Michael Beck [Fri, 7 Apr 2006 12:38:47 +0000 (12:38 +0000)]
dump the node index and estimated node count

[r7597]

18 years agointroduced node index: a small unique per graph node number
Michael Beck [Fri, 7 Apr 2006 12:24:58 +0000 (12:24 +0000)]
introduced node index: a small unique per graph node number

[r7596]

18 years agoadded addtitional ia32 backend statistics
Christian Würdig [Fri, 7 Apr 2006 09:06:32 +0000 (09:06 +0000)]
added addtitional ia32 backend statistics

[r7595]

18 years agoremoved cstore
Michael Beck [Thu, 6 Apr 2006 15:44:47 +0000 (15:44 +0000)]
removed cstore

[r7594]

18 years agoremoved unused cstore
Michael Beck [Thu, 6 Apr 2006 15:38:50 +0000 (15:38 +0000)]
removed unused cstore

[r7593]

18 years agodead node elimination now handles all anchors equaly
Michael Beck [Thu, 6 Apr 2006 15:32:46 +0000 (15:32 +0000)]
dead node elimination now handles all anchors equaly
Especially anchors can now consist of DAG's which are copied as well ...

[r7592]

18 years agoanchors can be dumped yet always
Michael Beck [Thu, 6 Apr 2006 15:29:09 +0000 (15:29 +0000)]
anchors can be dumped yet always

[r7591]

18 years agoadd irgraph.h include
Michael Beck [Thu, 6 Apr 2006 12:58:04 +0000 (12:58 +0000)]
add irgraph.h include

[r7590]

18 years agoincrease Firm version number
Michael Beck [Thu, 6 Apr 2006 12:38:34 +0000 (12:38 +0000)]
increase Firm version number

[r7588]

18 years agoinitialize the phase state
Michael Beck [Thu, 6 Apr 2006 12:36:53 +0000 (12:36 +0000)]
initialize the phase state

[r7587]

18 years agodon't access irg anchor nodes directly
Michael Beck [Thu, 6 Apr 2006 12:35:18 +0000 (12:35 +0000)]
don't access irg anchor nodes directly

[r7586]

18 years agodont access members of irg directly
Michael Beck [Thu, 6 Apr 2006 12:18:31 +0000 (12:18 +0000)]
dont access members of irg directly
handle graph state more generic

[r7585]

18 years agoPut all anchor nodes into an array: This makes the implementation of
Michael Beck [Thu, 6 Apr 2006 12:09:25 +0000 (12:09 +0000)]
Put all anchor nodes into an array: This makes the implementation of
dead node elimination much simplier ...
make irg state more generic

[r7584]

18 years agodon't access irg anchor nodes directly
Michael Beck [Thu, 6 Apr 2006 12:07:11 +0000 (12:07 +0000)]
don't access irg anchor nodes directly

[r7583]

18 years agodon't access members of the irg directly
Michael Beck [Thu, 6 Apr 2006 12:04:46 +0000 (12:04 +0000)]
don't access members of the irg directly

[r7582]

18 years agoHandle endless loops (so a assert was wrong here)
Michael Beck [Wed, 5 Apr 2006 16:42:38 +0000 (16:42 +0000)]
Handle endless loops (so a assert was wrong here)

[r7578]

18 years agoadded ia32 backend statistics
Christian Würdig [Wed, 5 Apr 2006 16:08:28 +0000 (16:08 +0000)]
added ia32 backend statistics

[r7577]

18 years agoadded IA32 backend dbg statistics
Christian Würdig [Tue, 4 Apr 2006 14:25:08 +0000 (14:25 +0000)]
added IA32 backend dbg statistics

[r7573]

18 years agoAdd test functions for machine, machine_operand and machine_user bits
Michael Beck [Tue, 4 Apr 2006 13:00:53 +0000 (13:00 +0000)]
Add test functions for machine, machine_operand and machine_user bits

[r7572]

18 years agoadd irop_flag_machine, irop_flag_machine_op and irop_flag_user flags and check functions
Michael Beck [Tue, 4 Apr 2006 12:20:09 +0000 (12:20 +0000)]
add irop_flag_machine, irop_flag_machine_op and irop_flag_user flags and check functions

[r7571]

18 years agorenamed init_hooks() and init_stat() into firm_*()
Michael Beck [Mon, 3 Apr 2006 13:41:54 +0000 (13:41 +0000)]
renamed init_hooks() and init_stat() into firm_*()

[r7570]

18 years agoHOOK_BACKEND added
Michael Beck [Mon, 3 Apr 2006 13:41:38 +0000 (13:41 +0000)]
HOOK_BACKEND added
renamed init_hooks() into firm_init_hooks()

[r7569]