libfirm
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

17 years agofixed wrong heights_recompute (block walk inside block walk)
Christian Würdig [Mon, 15 Jan 2007 15:30:10 +0000 (15:30 +0000)]
fixed wrong heights_recompute (block walk inside block walk)

17 years agoremoved chordal_env from be lowering
Christian Würdig [Sat, 13 Jan 2007 22:57:34 +0000 (22:57 +0000)]
removed chordal_env from be lowering

17 years agoFixed for GCC and MS
Michael Beck [Fri, 12 Jan 2007 18:09:20 +0000 (18:09 +0000)]
Fixed for GCC and MS

17 years agomake spillremat independent from chordal_env
Matthias Braun [Fri, 12 Jan 2007 15:38:10 +0000 (15:38 +0000)]
make spillremat independent from chordal_env

17 years agospecial case handling for startblock succesor no longer necessary (there is an explic...
Christian Würdig [Fri, 12 Jan 2007 13:49:32 +0000 (13:49 +0000)]
special case handling for startblock succesor no longer necessary (there is an explicit jump in the start block now)

17 years agoplace an explicit jump into the start block
Christian Würdig [Fri, 12 Jan 2007 13:47:21 +0000 (13:47 +0000)]
place an explicit jump into the start block

17 years agoadded some comments
Matthias Braun [Fri, 12 Jan 2007 12:48:30 +0000 (12:48 +0000)]
added some comments

17 years agomake belady and morgan spillers independent from chordal_env
Matthias Braun [Fri, 12 Jan 2007 12:44:26 +0000 (12:44 +0000)]
make belady and morgan spillers independent from chordal_env

17 years agofix warnings
Matthias Braun [Fri, 12 Jan 2007 12:43:54 +0000 (12:43 +0000)]
fix warnings

17 years agoreverted my last fix attempt and just commented out the failing assert
Matthias Braun [Fri, 12 Jan 2007 10:48:25 +0000 (10:48 +0000)]
reverted my last fix attempt and just commented out the failing assert

17 years agotry to fix remat spiller for cases where the inverse operation produces less than...
Matthias Braun [Thu, 11 Jan 2007 16:12:51 +0000 (16:12 +0000)]
try to fix remat spiller for cases where the inverse operation produces less than 2 values...

17 years agoadded function to get frame offset
Christian Würdig [Thu, 11 Jan 2007 16:03:24 +0000 (16:03 +0000)]
added function to get frame offset

17 years agoremoved empty line
Christian Würdig [Thu, 11 Jan 2007 16:02:37 +0000 (16:02 +0000)]
removed empty line

17 years agocall can now produce ignore registers
Christian Würdig [Thu, 11 Jan 2007 16:02:24 +0000 (16:02 +0000)]
call can now produce ignore registers

17 years agoadded comment
Christian Würdig [Thu, 11 Jan 2007 16:02:08 +0000 (16:02 +0000)]
added comment

17 years agono need for a custom put_ignore_regs in bechordal_main
Matthias Braun [Thu, 11 Jan 2007 13:58:14 +0000 (13:58 +0000)]
no need for a custom put_ignore_regs in bechordal_main

17 years agothere is no be_chordal_open anymore, don't call init_arch_sta if WITH_STA is not...
Matthias Braun [Thu, 11 Jan 2007 13:48:35 +0000 (13:48 +0000)]
there is no be_chordal_open anymore, don't call init_arch_sta if WITH_STA is not defined

17 years agosome cleanups to ifg code, move ifg specific code to beifg.c
Matthias Braun [Thu, 11 Jan 2007 13:38:42 +0000 (13:38 +0000)]
some cleanups to ifg code, move ifg specific code to beifg.c

17 years agosta is not there by default
Matthias Braun [Thu, 11 Jan 2007 13:36:36 +0000 (13:36 +0000)]
sta is not there by default

17 years agoBugFix: callback must return true if everything was ok
Christian Würdig [Thu, 11 Jan 2007 13:31:05 +0000 (13:31 +0000)]
BugFix: callback must return true if everything was ok

17 years agoAdd missing $ for CVS keyword expansion
Michael Beck [Wed, 10 Jan 2007 17:21:06 +0000 (17:21 +0000)]
Add missing $ for CVS keyword expansion

17 years agofix my latest committ
Matthias Braun [Wed, 10 Jan 2007 15:58:58 +0000 (15:58 +0000)]
fix my latest committ

17 years agoisas and spillers register themselfes in the module constructors now
Matthias Braun [Wed, 10 Jan 2007 15:58:32 +0000 (15:58 +0000)]
isas and spillers register themselfes in the module constructors now

17 years agofix
Matthias Braun [Wed, 10 Jan 2007 15:36:53 +0000 (15:36 +0000)]
fix

17 years agowarning fix
Matthias Braun [Wed, 10 Jan 2007 15:36:25 +0000 (15:36 +0000)]
warning fix

17 years agoadd nodes remated by backend into schedule
Christian Würdig [Wed, 10 Jan 2007 15:29:21 +0000 (15:29 +0000)]
add nodes remated by backend into schedule

17 years agoadded possibility to place explicitely rematted nodes instead of normal reloads in...
Matthias Braun [Wed, 10 Jan 2007 14:13:05 +0000 (14:13 +0000)]
added possibility to place explicitely rematted nodes instead of normal reloads in spillers

17 years agoconsider node latency now when sorting nodes for scheduling
Christian Würdig [Wed, 10 Jan 2007 13:07:05 +0000 (13:07 +0000)]
consider node latency now when sorting nodes for scheduling

17 years agoadded function declaration
Christian Würdig [Wed, 10 Jan 2007 13:06:32 +0000 (13:06 +0000)]
added function declaration

17 years agoadded missing include
Christian Würdig [Fri, 5 Jan 2007 15:15:38 +0000 (15:15 +0000)]
added missing include

17 years agoadded missing commend_string_end
Michael Beck [Fri, 22 Dec 2006 21:22:45 +0000 (21:22 +0000)]
added missing commend_string_end

17 years agoremoved deprecated function
Michael Beck [Fri, 22 Dec 2006 15:20:12 +0000 (15:20 +0000)]
removed deprecated function

17 years agofix entity collector collecting loads without entities
Matthias Braun [Thu, 21 Dec 2006 15:14:06 +0000 (15:14 +0000)]
fix entity collector collecting loads without entities

17 years agofix for scheduled nodes
Matthias Braun [Thu, 21 Dec 2006 15:09:29 +0000 (15:09 +0000)]
fix for scheduled nodes

17 years agostart register allocator again, fix typo
Matthias Braun [Thu, 21 Dec 2006 15:07:03 +0000 (15:07 +0000)]
start register allocator again, fix typo

17 years agodon't forget to add bemodule to makefile
Matthias Braun [Thu, 21 Dec 2006 14:58:23 +0000 (14:58 +0000)]
don't forget to add bemodule to makefile

17 years agoold files
Matthias Braun [Thu, 21 Dec 2006 14:58:05 +0000 (14:58 +0000)]
old files

17 years agofix things when WITH_JVM and WITH_ILP is defined
Matthias Braun [Thu, 21 Dec 2006 14:57:40 +0000 (14:57 +0000)]
fix things when WITH_JVM and WITH_ILP is defined

17 years agoforgot a file
Matthias Braun [Thu, 21 Dec 2006 14:55:19 +0000 (14:55 +0000)]
forgot a file

17 years ago- All backend modules use module constructors for registering their options now
Matthias Braun [Thu, 21 Dec 2006 14:55:08 +0000 (14:55 +0000)]
- All backend modules use module constructors for registering their options now
- New register allocator modules can register themselfes in a list now,
the same will be done for spillers, copy coalescers, architectures soon

17 years agointroduction of bemodule
Matthias Braun [Thu, 21 Dec 2006 14:36:27 +0000 (14:36 +0000)]
introduction of bemodule

17 years agoAdded new required comment_string_end
Michael Beck [Wed, 20 Dec 2006 13:52:38 +0000 (13:52 +0000)]
Added new required comment_string_end

17 years agoadded comment_string_end
Christian Würdig [Tue, 19 Dec 2006 15:44:04 +0000 (15:44 +0000)]
added comment_string_end

17 years agoremoved two warnings
Michael Beck [Mon, 18 Dec 2006 17:08:44 +0000 (17:08 +0000)]
removed two warnings

17 years agoremoved C99 features
Michael Beck [Mon, 18 Dec 2006 17:03:28 +0000 (17:03 +0000)]
removed C99 features

17 years agoless output for gcd
Matthias Braun [Mon, 18 Dec 2006 15:59:41 +0000 (15:59 +0000)]
less output for gcd

17 years agofull blown version of convtest works again
Matthias Braun [Mon, 18 Dec 2006 14:25:54 +0000 (14:25 +0000)]
full blown version of convtest works again

17 years agothe spillslot coalescer is now a general frame entity coalescer for all nodes that...
Matthias Braun [Mon, 18 Dec 2006 14:24:23 +0000 (14:24 +0000)]
the spillslot coalescer is now a general frame entity coalescer for all nodes that don't have entities yet\n We use that for the lowered float->int and int->float convert nodes now

17 years agonew version of convtests that actually demonstrates the current conversion bugs
Matthias Braun [Mon, 18 Dec 2006 12:48:53 +0000 (12:48 +0000)]
new version of convtests that actually demonstrates the current conversion bugs

17 years ago- Use a default node compare attribute function for all nodes, except the ones
Matthias Braun [Mon, 18 Dec 2006 12:43:44 +0000 (12:43 +0000)]
- Use a default node compare attribute function for all nodes, except the ones
  where CSE is explicitely forbidden. This fixes some bugs where a cmp
  function was missing.
- Don't make all the nodes mode_T by default. They keep their normal mode
  node and only get set to mode_T is we actually use am_Dest
- get rid of src_mode and tgt_mode node attribute, you can get the modes
  by looking at the conv output mode and the arguments mode. This fixes
  some bugs where the src_mode and tgt_mode attributes were wrong
- cleaned up and fixed some bugs in addressmode optimisation

17 years agoreindentation...
Matthias Braun [Mon, 18 Dec 2006 12:39:21 +0000 (12:39 +0000)]
reindentation...

17 years agoadd some consts to beirg functions
Matthias Braun [Mon, 18 Dec 2006 12:37:27 +0000 (12:37 +0000)]
add some consts to beirg functions

17 years agofix for scheduling changes
Matthias Braun [Mon, 18 Dec 2006 12:36:51 +0000 (12:36 +0000)]
fix for scheduling changes

17 years agowarning fix
Matthias Braun [Mon, 18 Dec 2006 12:36:41 +0000 (12:36 +0000)]
warning fix

17 years agofix belistsched for new scheduling API
Matthias Braun [Mon, 18 Dec 2006 12:36:19 +0000 (12:36 +0000)]
fix belistsched for new scheduling API

17 years ago- Added a few asserts to the besched API, so you can't schedule a node
Matthias Braun [Mon, 18 Dec 2006 12:35:58 +0000 (12:35 +0000)]
- Added a few asserts to the besched API, so you can't schedule a node
  that is already scheduled

17 years agowarning fixes
Matthias Braun [Mon, 18 Dec 2006 12:35:15 +0000 (12:35 +0000)]
warning fixes