libfirm
17 years agokill nodes only reachable via out edges after backend transformation
Christian Würdig [Sun, 11 Feb 2007 15:57:16 +0000 (15:57 +0000)]
kill nodes only reachable via out edges after backend transformation

17 years agoadded comment
Christian Würdig [Sun, 11 Feb 2007 15:56:45 +0000 (15:56 +0000)]
added comment
added simple dead node elimination

17 years agoextended debug output
Christian Würdig [Sun, 11 Feb 2007 15:56:21 +0000 (15:56 +0000)]
extended debug output
changed indent

17 years agophi class computation takes now an additional argument
Christian Würdig [Sun, 11 Feb 2007 15:54:07 +0000 (15:54 +0000)]
phi class computation takes now an additional argument

17 years agophiclass computation takes now an additional argument
Christian Würdig [Sun, 11 Feb 2007 15:52:16 +0000 (15:52 +0000)]
phiclass computation takes now an additional argument

17 years agochanged type for callback
Christian Würdig [Fri, 9 Feb 2007 19:06:32 +0000 (19:06 +0000)]
changed type for callback

17 years agoadded cast for get_phi_class
Christian Würdig [Fri, 9 Feb 2007 17:49:45 +0000 (17:49 +0000)]
added cast for get_phi_class

17 years agofixed DEL_ARR_F
Christian Würdig [Fri, 9 Feb 2007 17:48:53 +0000 (17:48 +0000)]
fixed DEL_ARR_F

17 years agoremoved C-99 stuff
Christian Würdig [Fri, 9 Feb 2007 16:47:28 +0000 (16:47 +0000)]
removed C-99 stuff

17 years agonew machine spec
Christian Würdig [Fri, 9 Feb 2007 16:47:09 +0000 (16:47 +0000)]
new machine spec

17 years agospeedup test app
Matthias Braun [Fri, 9 Feb 2007 15:01:52 +0000 (15:01 +0000)]
speedup test app

17 years agomake testapp deterministic
Matthias Braun [Fri, 9 Feb 2007 14:50:08 +0000 (14:50 +0000)]
make testapp deterministic

17 years agoset ESP register for AddSP and SubSP
Matthias Braun [Fri, 9 Feb 2007 14:37:21 +0000 (14:37 +0000)]
set ESP register for AddSP and SubSP

17 years agoadapted to new isa callback
Christian Würdig [Fri, 9 Feb 2007 14:20:52 +0000 (14:20 +0000)]
adapted to new isa callback

17 years agoadded isa-callback so backend can provide it's own sorted list of irgs to generate...
Christian Würdig [Fri, 9 Feb 2007 14:20:19 +0000 (14:20 +0000)]
added isa-callback so backend can provide it's own sorted list of irgs to generate code for

17 years agoadapted to new isa callback
Christian Würdig [Fri, 9 Feb 2007 14:19:29 +0000 (14:19 +0000)]
adapted to new isa callback

17 years agodo the unset correctly
Matthias Braun [Fri, 9 Feb 2007 14:18:46 +0000 (14:18 +0000)]
do the unset correctly

17 years agofix :)
Matthias Braun [Fri, 9 Feb 2007 14:15:06 +0000 (14:15 +0000)]
fix :)

17 years agofix
Matthias Braun [Fri, 9 Feb 2007 14:12:03 +0000 (14:12 +0000)]
fix

17 years agouse ecc for linking, unset language to give deterministic sort order
Matthias Braun [Fri, 9 Feb 2007 14:09:48 +0000 (14:09 +0000)]
use ecc for linking, unset language to give deterministic sort order

