libfirm
15 years agosimplify hungarian interface
Matthias Braun [Mon, 2 Mar 2009 00:12:32 +0000 (00:12 +0000)]
simplify hungarian interface

[r25579]

15 years agofix some warnings
Matthias Braun [Sat, 28 Feb 2009 02:15:10 +0000 (02:15 +0000)]
fix some warnings

[r25578]

15 years ago- renamed Resource.h into resource.h
Michael Beck [Fri, 27 Feb 2009 13:51:37 +0000 (13:51 +0000)]
- renamed Resource.h into resource.h

[r25574]

15 years ago- BugFix: value_param_tp must always exist
Michael Beck [Fri, 27 Feb 2009 13:49:36 +0000 (13:49 +0000)]
- BugFix: value_param_tp must always exist

[r25573]

15 years ago- IR nodes now have node numbers in RELEASE mode, this fixes problems in backend
Michael Beck [Fri, 27 Feb 2009 12:55:06 +0000 (12:55 +0000)]
- IR nodes now have node numbers in RELEASE mode, this fixes problems in backend
  and seems generally to be a good idea

[r25572]

15 years ago- fixed warnings
Michael Beck [Fri, 27 Feb 2009 12:53:04 +0000 (12:53 +0000)]
- fixed warnings
- reformatted to "firm" style

[r25571]

15 years ago- add doxygen comment
Michael Beck [Fri, 27 Feb 2009 12:29:36 +0000 (12:29 +0000)]
- add doxygen comment

[r25570]

15 years ago- fixed comments
Michael Beck [Fri, 27 Feb 2009 12:28:11 +0000 (12:28 +0000)]
- fixed comments

[r25569]

15 years agoLINTify: s/fall through/FALLTHROUGH/.
Christoph Mallon [Sun, 22 Feb 2009 12:18:55 +0000 (12:18 +0000)]
LINTify: s/fall through/FALLTHROUGH/.

[r25557]

15 years agoAsk env where python is.
Christoph Mallon [Sun, 22 Feb 2009 12:18:26 +0000 (12:18 +0000)]
Ask env where python is.

[r25556]

15 years agoWhen sorting calls enforce a total order, because qsort() needs one.
Christoph Mallon [Sun, 22 Feb 2009 12:16:42 +0000 (12:16 +0000)]
When sorting calls enforce a total order, because qsort() needs one.
Revoke PhD from: shack
Revoke diploma from: chriswue

[r25555]

15 years agoMake Visual Studio happy
Moritz Kroll [Sat, 21 Feb 2009 22:21:40 +0000 (22:21 +0000)]
Make Visual Studio happy

[r25554]

15 years agoirio: Ex/Import non-internal modes
Moritz Kroll [Sat, 21 Feb 2009 21:38:17 +0000 (21:38 +0000)]
irio: Ex/Import non-internal modes

[r25553]

15 years agotypo
Moritz Kroll [Sat, 21 Feb 2009 21:35:55 +0000 (21:35 +0000)]
typo

[r25552]

15 years ago- BugFix: the block of a Confirm can (and is in most cases) different of the block...
Michael Beck [Sat, 21 Feb 2009 20:10:58 +0000 (20:10 +0000)]
- BugFix: the block of a Confirm can (and is in most cases) different of the block of its value

[r25551]

15 years agoupdated for rename
Michael Beck [Sat, 21 Feb 2009 19:56:55 +0000 (19:56 +0000)]
updated for rename

[r25550]

15 years agoirio: Save all attributes of Cond
Moritz Kroll [Sat, 21 Feb 2009 18:53:03 +0000 (18:53 +0000)]
irio: Save all attributes of Cond

[r25548]

15 years agoRenamed get_Cond_defaultProj() to get_Cond_default_proj() for consistency. Added...
Moritz Kroll [Sat, 21 Feb 2009 18:50:43 +0000 (18:50 +0000)]
Renamed get_Cond_defaultProj() to get_Cond_default_proj() for consistency. Added set_Cond_default_proj() and get_cond_kind_name(). Made get_cond_jmp_predicate_name() consistent with other enum name functions.

