libfirm
17 years agoentity is ir_entity now
Matthias Braun [Fri, 2 Feb 2007 12:38:35 +0000 (12:38 +0000)]
entity is ir_entity now

[r8586]

17 years agoentity is ir_entity now
Matthias Braun [Fri, 2 Feb 2007 12:24:19 +0000 (12:24 +0000)]
entity is ir_entity now

[r8585]

17 years agoreformatted
Michael Beck [Fri, 2 Feb 2007 10:22:18 +0000 (10:22 +0000)]
reformatted

[r8583]

17 years agoremoved the old entity type
Michael Beck [Fri, 2 Feb 2007 10:21:44 +0000 (10:21 +0000)]
removed the old entity type

[r8582]

17 years agoadd local and parameter rule
Michael Beck [Thu, 1 Feb 2007 17:24:03 +0000 (17:24 +0000)]
add local and parameter rule

[r8581]

17 years agofixed missing sizeof ...
Michael Beck [Thu, 1 Feb 2007 14:54:30 +0000 (14:54 +0000)]
fixed missing sizeof ...

[r8580]

17 years agoreformated
Michael Beck [Wed, 31 Jan 2007 16:56:11 +0000 (16:56 +0000)]
reformated

[r8579]

17 years agoremoved unused data/functions, reformated
Michael Beck [Wed, 31 Jan 2007 16:41:10 +0000 (16:41 +0000)]
removed unused data/functions, reformated

[r8578]

17 years agofixed dumping of callgraph if execution frequency is not calculated
Michael Beck [Wed, 31 Jan 2007 15:44:30 +0000 (15:44 +0000)]
fixed dumping of callgraph if execution frequency is not calculated

[r8577]

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 agoadd an is_CopyB
Matthias Braun [Wed, 31 Jan 2007 12:56:35 +0000 (12:56 +0000)]
add an is_CopyB

[r8576]

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 agoenable edge calculation for all anchor nodes
Matthias Braun [Tue, 30 Jan 2007 14:09:41 +0000 (14:09 +0000)]
enable edge calculation for all anchor nodes

[r8573]

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 agocombined two allocations
Michael Beck [Mon, 29 Jan 2007 22:21:11 +0000 (22:21 +0000)]
combined two allocations

[r8569]

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 agoFixed bad memset, which didn't correctly initialize the hungarian structure
Matthias Braun [Mon, 29 Jan 2007 21:47:42 +0000 (21:47 +0000)]
Fixed bad memset, which didn't correctly initialize the hungarian structure
Added an assert to assure costs are >= 0, not sure if that is correct, if it is
not then max_costs should be initialized to INT_MIN...

[r8568]

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 agoChange: lexer accepts now identifiers composed of any printable character except...
Christian Würdig [Sat, 27 Jan 2007 15:31:34 +0000 (15:31 +0000)]
Change: lexer accepts now identifiers composed of any printable character except space

[r8563]

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 agoadd pset.c to avoid strange hackery in Makefiles
Matthias Braun [Fri, 26 Jan 2007 13:21:11 +0000 (13:21 +0000)]
add pset.c to avoid strange hackery in Makefiles

[r8562]

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 agodoxygen comment updated
Michael Beck [Thu, 25 Jan 2007 23:12:40 +0000 (23:12 +0000)]
doxygen comment updated

[r8561]

17 years agoFixed wrong assert
Michael Beck [Thu, 25 Jan 2007 23:11:58 +0000 (23:11 +0000)]
Fixed wrong assert

[r8560]

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 agofixed decimal number parsing
Michael Beck [Thu, 25 Jan 2007 14:56:53 +0000 (14:56 +0000)]
fixed decimal number parsing

[r8559]

17 years agooverkill: add parser, allowing ; to separate commands :-)
Michael Beck [Wed, 24 Jan 2007 17:56:33 +0000 (17:56 +0000)]
overkill: add parser, allowing ; to separate commands :-)

[r8558]

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 agoadded missing include irnode.h
Christian Würdig [Wed, 24 Jan 2007 15:58:23 +0000 (15:58 +0000)]
added missing include irnode.h

[r8557]

17 years agoclear inside irgwalk flag when dumping (otherwise we cannot dump inside an irgwalk)
Christian Würdig [Wed, 24 Jan 2007 15:57:39 +0000 (15:57 +0000)]
clear inside irgwalk flag when dumping (otherwise we cannot dump inside an irgwalk)

[r8556]

17 years agoreplaced unused headers by firm_types.h
Michael Beck [Wed, 24 Jan 2007 14:31:47 +0000 (14:31 +0000)]
replaced unused headers by firm_types.h

[r8555]

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 agocg_callee_entry type holding the callee information is now explicit
Michael Beck [Tue, 23 Jan 2007 16:47:27 +0000 (16:47 +0000)]
cg_callee_entry type holding the callee information is now explicit

[r8552]

17 years ago- allocated backedge array only on demand
Michael Beck [Tue, 23 Jan 2007 16:46:29 +0000 (16:46 +0000)]
- allocated backedge array only on demand
- cg_callee_entry type exported
- reformated
- cleaned up

[r8551]

17 years agomore doxygen comments added
Michael Beck [Tue, 23 Jan 2007 16:44:55 +0000 (16:44 +0000)]
more doxygen comments added

[r8550]

17 years ago- Create new copy_attr functions for blocks, phis and filters that initialize
Matthias Braun [Mon, 22 Jan 2007 11:01:02 +0000 (11:01 +0000)]
- Create new copy_attr functions for blocks, phis and filters that initialize
  their backedge arrays.