17 years ago- use mode_Iu for all nodes producing integer values (because registers are mode_Iu...
Matthias Braun [Fri, 9 Feb 2007 14:06:58 +0000 (14:06 +0000)]
- use mode_Iu for all nodes producing integer values (because registers are mode_Iu), this gives more possibilities for cse
- use mode_D for all nodes producing float values, this gives more possibilities for cse
- Introduce NoReg and Unknown nodes so we don't have strange projs from the start barrier
- Rewrite transform phase:
  - while transforming we now build a completely new graph on a new irg (while looking at the old graph)
  - no need to transform constants in advance anymore
  - several smaller fixes+cleanups

17 years agoset inputs of killed call ProjT to bad
Matthias Braun [Fri, 9 Feb 2007 14:01:46 +0000 (14:01 +0000)]
set inputs of killed call ProjT to bad

17 years agotest constant folding with bitset values
Matthias Braun [Fri, 9 Feb 2007 13:55:20 +0000 (13:55 +0000)]
test constant folding with bitset values

17 years agomake XXEndless only run endless when parameters are passed, cleanup some tests, add...
Matthias Braun [Fri, 9 Feb 2007 13:55:05 +0000 (13:55 +0000)]
make XXEndless only run endless when parameters are passed, cleanup some tests, add a new test

17 years agofixed wrong include
Christian Würdig [Fri, 9 Feb 2007 10:36:30 +0000 (10:36 +0000)]
fixed wrong include

17 years agoadapted to phiclass changes (is an ir_phase now based on ARR_F)
Christian Würdig [Fri, 9 Feb 2007 10:30:57 +0000 (10:30 +0000)]
adapted to phiclass changes (is an ir_phase now based on ARR_F)

17 years agoadapted to phiclass changes (is a phase now, based on ARR_F)
Christian Würdig [Fri, 9 Feb 2007 10:29:49 +0000 (10:29 +0000)]
adapted to phiclass changes (is a phase now, based on ARR_F)

17 years ago- avoid unnecessary edges recomputation
Matthias Braun [Thu, 8 Feb 2007 15:02:46 +0000 (15:02 +0000)]
- avoid unnecessary edges recomputation
- calculate execfreqs after the transform phase
- set irg phase state to phase_backend
- do more verification after the transform phase

17 years agodon't make ignore registers automatically callee-save, don't use mach_mode for consta...
Matthias Braun [Thu, 8 Feb 2007 15:00:36 +0000 (15:00 +0000)]
don't make ignore registers automatically callee-save, don't use mach_mode for constants if it is a reference mode

17 years agoreformatted/improved some testapps
Matthias Braun [Thu, 8 Feb 2007 11:45:40 +0000 (11:45 +0000)]
reformatted/improved some testapps

17 years agoalso walk dependencie edges in outedges verifier
Matthias Braun [Thu, 8 Feb 2007 11:44:17 +0000 (11:44 +0000)]
also walk dependencie edges in outedges verifier

17 years agoreformatted
Matthias Braun [Thu, 8 Feb 2007 11:43:14 +0000 (11:43 +0000)]
reformatted

17 years agoadd be_is_SubSP and fix some oparities
Matthias Braun [Thu, 8 Feb 2007 11:41:40 +0000 (11:41 +0000)]
add be_is_SubSP and fix some oparities

17 years agomake code a bit more readble
Matthias Braun [Thu, 8 Feb 2007 11:41:03 +0000 (11:41 +0000)]
make code a bit more readble

17 years agosupport empty emitter (in contrast to no emitter if you don't specify anything)
Matthias Braun [Thu, 8 Feb 2007 11:40:26 +0000 (11:40 +0000)]
support empty emitter (in contrast to no emitter if you don't specify anything)

17 years agoreturn 0
Matthias Braun [Wed, 7 Feb 2007 17:37:00 +0000 (17:37 +0000)]
return 0

17 years agoreturn 0
Matthias Braun [Wed, 7 Feb 2007 17:36:19 +0000 (17:36 +0000)]
return 0

17 years agoreturn 0
Matthias Braun [Wed, 7 Feb 2007 17:35:23 +0000 (17:35 +0000)]
return 0

17 years agovandrunen exmple
Michael Beck [Wed, 7 Feb 2007 17:18:18 +0000 (17:18 +0000)]
vandrunen exmple

17 years agofixed dump_compound_init again, still bitfield problems
Michael Beck [Wed, 7 Feb 2007 17:13:24 +0000 (17:13 +0000)]
fixed dump_compound_init again, still bitfield problems

17 years agoPhi example
Michael Beck [Wed, 7 Feb 2007 17:04:17 +0000 (17:04 +0000)]
Phi example

17 years agoUnknowns don't need a register assigned
Christian Würdig [Wed, 7 Feb 2007 17:00:56 +0000 (17:00 +0000)]
Unknowns don't need a register assigned

17 years agoconversion test
Michael Beck [Wed, 7 Feb 2007 17:00:45 +0000 (17:00 +0000)]
conversion test

17 years agoadded fix for be_dump (start with 1 when suffix is "-abi")
Christian Würdig [Wed, 7 Feb 2007 17:00:38 +0000 (17:00 +0000)]
added fix for be_dump (start with 1 when suffix is "-abi")

17 years agofixed dump_compound_init again
Michael Beck [Wed, 7 Feb 2007 15:38:10 +0000 (15:38 +0000)]
fixed dump_compound_init again

17 years agodump_compound_init(): can handle initialiezer bigger than the type size (last compoun...
Michael Beck [Wed, 7 Feb 2007 14:43:40 +0000 (14:43 +0000)]
dump_compound_init(): can handle initialiezer bigger than the type size (last compound field is an array)
more doxygen docu added

17 years agofix backend script generating wrong oparity
Matthias Braun [Wed, 7 Feb 2007 10:12:37 +0000 (10:12 +0000)]
fix backend script generating wrong oparity

17 years agorenamed type entity to new ir_entity
Michael Beck [Wed, 7 Feb 2007 01:53:36 +0000 (01:53 +0000)]
renamed type entity to new ir_entity

17 years agospeed up iteration
Michael Beck [Wed, 7 Feb 2007 01:53:18 +0000 (01:53 +0000)]
speed up iteration

17 years agofix testapp
Matthias Braun [Wed, 7 Feb 2007 00:08:38 +0000 (00:08 +0000)]
fix testapp

17 years agocompute_compound_graph_indices is no more
Matthias Braun [Tue, 6 Feb 2007 15:23:05 +0000 (15:23 +0000)]
compute_compound_graph_indices is no more

17 years agodo not schedule Unknown
Christian Würdig [Tue, 6 Feb 2007 09:40:20 +0000 (09:40 +0000)]
do not schedule Unknown

17 years agoimprove and fix some test apps
Matthias Braun [Mon, 5 Feb 2007 12:11:38 +0000 (12:11 +0000)]
improve and fix some test apps

17 years agoset frame of reloads to bad when killing them
Matthias Braun [Mon, 5 Feb 2007 11:51:45 +0000 (11:51 +0000)]
set frame of reloads to bad when killing them

17 years agomagic only needed in debug mode
Matthias Braun [Mon, 5 Feb 2007 11:51:23 +0000 (11:51 +0000)]
magic only needed in debug mode

17 years agoonly schedule Projs having at least one user
Christian Würdig [Fri, 2 Feb 2007 13:56:17 +0000 (13:56 +0000)]
only schedule Projs having at least one user

17 years agoreorder some expressions to reduce register usage
Michael Beck [Wed, 31 Jan 2007 15:43:29 +0000 (15:43 +0000)]
reorder some expressions to reduce register usage

17 years agobe_remove_empty_blocks() now return non-zero if the graph was changed
Michael Beck [Wed, 31 Jan 2007 15:42:29 +0000 (15:42 +0000)]
be_remove_empty_blocks() now return non-zero if the graph was changed

17 years agobe_remove_empty_blocks() now return non-zero if the graph was changed
Michael Beck [Wed, 31 Jan 2007 15:42:25 +0000 (15:42 +0000)]
be_remove_empty_blocks() now return non-zero if the graph was changed

17 years agotypo fixed
Michael Beck [Wed, 31 Jan 2007 15:41:46 +0000 (15:41 +0000)]
typo fixed

17 years agoremoved unused parameter pos
Michael Beck [Wed, 31 Jan 2007 15:41:26 +0000 (15:41 +0000)]
removed unused parameter pos

17 years agochanged some default values (dead vs alive node constraint limit)
Christian Würdig [Wed, 31 Jan 2007 13:45:06 +0000 (13:45 +0000)]
changed some default values (dead vs alive node constraint limit)

17 years agoadded some debug output
Christian Würdig [Wed, 31 Jan 2007 13:44:26 +0000 (13:44 +0000)]
added some debug output

17 years agoreconstruct looptree for belady spiller when needed
Matthias Braun [Tue, 30 Jan 2007 14:55:39 +0000 (14:55 +0000)]
reconstruct looptree for belady spiller when needed

17 years agono need for bechordal_env in spiller interface anymore
Matthias Braun [Tue, 30 Jan 2007 14:53:25 +0000 (14:53 +0000)]
no need for bechordal_env in spiller interface anymore

17 years agocorrectly remove some nodes from graph in beabi, thus avoiding bad outedges
Matthias Braun [Tue, 30 Jan 2007 14:00:51 +0000 (14:00 +0000)]
correctly remove some nodes from graph in beabi, thus avoiding bad outedges

17 years agorelax outedge verifier a bit: anchor nodes are actually reachable
Matthias Braun [Tue, 30 Jan 2007 13:54:20 +0000 (13:54 +0000)]
relax outedge verifier a bit: anchor nodes are actually reachable

17 years agotypo fixed
Michael Beck [Mon, 29 Jan 2007 22:20:02 +0000 (22:20 +0000)]
typo fixed

17 years agoUpdated for new architecture
Michael Beck [Mon, 29 Jan 2007 22:19:20 +0000 (22:19 +0000)]
Updated for new architecture

17 years agoextended lpp-matrix statistics
Christian Würdig [Sun, 28 Jan 2007 13:24:45 +0000 (13:24 +0000)]
extended lpp-matrix statistics
added switch for register pressure constraints

17 years agoremoved debug setmask
Christian Würdig [Sat, 27 Jan 2007 19:07:27 +0000 (19:07 +0000)]
removed debug setmask
fixed CRLF
dump lpp only if debug level > 1

17 years agore-added stack pointer to spills and reloads
Christian Würdig [Fri, 26 Jan 2007 17:02:06 +0000 (17:02 +0000)]
re-added stack pointer to spills and reloads

17 years agoadded additional dump
Christian Würdig [Fri, 26 Jan 2007 17:01:15 +0000 (17:01 +0000)]
added additional dump

17 years agomoved macro to iterate over link field from beilpsched to beutil
Christian Würdig [Fri, 26 Jan 2007 17:00:57 +0000 (17:00 +0000)]
moved macro to iterate over link field from beilpsched to beutil

17 years agofix stack nodes only once if spiller is provided by backend
Christian Würdig [Fri, 26 Jan 2007 17:00:16 +0000 (17:00 +0000)]
fix stack nodes only once if spiller is provided by backend

17 years agofixed #if PLUGIN_IR_BE_STA
Michael Beck [Fri, 26 Jan 2007 09:44:27 +0000 (09:44 +0000)]
fixed #if PLUGIN_IR_BE_STA

17 years agoOpcodes for rss_Sink and rss_Source are created only one
Michael Beck [Thu, 25 Jan 2007 23:14:38 +0000 (23:14 +0000)]
Opcodes for rss_Sink and rss_Source are created only one

17 years agorenamed opcode to ir_opcode
Michael Beck [Thu, 25 Jan 2007 23:13:24 +0000 (23:13 +0000)]
renamed opcode to ir_opcode

17 years ago- speed up sched_skip()\n- fix and add doxygen comments
Michael Beck [Thu, 25 Jan 2007 17:28:14 +0000 (17:28 +0000)]
- speed up sched_skip()\n- fix and add doxygen comments

17 years agonew_nodeset_default() added
Michael Beck [Thu, 25 Jan 2007 17:02:50 +0000 (17:02 +0000)]
new_nodeset_default() added

17 years ago- dominance frontier now uses lists instead of sets per block. This should speed...
Michael Beck [Thu, 25 Jan 2007 17:02:24 +0000 (17:02 +0000)]
- dominance frontier now uses lists instead of sets per block. This should speed up calculation as well as reduce memory usage
- used waitq instead of pdeq
- more doxygen docu added
- typüo fixed

17 years agobe_add_remat does not take register class any longer (not necessary)
Christian Würdig [Wed, 24 Jan 2007 16:06:14 +0000 (16:06 +0000)]
be_add_remat does not take register class any longer (not necessary)
extended debug output

17 years agoBugFix: when a node in schedule got exchanged, it is turned into Bad: do not set...
Christian Würdig [Wed, 24 Jan 2007 16:04:35 +0000 (16:04 +0000)]
BugFix: when a node in schedule got exchanged, it is turned into Bad: do not set input to Bad for these nodes
changed indents

17 years agoadded: one can set register class of a be_node to NULL (sets requirement to none)
Christian Würdig [Wed, 24 Jan 2007 16:02:42 +0000 (16:02 +0000)]
added: one can set register class of a be_node to NULL (sets requirement to none)

17 years agoadded some comments
Christian Würdig [Wed, 24 Jan 2007 16:01:41 +0000 (16:01 +0000)]
added some comments
changed indent

17 years agoif a node input has none as requirement, it is given the class of the argument node
Christian Würdig [Wed, 24 Jan 2007 16:01:16 +0000 (16:01 +0000)]
if a node input has none as requirement, it is given the class of the argument node

17 years agoadded "none" option for chordal dumping
Christian Würdig [Wed, 24 Jan 2007 16:00:20 +0000 (16:00 +0000)]
added "none" option for chordal dumping

17 years agoset default register class of call address to SP class, but backend may provide anoth...
Christian Würdig [Wed, 24 Jan 2007 15:59:51 +0000 (15:59 +0000)]
set default register class of call address to SP class, but backend may provide another class or NULL

17 years agomake projs of calle/caller save register and call return values have the same mode...
Matthias Braun [Wed, 24 Jan 2007 12:24:49 +0000 (12:24 +0000)]
make projs of calle/caller save register and call return values have the same mode as the used registers

17 years agoassure doms when calculating liveness
Matthias Braun [Wed, 24 Jan 2007 12:23:32 +0000 (12:23 +0000)]
assure doms when calculating liveness

17 years agoUnknowns don't need to be scheduled
Christian Würdig [Fri, 19 Jan 2007 16:06:30 +0000 (16:06 +0000)]
Unknowns don't need to be scheduled

17 years agoadded CVS id
Christian Würdig [Fri, 19 Jan 2007 16:06:11 +0000 (16:06 +0000)]
added CVS id

17 years agocheck constraints only for scheduled nodes
Christian Würdig [Fri, 19 Jan 2007 16:06:00 +0000 (16:06 +0000)]
check constraints only for scheduled nodes

17 years agofix Unknown handling
Christian Würdig [Fri, 19 Jan 2007 16:05:24 +0000 (16:05 +0000)]
fix Unknown handling

17 years agoadded new abi callback (fix stack phis)
Christian Würdig [Fri, 19 Jan 2007 16:04:49 +0000 (16:04 +0000)]
added new abi callback (fix stack phis)

17 years agoadded be_kill_node function
Christian Würdig [Tue, 16 Jan 2007 16:36:42 +0000 (16:36 +0000)]
added be_kill_node function

17 years agorenamed type opcode to ir_opcode
Michael Beck [Tue, 16 Jan 2007 15:47:29 +0000 (15:47 +0000)]
renamed type opcode to ir_opcode

17 years agoFixed output on different compilers
Michael Beck [Tue, 16 Jan 2007 15:46:34 +0000 (15:46 +0000)]
Fixed output on different compilers

17 years agoremoved debugging printf
Christian Würdig [Mon, 15 Jan 2007 15:37:16 +0000 (15:37 +0000)]
removed debugging printf

17 years agoremoved dependencies on chordal_env
Christian Würdig [Mon, 15 Jan 2007 15:30:39 +0000 (15:30 +0000)]
removed dependencies on chordal_env