[r25545]

15 years agoName cond.pred attribute consistent to getter/setters (-> cond.jmp_pred)
Moritz Kroll [Sat, 21 Feb 2009 18:07:53 +0000 (18:07 +0000)]
Name cond.pred attribute consistent to getter/setters (-> cond.jmp_pred)

[r25544]

15 years agoirio: Map id of body block of const irg to new const irg
Moritz Kroll [Sat, 21 Feb 2009 16:32:12 +0000 (16:32 +0000)]
irio: Map id of body block of const irg to new const irg

[r25543]

15 years agoirio: Improved dump order to allow self-referencing structs
Moritz Kroll [Sat, 21 Feb 2009 15:53:20 +0000 (15:53 +0000)]
irio: Improved dump order to allow self-referencing structs

[r25542]

15 years agoirio: Save method variadicity
Moritz Kroll [Sat, 21 Feb 2009 15:22:44 +0000 (15:22 +0000)]
irio: Save method variadicity

[r25541]

15 years agoFixed set_method_value_param_type()
Moritz Kroll [Sat, 21 Feb 2009 15:22:15 +0000 (15:22 +0000)]
Fixed set_method_value_param_type()

[r25540]

15 years agoirio: Fixed handling of frame types and value types
Moritz Kroll [Sat, 21 Feb 2009 14:49:38 +0000 (14:49 +0000)]
irio: Fixed handling of frame types and value types

[r25539]

15 years agoirio: Added union support. Save calling_convention and additional_properties attribut...
Moritz Kroll [Fri, 20 Feb 2009 21:55:51 +0000 (21:55 +0000)]
irio: Added union support. Save calling_convention and additional_properties attributes of methods

[r25538]

15 years agoirio: Fixed symbols with same string but different type tag
Moritz Kroll [Fri, 20 Feb 2009 20:30:20 +0000 (20:30 +0000)]
irio: Fixed symbols with same string but different type tag

[r25537]

15 years agoFixed new_tarval_from_str() for boolean and reference modes (it hurts!!!)
Moritz Kroll [Fri, 20 Feb 2009 20:20:31 +0000 (20:20 +0000)]
Fixed new_tarval_from_str() for boolean and reference modes (it hurts!!!)

[r25536]

15 years agoAdded strict_flag to new_r/rd_Conv(). Fixed strict Convs for irio.
Moritz Kroll [Thu, 19 Feb 2009 14:23:47 +0000 (14:23 +0000)]
Added strict_flag to new_r/rd_Conv(). Fixed strict Convs for irio.

[r25529]

15 years agoFixed reading infinity floats from strings
Moritz Kroll [Thu, 19 Feb 2009 14:22:33 +0000 (14:22 +0000)]
Fixed reading infinity floats from strings

[r25528]

15 years agoirio: Added CopyB support
Moritz Kroll [Wed, 18 Feb 2009 22:18:31 +0000 (22:18 +0000)]
irio: Added CopyB support

[r25526]

15 years agoirio: Fixed wrong line numbers
Moritz Kroll [Wed, 18 Feb 2009 22:00:28 +0000 (22:00 +0000)]
irio: Fixed wrong line numbers

[r25525]

15 years agoirio: Added support for Builtin nodes
Moritz Kroll [Wed, 18 Feb 2009 21:24:27 +0000 (21:24 +0000)]
irio: Added support for Builtin nodes

[r25524]

15 years agosmall changes to make unionfind a tiny bit more efficient and easier to use
Matthias Braun [Wed, 18 Feb 2009 16:05:13 +0000 (16:05 +0000)]
small changes to make unionfind a tiny bit more efficient and easier to use

[r25523]

15 years agoirio: Fixed importing entities with atomic values
Moritz Kroll [Wed, 18 Feb 2009 01:00:12 +0000 (01:00 +0000)]
irio: Fixed importing entities with atomic values