- No need to call new_backedge_arr in the DCE anymore
- Fix a bug in dce_survivor where it would allocate too few space on the obstack

[r8549]

17 years agosome sanity checks
Matthias Braun [Mon, 22 Jan 2007 10:59:39 +0000 (10:59 +0000)]
some sanity checks

[r8548]

17 years agomake sure backedges are available before dumping them
Matthias Braun [Mon, 22 Jan 2007 10:59:14 +0000 (10:59 +0000)]
make sure backedges are available before dumping them

[r8547]

17 years agoadded PLUGIN_xxx defines
Christian Würdig [Mon, 22 Jan 2007 10:24:10 +0000 (10:24 +0000)]
added PLUGIN_xxx defines

[r8545]

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 agospeedup for cycle
Michael Beck [Thu, 18 Jan 2007 21:14:55 +0000 (21:14 +0000)]
speedup for cycle

[r8542]

17 years agoUpdated doxygen docu
Michael Beck [Thu, 18 Jan 2007 21:13:59 +0000 (21:13 +0000)]
Updated doxygen docu

[r8541]

17 years agotypo fixed
Michael Beck [Thu, 18 Jan 2007 12:45:10 +0000 (12:45 +0000)]
typo fixed

[r8540]

17 years agoadd include (previously removed from the header)
Michael Beck [Thu, 18 Jan 2007 12:43:49 +0000 (12:43 +0000)]
add include (previously removed from the header)

[r8539]

17 years agoreplaced several includes by including just firm_types.h
Christian Würdig [Thu, 18 Jan 2007 09:40:17 +0000 (09:40 +0000)]
replaced several includes by including just firm_types.h
fixed some typos

[r8538]

17 years agoremoved double include
Christian Würdig [Thu, 18 Jan 2007 09:39:27 +0000 (09:39 +0000)]
removed double include

[r8537]

17 years agoadded Load/Store addres counter
Michael Beck [Wed, 17 Jan 2007 17:16:30 +0000 (17:16 +0000)]
added Load/Store addres counter
simplifyed counter access by making them an array

[r8536]

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 agoupdated
Michael Beck [Tue, 16 Jan 2007 15:52:47 +0000 (15:52 +0000)]
updated

[r8535]

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

[r8534]

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 agorenamed type opcode to ir_opcode
Michael Beck [Tue, 16 Jan 2007 15:44:58 +0000 (15:44 +0000)]
renamed type opcode to ir_opcode
to not return may_alias if type check failed, proceed with next checks

[r8533]

17 years agotypo fixed
Michael Beck [Tue, 16 Jan 2007 15:43:42 +0000 (15:43 +0000)]
typo fixed

[r8532]

17 years agofixed doxygen docu
Michael Beck [Tue, 16 Jan 2007 15:42:28 +0000 (15:42 +0000)]
fixed doxygen docu

[r8531]

17 years agorenamed type opcode to ir_opcode
Michael Beck [Tue, 16 Jan 2007 15:42:00 +0000 (15:42 +0000)]
renamed type opcode to ir_opcode
reformat
do not "panic" if a file cannot be dumped

[r8530]

17 years agofixed indent
Christian Würdig [Tue, 16 Jan 2007 13:17:53 +0000 (13:17 +0000)]
fixed indent

[r8529]

17 years agouse inside_block_walk and inside_irg_walk flaks to ensure no double walks are started
Christian Würdig [Tue, 16 Jan 2007 10:40:40 +0000 (10:40 +0000)]
use inside_block_walk and inside_irg_walk flaks to ensure no double walks are started

[r8528]

17 years agoadded flags and set/get functions indicating if we are in block walk or irg walk
Christian Würdig [Tue, 16 Jan 2007 10:22:32 +0000 (10:22 +0000)]
added flags and set/get functions indicating if we are in block walk or irg walk

[r8527]

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 agotypo fixed
Michael Beck [Mon, 15 Jan 2007 10:16:26 +0000 (10:16 +0000)]
typo fixed

[r8526]

17 years agoadd option for the memory disambiguator
Michael Beck [Mon, 15 Jan 2007 09:51:55 +0000 (09:51 +0000)]
add option for the memory disambiguator

[r8525]

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 agoir\ana\irmemory.h added
Michael Beck [Fri, 12 Jan 2007 18:13:33 +0000 (18:13 +0000)]
ir\ana\irmemory.h added

[r8524]

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 agodoxygen dcu enhanced
Michael Beck [Fri, 12 Jan 2007 18:08:19 +0000 (18:08 +0000)]
doxygen dcu enhanced

[r8521]

17 years ago- allow implicit cast from two-complements signed/unsigned to be killed
Michael Beck [Fri, 12 Jan 2007 18:07:54 +0000 (18:07 +0000)]
- allow implicit cast from two-complements signed/unsigned to be killed
- updated for new memory disambiguator

[r8520]

17 years agodefault_dbg_info_merge_sets() implemented
Michael Beck [Fri, 12 Jan 2007 18:05:33 +0000 (18:05 +0000)]
default_dbg_info_merge_sets() implemented
doxygen docu enhanced

[r8519]

17 years agoadd irmemory.h
Michael Beck [Fri, 12 Jan 2007 18:02:37 +0000 (18:02 +0000)]
add irmemory.h

[r8518]

17 years ago- memory disambiguator option can be set for the irp and for every graph
Michael Beck [Fri, 12 Jan 2007 18:02:02 +0000 (18:02 +0000)]
- memory disambiguator option can be set for the irp and for every graph
- more cases regarding TLS/locals implemented
- type based analysis: check modes first
- add option for bytes access is a may-alias for anything

[r8517]