[r25522]

15 years agoirio: Added support for Quot and Mod nodes
Moritz Kroll [Wed, 18 Feb 2009 00:58:29 +0000 (00:58 +0000)]
irio: Added support for Quot and Mod nodes

[r25521]

15 years agoirio: Also dump the frame types of irgs
Moritz Kroll [Wed, 18 Feb 2009 00:26:48 +0000 (00:26 +0000)]
irio: Also dump the frame types of irgs

[r25520]

15 years agoirio: Implemented importing entity initializers
Moritz Kroll [Wed, 18 Feb 2009 00:04:05 +0000 (00:04 +0000)]
irio: Implemented importing entity initializers

[r25519]

15 years agoirio: Started adding support for entity initializers
Moritz Kroll [Tue, 17 Feb 2009 22:59:46 +0000 (22:59 +0000)]
irio: Started adding support for entity initializers

[r25518]

15 years agoAdded has_entity_initializer() and get_initializer_kind_name()
Moritz Kroll [Tue, 17 Feb 2009 22:33:29 +0000 (22:33 +0000)]
Added has_entity_initializer() and get_initializer_kind_name()

[r25517]

15 years agoPBQP transformer doesn't support Mux nodes with constant values (see r25205).
Sebastian Buchwald [Wed, 11 Feb 2009 13:47:03 +0000 (13:47 +0000)]
PBQP transformer doesn't support Mux nodes with constant values (see r25205).

[r25479]

15 years agoirio: Fixed ir_cons_flags import for Load and Store. Added support for Div and DivMod
Moritz Kroll [Wed, 11 Feb 2009 00:19:39 +0000 (00:19 +0000)]
irio: Fixed ir_cons_flags import for Load and Store. Added support for Div and DivMod

[r25473]

15 years ago- ensure that the end block is always last/first
Michael Beck [Tue, 10 Feb 2009 23:58:05 +0000 (23:58 +0000)]
- ensure that the end block is always last/first
- find_definition() can fail if memory is accessed using different modes

[r25472]

15 years ago- skip Confirm and Cast for address calculation
Michael Beck [Tue, 10 Feb 2009 17:23:07 +0000 (17:23 +0000)]
- skip Confirm and Cast for address calculation
- skip keep-alive edges
- fixed: do not insert of fully redundand loads (already handled earlier)
- partly fixed: End block is not reached using out-edges ...

[r25465]

15 years ago- BugFixes: WAW can inly be done immediately if both stores
Michael Beck [Tue, 10 Feb 2009 13:30:18 +0000 (13:30 +0000)]
- BugFixes: WAW can inly be done immediately if both stores
  are in the same block
- find_definition() must check real dominance for values, not only for blocks

[r25464]

15 years ago- Added ir_export which is supposed to export the whole irp
Moritz Kroll [Fri, 6 Feb 2009 00:43:50 +0000 (00:43 +0000)]
- Added ir_export which is supposed to export the whole irp
- Implemented exporting entity initializers
- get_compound_ent_value now also uses skip_Id... currently this is needed,
  because of the way entity initializers are imported using Dummy nodes
- Fixed import of End node
- Added import/export support for pointer types

[r25440]

15 years ago- don't call it Schn... it's a symbol table
Michael Beck [Thu, 5 Feb 2009 15:50:34 +0000 (15:50 +0000)]
- don't call it Schn... it's a symbol table
- place some panic()'s instead of assert(0)

[r25439]

15 years agoUpdated Visual Studio project. Somehow it doesn't understand to recompile irio.c...
Moritz Kroll [Wed, 4 Feb 2009 13:27:29 +0000 (13:27 +0000)]
Updated Visual Studio project. Somehow it doesn't understand to recompile irio.c if ir_spec.py is changed...

[r25428]

15 years agoPrepare ir_io scripts for Jam
Moritz Kroll [Wed, 4 Feb 2009 13:14:40 +0000 (13:14 +0000)]
Prepare ir_io scripts for Jam

[r25426]

15 years ago- add missing Load and Builtin support for opcode()
Michael Beck [Wed, 4 Feb 2009 10:34:38 +0000 (10:34 +0000)]
- add missing Load and Builtin support for opcode()

[r25423]

15 years agoAdded first version of IR importer/exporter
Moritz Kroll [Wed, 4 Feb 2009 09:42:57 +0000 (09:42 +0000)]
Added first version of IR importer/exporter

[r25422]

15 years agoBugFixes:
Michael Beck [Mon, 2 Feb 2009 13:12:42 +0000 (13:12 +0000)]
BugFixes:
 - fixed rerouting if the last-mem is in a previous block
 - a Phi is it's own memory

[r25415]

15 years agoBugFix:
Michael Beck [Mon, 2 Feb 2009 12:28:00 +0000 (12:28 +0000)]
BugFix:
 - use rbitset_cpy(): this fixes the wrong size of the former memcpy()
 - if no memops are found, skip the analysis (which would crash either)
 - do not reroute memory if the last memory op is from a previous block

[r25414]

15 years ago- add doxygen comments to all functions
Michael Beck [Mon, 2 Feb 2009 11:57:33 +0000 (11:57 +0000)]
- add doxygen comments to all functions
- add rbitset_cpy()
- simplify rbitset_equal()
- if( -> if (

[r25413]

15 years ago- switch off debug mask
Michael Beck [Sun, 1 Feb 2009 20:21:44 +0000 (20:21 +0000)]
- switch off debug mask

[r25411]

15 years ago- fixed exchange
Michael Beck [Sun, 1 Feb 2009 20:20:32 +0000 (20:20 +0000)]
- fixed exchange

[r25410]

15 years ago- new dataflow driven load/store optimization, inspired by LEPRE (incomplete yet)
Michael Beck [Sun, 1 Feb 2009 20:12:09 +0000 (20:12 +0000)]
- new dataflow driven load/store optimization, inspired by LEPRE (incomplete yet)

[r25408]

15 years ago- BugFix: fixed wrong usage of classify_pointer()
Michael Beck [Fri, 30 Jan 2009 17:14:53 +0000 (17:14 +0000)]
- BugFix: fixed wrong usage of classify_pointer()

[r25405]

15 years agoupdate NEWS, fix warning, remove unnecessary genconfigure.sh (use autoreconf)
Matthias Braun [Wed, 28 Jan 2009 20:22:14 +0000 (20:22 +0000)]
update NEWS, fix warning, remove unnecessary genconfigure.sh (use autoreconf)

[r25388]

15 years agoinitialize backend opcode right after frontend opcodes
Matthias Braun [Tue, 27 Jan 2009 10:19:00 +0000 (10:19 +0000)]
initialize backend opcode right after frontend opcodes

[r25379]

15 years ago- Bugfix irg_out_block_walk() was doing wrong things when input was not a node
Michael Beck [Thu, 22 Jan 2009 13:56:57 +0000 (13:56 +0000)]
- Bugfix irg_out_block_walk() was doing wrong things when input was not a node

[r25335]

15 years ago- indentation
Michael Beck [Thu, 22 Jan 2009 13:32:11 +0000 (13:32 +0000)]
- indentation

[r25332]

15 years ago- do not create useless Confirm(x == true) and Confirm(x == false) Confirms,
Michael Beck [Thu, 22 Jan 2009 11:04:25 +0000 (11:04 +0000)]
- do not create useless Confirm(x == true) and Confirm(x == false) Confirms,
  use the constants directly

[r25324]

15 years agoAdded Dummy node which does not CSE with anything
Moritz Kroll [Wed, 21 Jan 2009 17:40:25 +0000 (17:40 +0000)]
Added Dummy node which does not CSE with anything

[r25322]

15 years ago- set this-call when removing trampolines
Michael Beck [Tue, 20 Jan 2009 13:08:18 +0000 (13:08 +0000)]
- set this-call when removing trampolines

[r25299]

15 years agofix warnings
Matthias Braun [Tue, 20 Jan 2009 09:59:02 +0000 (09:59 +0000)]
fix warnings

[r25292]

15 years agofix warnings
Matthias Braun [Tue, 20 Jan 2009 09:57:19 +0000 (09:57 +0000)]
fix warnings

[r25291]

15 years agofix warnings
Matthias Braun [Tue, 20 Jan 2009 09:57:01 +0000 (09:57 +0000)]
fix warnings

[r25290]

15 years agosimply kill the pins in besched phase, everything is scheduled anyway, while moving...
Matthias Braun [Tue, 20 Jan 2009 09:50:58 +0000 (09:50 +0000)]
simply kill the pins in besched phase, everything is scheduled anyway, while moving Pins around doesn't work in all situations

[r25289]

15 years ago- renamed variadicity to ir_variadicity
Michael Beck [Tue, 20 Jan 2009 03:22:56 +0000 (03:22 +0000)]
- renamed variadicity to ir_variadicity

[r25285]

15 years ago- when control flow is changed, invalidate the entity usage state
Michael Beck [Tue, 20 Jan 2009 03:14:54 +0000 (03:14 +0000)]
- when control flow is changed, invalidate the entity usage state

[r25284]

15 years ago- check for peculiarity_description for inner functions
Michael Beck [Tue, 20 Jan 2009 03:05:45 +0000 (03:05 +0000)]
- check for peculiarity_description for inner functions

[r25283]

15 years ago- say debug message BEFORE the irg is killed
Michael Beck [Tue, 20 Jan 2009 03:04:59 +0000 (03:04 +0000)]
- say debug message BEFORE the irg is killed

[r25282]

15 years ago- check for entities on the frame only (no more value_param_proj)
Michael Beck [Tue, 20 Jan 2009 03:04:07 +0000 (03:04 +0000)]
- check for entities on the frame only (no more value_param_proj)

[r25281]

15 years ago- set the entity state to NOT computed after inlining
Michael Beck [Tue, 20 Jan 2009 03:03:15 +0000 (03:03 +0000)]
- set the entity state to NOT computed after inlining

[r25280]

15 years ago- make a direct call from a trampoline call if possible
Michael Beck [Tue, 20 Jan 2009 03:02:31 +0000 (03:02 +0000)]
- make a direct call from a trampoline call if possible

[r25279]

15 years ago- undo erroneous checkin
Michael Beck [Tue, 20 Jan 2009 01:23:27 +0000 (01:23 +0000)]
- undo erroneous checkin

[r25278]

15 years ago- fixed handling of outer frame access
Michael Beck [Tue, 20 Jan 2009 01:20:48 +0000 (01:20 +0000)]
- fixed handling of outer frame access

[r25277]

15 years ago- teach the analyzer how to handle inner functions
Michael Beck [Tue, 20 Jan 2009 01:20:08 +0000 (01:20 +0000)]
- teach the analyzer how to handle inner functions

[r25276]

15 years ago- mostly implemented access to outer frame variables, however offset, is wrong yet
Michael Beck [Mon, 19 Jan 2009 23:14:27 +0000 (23:14 +0000)]
- mostly implemented access to outer frame variables, however offset, is wrong yet

[r25274]

15 years ago- do not lower Sels to outer frame
Michael Beck [Mon, 19 Jan 2009 23:13:12 +0000 (23:13 +0000)]
- do not lower Sels to outer frame

[r25273]

15 years ago- implemented get_irg_value_param_type()
Michael Beck [Mon, 19 Jan 2009 23:12:13 +0000 (23:12 +0000)]
- implemented get_irg_value_param_type()

[r25272]

15 years ago- do not kick inner functions from the frame type
Michael Beck [Mon, 19 Jan 2009 20:55:54 +0000 (20:55 +0000)]
- do not kick inner functions from the frame type

[r25271]

15 years agoassert that edges are enabled before using them
Matthias Braun [Mon, 19 Jan 2009 19:15:08 +0000 (19:15 +0000)]
assert that edges are enabled before using them

[r25269]

15 years agonot buggy (said Michael)
Matthias Braun [Mon, 19 Jan 2009 19:14:20 +0000 (19:14 +0000)]
not buggy (said Michael)

[r25268]

15 years ago- Fixed ir_bk_inner_trampoline
Michael Beck [Mon, 19 Jan 2009 16:18:46 +0000 (16:18 +0000)]
- Fixed ir_bk_inner_trampoline

[r25264]

15 years agoget_irn_n_edges is implemented nowhere (there's #define magic that always triggers)
Matthias Braun [Mon, 19 Jan 2009 16:13:21 +0000 (16:13 +0000)]
get_irn_n_edges is implemented nowhere (there's #define magic that always triggers)

[r25263]

15 years agocorectly handle this_call
Michael Beck [Mon, 19 Jan 2009 16:11:24 +0000 (16:11 +0000)]
corectly handle this_call

[r25262]

15 years ago- added ir_bk_inner_trampoline: this allows to defer the construction of trampolines
Michael Beck [Mon, 19 Jan 2009 14:02:40 +0000 (14:02 +0000)]
- added ir_bk_inner_trampoline: this allows to defer the construction of trampolines

[r25256]

15 years agoGet rid of pn_Start_value_param:
Michael Beck [Mon, 19 Jan 2009 00:47:39 +0000 (00:47 +0000)]
Get rid of pn_Start_value_param:
Access to value_type entities is now given by the frame pointer.

[r25246]

15 years ago- preliminary steps to remove the value_param Proj
Michael Beck [Sun, 18 Jan 2009 19:57:45 +0000 (19:57 +0000)]
- preliminary steps to remove the value_param Proj

[r25245]

15 years ago- fixed typos
Michael Beck [Sun, 18 Jan 2009 17:21:11 +0000 (17:21 +0000)]
- fixed typos

[r25243]

15 years ago- really remove Min/Max, fix r25220
Michael Beck [Fri, 16 Jan 2009 20:26:42 +0000 (20:26 +0000)]
- really remove Min/Max, fix r25220

[r25230]

15 years ago- BugFix: do NOT dump loop info IF it is not valid
Michael Beck [Fri, 16 Jan 2009 18:03:30 +0000 (18:03 +0000)]
- BugFix: do NOT dump loop info IF it is not valid

[r25229]

15 years ago- add missing \n
Michael Beck [Fri, 16 Jan 2009 18:02:41 +0000 (18:02 +0000)]
- add missing \n

[r25228]

15 years agoBugFix:
Michael Beck [Fri, 16 Jan 2009 18:02:10 +0000 (18:02 +0000)]
BugFix:
new_rd_*() must ALWAYS set the current_ir_graph to the irg argument, otherwise
optimize_node() runs on the wrong irg, causing newly created nodes be put
onto the wrong value_table!

[r25227]

15 years agomin and max are no more
Matthias Braun [Fri, 16 Jan 2009 15:14:14 +0000 (15:14 +0000)]
min and max are no more

[r25220]

15 years agofix warning
Matthias Braun [Fri, 16 Jan 2009 14:47:58 +0000 (14:47 +0000)]
fix warning

[r25219]

15 years agoPBQP transformer doesn't support Mux nodes with constant values.
Sebastian Buchwald [Thu, 15 Jan 2009 12:07:10 +0000 (12:07 +0000)]
PBQP transformer doesn't support Mux nodes with constant values.

[r25205]

15 years ago- add support for statistics and merge debug info
Michael Beck [Wed, 14 Jan 2009 15:14:14 +0000 (15:14 +0000)]
- add support for statistics and merge debug info

[r25195]

15 years ago- add support for cond_eval statistics
Michael Beck [Wed, 14 Jan 2009 15:12:24 +0000 (15:12 +0000)]
- add support for cond_eval statistics

[r25194]