libfirm
16 years agofix warnings
Matthias Braun [Fri, 4 Jan 2008 13:24:08 +0000 (13:24 +0000)]
fix warnings

[r17157]

16 years agofix warning
Matthias Braun [Fri, 4 Jan 2008 13:23:25 +0000 (13:23 +0000)]
fix warning

[r17156]

16 years agoupdate copyright message
Michael Beck [Wed, 2 Jan 2008 20:56:33 +0000 (20:56 +0000)]
update copyright message

[r17143]

16 years agochanged the projection numbers of Raise to match the generic scheme
Michael Beck [Wed, 2 Jan 2008 17:13:55 +0000 (17:13 +0000)]
changed the projection numbers of Raise to match the generic scheme

[r17139]

16 years ago- implemented be_Unwind
Michael Beck [Wed, 2 Jan 2008 16:41:39 +0000 (16:41 +0000)]
- implemented be_Unwind
- constify some functions
- more doxygen comments

[r17136]

16 years agoYasm don't like fnstsw, requires an %ax argument. Gas can cope with.
Michael Beck [Wed, 2 Jan 2008 02:22:07 +0000 (02:22 +0000)]
Yasm don't like fnstsw, requires an %ax argument. Gas can cope with.

[r17128]

16 years agoadded GNU_FLAVOUR_YASM to support the YASM assembler
Michael Beck [Wed, 2 Jan 2008 00:22:18 +0000 (00:22 +0000)]
added GNU_FLAVOUR_YASM to support the YASM assembler

[r17127]

16 years agodetect and handle malloc and nothrow functions
Michael Beck [Tue, 1 Jan 2008 17:04:55 +0000 (17:04 +0000)]
detect and handle malloc and nothrow functions

[r17124]

16 years agocleaned up code:
Michael Beck [Tue, 1 Jan 2008 16:31:54 +0000 (16:31 +0000)]
cleaned up code:
 - fixed indentation
 - constify
 - remove unnecessary casts

[r17123]

16 years agoImproved implementation:
Michael Beck [Tue, 1 Jan 2008 15:50:32 +0000 (15:50 +0000)]
Improved implementation:
 - removed commented out code
 - removed some unnecessary memory copies
 - used new functions
 - use unknown_entity instead of "MARK"
 - fixed some comments
 - improve doxygen comments

[r17122]

16 years agoadded rbitset_clear_all()
Michael Beck [Mon, 31 Dec 2007 18:05:14 +0000 (18:05 +0000)]
added rbitset_clear_all()

[r17121]

16 years agoimproved _get_entity_irg() implementation
Michael Beck [Mon, 31 Dec 2007 16:34:40 +0000 (16:34 +0000)]
improved _get_entity_irg() implementation

[r17119]

16 years agois_SymConst_addr_ent() added
Michael Beck [Sun, 30 Dec 2007 16:35:17 +0000 (16:35 +0000)]
is_SymConst_addr_ent() added

[r17111]

16 years agoeven more function parameters const
Michael Beck [Sun, 30 Dec 2007 04:41:02 +0000 (04:41 +0000)]
even more function parameters const
cleaned up some code

[r17108]

16 years agomade more function parameters const
Michael Beck [Sun, 30 Dec 2007 04:21:21 +0000 (04:21 +0000)]
made more function parameters const

[r17107]

16 years agomade more function parameters const
Michael Beck [Sun, 30 Dec 2007 04:17:24 +0000 (04:17 +0000)]
made more function parameters const

[r17106]

16 years agoadd missing include
Michael Beck [Sun, 30 Dec 2007 04:16:14 +0000 (04:16 +0000)]
add missing include

[r17105]

16 years agomade some function parameters const
Michael Beck [Sun, 30 Dec 2007 03:52:44 +0000 (03:52 +0000)]
made some function parameters const

[r17104]

16 years agoIgnore Block->Block out edges when iterating over all out edges of a Block.
Michael Beck [Sun, 30 Dec 2007 01:25:05 +0000 (01:25 +0000)]
Ignore Block->Block out edges when iterating over all out edges of a Block.
These should be MacroBlock edges and can be safely ignored.

[r17102]

16 years agorenamed where_alloc to ir_where_alloc
Michael Beck [Sat, 29 Dec 2007 18:29:40 +0000 (18:29 +0000)]
renamed where_alloc to ir_where_alloc

[r17099]

16 years agoBugFix: must handle regular exception flow
Michael Beck [Sat, 29 Dec 2007 16:07:01 +0000 (16:07 +0000)]
BugFix: must handle regular exception flow

[r17096]

16 years agotypo fixed, cleaned up a bit
Michael Beck [Sat, 29 Dec 2007 03:27:03 +0000 (03:27 +0000)]
typo fixed, cleaned up a bit

[r17089]

16 years agoHandle MacroBlock edges: These are Block->Block edges of EDGE_KIND_NORMAL.
Michael Beck [Sat, 29 Dec 2007 03:26:17 +0000 (03:26 +0000)]
Handle MacroBlock edges: These are Block->Block edges of EDGE_KIND_NORMAL.
This simplifies some code.

[r17088]

16 years ago- allow the macroblock edge to be dumped
Michael Beck [Sat, 29 Dec 2007 03:24:54 +0000 (03:24 +0000)]
- allow the macroblock edge to be dumped
- removed unused code

[r17087]

16 years agoIgnore Block->Block out edges when iterating over all out edges of a Block.
Michael Beck [Sat, 29 Dec 2007 03:23:42 +0000 (03:23 +0000)]
Ignore Block->Block out edges when iterating over all out edges of a Block.
These should be MacroBlock edges and can be safely ignored.

[r17086]

16 years agoFixed critical edges construction: Ignore real exception flow, handle regular flow.
Michael Beck [Sat, 29 Dec 2007 03:23:00 +0000 (03:23 +0000)]
Fixed critical edges construction: Ignore real exception flow, handle regular flow.

[r17085]

16 years ago- allow the macroblock edge to be dumped
Michael Beck [Fri, 28 Dec 2007 17:21:26 +0000 (17:21 +0000)]
- allow the macroblock edge to be dumped
- some doxygen comments added

[r17080]

16 years agouse edges_assure() where appropriate
Michael Beck [Fri, 28 Dec 2007 17:20:02 +0000 (17:20 +0000)]
use edges_assure() where appropriate

[r17079]

16 years agoIgnore Block->Block out edges when iterating over all out edges of a Block.
Michael Beck [Fri, 28 Dec 2007 17:02:55 +0000 (17:02 +0000)]
Ignore Block->Block out edges when iterating over all out edges of a Block.
These should be MacroBlock edges and can be safely ignored.

[r17078]

16 years agoAssert that only float Cmps have unordered Projs.
Christoph Mallon [Thu, 20 Dec 2007 08:24:42 +0000 (08:24 +0000)]
Assert that only float Cmps have unordered Projs.

[r17028]

16 years agochange x86 cpu names to match gcc -march switch
Michael Beck [Wed, 19 Dec 2007 15:16:12 +0000 (15:16 +0000)]
change x86 cpu names to match gcc -march switch

[r17026]

16 years agoeven crazier
Matthias Braun [Mon, 17 Dec 2007 18:32:42 +0000 (18:32 +0000)]
even crazier

[r17009]

16 years agodereferencing function pointers
Matthias Braun [Mon, 17 Dec 2007 18:31:39 +0000 (18:31 +0000)]
dereferencing function pointers

[r17008]

16 years agoreimplement the long long -> double, conversion. Removed broken double -> long long...
Matthias Braun [Mon, 17 Dec 2007 18:27:46 +0000 (18:27 +0000)]
reimplement the long long -> double, conversion. Removed broken double -> long long conv for now

[r17007]

16 years agodouble,longlong conv problems
Matthias Braun [Mon, 17 Dec 2007 18:27:20 +0000 (18:27 +0000)]
double,longlong conv problems

[r17006]

16 years agoBugFix: n has changed it's meaning
Michael Beck [Mon, 17 Dec 2007 15:30:48 +0000 (15:30 +0000)]
BugFix: n has changed it's meaning

[r17004]

16 years agofixed warning
Michael Beck [Mon, 17 Dec 2007 14:21:50 +0000 (14:21 +0000)]
fixed warning

[r17003]

16 years agoimproved detection of pure and const functions (now works for recursive one of any...
Michael Beck [Mon, 17 Dec 2007 14:10:31 +0000 (14:10 +0000)]
improved detection of pure and const functions (now works for recursive one of any depth)

[r17002]

16 years agouse xmalloc instead of malloc
Michael Beck [Mon, 17 Dec 2007 13:39:17 +0000 (13:39 +0000)]
use xmalloc instead of malloc

[r17001]

16 years agosome comments added
Michael Beck [Sun, 16 Dec 2007 19:24:10 +0000 (19:24 +0000)]
some comments added

[r16995]

16 years agofix replace_call
Matthias Braun [Fri, 14 Dec 2007 17:27:15 +0000 (17:27 +0000)]
fix replace_call

[r16989]

16 years agofinally fixed clone_type_method()
Michael Beck [Fri, 14 Dec 2007 15:29:57 +0000 (15:29 +0000)]
finally fixed clone_type_method()

[r16983]

16 years agoimproved verify message
Michael Beck [Fri, 14 Dec 2007 15:23:16 +0000 (15:23 +0000)]
improved verify message

[r16982]

16 years agorestored old behavior of dump_ir_*_sched() functions: Can be called without schedule...
Michael Beck [Fri, 14 Dec 2007 15:14:34 +0000 (15:14 +0000)]
restored old behavior of dump_ir_*_sched() functions: Can be called without schedule info available

[r16981]

16 years agofixed criation of private properties and calls
Michael Beck [Fri, 14 Dec 2007 14:36:47 +0000 (14:36 +0000)]
fixed criation of private properties and calls

[r16979]

16 years agoclone method can add a prefix
Michael Beck [Fri, 14 Dec 2007 14:19:18 +0000 (14:19 +0000)]
clone method can add a prefix

[r16978]

16 years agohandle Return(Unknown) == missing return when lowering compound returns (fixes fehler...
Michael Beck [Wed, 12 Dec 2007 19:55:55 +0000 (19:55 +0000)]
handle Return(Unknown) == missing return when lowering compound returns (fixes fehler105.c)

[r16966]

16 years agoone more fehler
Matthias Braun [Wed, 12 Dec 2007 10:44:17 +0000 (10:44 +0000)]
one more fehler

[r16955]

16 years agoadded missing allocation
Michael Beck [Tue, 11 Dec 2007 21:23:05 +0000 (21:23 +0000)]
added missing allocation

[r16954]

16 years agouse separate command for linking in makereport, remove some flags that were used...
Matthias Braun [Tue, 11 Dec 2007 11:14:43 +0000 (11:14 +0000)]
use separate command for linking in makereport, remove some flags that were used for the gcc testsuite

[r16945]

16 years agomake get_inversed_pnc and get_negated_pnc return pn_Cmp to avoid warnings in frontends
Matthias Braun [Tue, 11 Dec 2007 11:09:58 +0000 (11:09 +0000)]
make get_inversed_pnc and get_negated_pnc return pn_Cmp to avoid warnings in frontends

[r16944]

16 years agodo not skip convs from mode_b before Cmp
Matthias Braun [Tue, 11 Dec 2007 11:09:13 +0000 (11:09 +0000)]
do not skip convs from mode_b before Cmp

[r16943]

16 years agomake it possible to not lower bitfields
Matthias Braun [Tue, 11 Dec 2007 11:08:51 +0000 (11:08 +0000)]
make it possible to not lower bitfields

[r16942]

16 years agoImproved mark_private_methods():
Michael Beck [Mon, 10 Dec 2007 17:58:11 +0000 (17:58 +0000)]
Improved mark_private_methods():
 - set the mtp_private property to the entity
 - clone the method type of the entity and the calls, this
   should solve the problem with cparser's shared types

[r16939]

16 years agoAdd clone_type_method()
Michael Beck [Mon, 10 Dec 2007 17:56:32 +0000 (17:56 +0000)]
Add clone_type_method()

[r16938]

16 years agofixed comment: get_call_abi() get the call type, NOT the method type of the called...
Michael Beck [Mon, 10 Dec 2007 17:55:50 +0000 (17:55 +0000)]
fixed comment: get_call_abi() get the call type, NOT the method type of the called entity

[r16937]

16 years agoremoved some consts creating MSVC warnings
Michael Beck [Mon, 10 Dec 2007 17:52:14 +0000 (17:52 +0000)]
removed some consts creating MSVC warnings

[r16936]

16 years ago- handle pure Calls like Load nodes
Michael Beck [Mon, 10 Dec 2007 16:28:52 +0000 (16:28 +0000)]
- handle pure Calls like Load nodes
- remove unused code

[r16933]

16 years agofixed prototype
Michael Beck [Mon, 10 Dec 2007 13:32:24 +0000 (13:32 +0000)]
fixed prototype

[r16931]

16 years ago- use firm debug facility instead of old verbosity
Michael Beck [Mon, 10 Dec 2007 13:30:50 +0000 (13:30 +0000)]
- use firm debug facility instead of old verbosity
- small fixes, removed unused code
- fixed indentation

[r16930]

16 years agofix sc_sub_bits with non 8*x bitsizes
Matthias Braun [Mon, 10 Dec 2007 12:38:46 +0000 (12:38 +0000)]
fix sc_sub_bits with non 8*x bitsizes

[r16929]

16 years agofehler104: tarval problems with uneven sub bits
Matthias Braun [Sat, 8 Dec 2007 13:08:17 +0000 (13:08 +0000)]
fehler104: tarval problems with uneven sub bits

[r16926]

16 years agoBugFix: get the high mode from the second result in map_Mod()
Michael Beck [Fri, 7 Dec 2007 13:45:17 +0000 (13:45 +0000)]
BugFix: get the high mode from the second result in map_Mod()

[r16921]

16 years agoBugFix: missing skip_Proj() added
Michael Beck [Fri, 7 Dec 2007 01:44:31 +0000 (01:44 +0000)]
BugFix: missing skip_Proj() added

[r16915]

16 years agoused new SymConst constructor
Michael Beck [Fri, 7 Dec 2007 01:08:58 +0000 (01:08 +0000)]
used new SymConst constructor

[r16914]

16 years agoAdd an ir_mode * parameter to all SymConst constructors (avoiding the "builtin" mode_...
Michael Beck [Fri, 7 Dec 2007 00:29:55 +0000 (00:29 +0000)]
Add an ir_mode * parameter to all SymConst constructors (avoiding the "builtin" mode_Is/mode_P_data)

[r16911]

16 years agotest cparser's __func__ and friends
Michael Beck [Tue, 4 Dec 2007 16:51:45 +0000 (16:51 +0000)]
test cparser's __func__ and friends

[r16883]

16 years agotry to not make public API dependent on WITH_LIBCORE
Matthias Braun [Tue, 4 Dec 2007 11:14:57 +0000 (11:14 +0000)]
try to not make public API dependent on WITH_LIBCORE

[r16879]

16 years agoalways use firm builtin debug facilities (libcore ones are more or less a copy of...
Matthias Braun [Tue, 4 Dec 2007 09:06:18 +0000 (09:06 +0000)]
always use firm builtin debug facilities (libcore ones are more or less a copy of it anyway)

[r16878]

16 years agofixed unary minus on unsigned warning
Michael Beck [Mon, 3 Dec 2007 15:13:46 +0000 (15:13 +0000)]
fixed unary minus on unsigned warning

[r16870]

16 years agorefactor some dumping code and add some functions that dump to FILE*
Matthias Braun [Sun, 2 Dec 2007 19:13:35 +0000 (19:13 +0000)]
refactor some dumping code and add some functions that dump to FILE*

[r16864]

16 years agosize/aligment of types is now unsigned and in bytes, this fixes fehler095.c (array...
Michael Beck [Wed, 28 Nov 2007 17:38:35 +0000 (17:38 +0000)]
size/aligment of types is now unsigned and in bytes, this fixes fehler095.c (array to big)

[r16860]

16 years agofixed warning
Michael Beck [Wed, 28 Nov 2007 16:52:25 +0000 (16:52 +0000)]
fixed warning

[r16859]

16 years agofixed backedge array handling for Filter nodes (hopefully)
Michael Beck [Wed, 28 Nov 2007 16:41:44 +0000 (16:41 +0000)]
fixed backedge array handling for Filter nodes (hopefully)

[r16858]

16 years agoadd a panic to a not fully ported function, backarrays are not handled right
Michael Beck [Wed, 28 Nov 2007 16:41:02 +0000 (16:41 +0000)]
add a panic to a not fully ported function, backarrays are not handled right

[r16857]

16 years agoabort if switch gets too big
Matthias Braun [Wed, 28 Nov 2007 15:46:57 +0000 (15:46 +0000)]
abort if switch gets too big

[r16854]

16 years agoadd prototyp to get_ir_alias_relation_name89
Michael Beck [Wed, 28 Nov 2007 14:49:53 +0000 (14:49 +0000)]
add prototyp to get_ir_alias_relation_name89

[r16852]

16 years agoignore tail-calls with compound paraeters, not supported yet (fixes fehler033.c)
Michael Beck [Wed, 28 Nov 2007 12:51:50 +0000 (12:51 +0000)]
ignore tail-calls with compound paraeters, not supported yet (fixes fehler033.c)

[r16851]

16 years agoImproved handling of special nodes: add value_param_base, irnore Bad's (happens in...
Michael Beck [Wed, 28 Nov 2007 12:50:58 +0000 (12:50 +0000)]
Improved handling of special nodes: add value_param_base, irnore Bad's (happens in backend)

[r16850]

16 years agofactor out entity emitter and make sure @NTPOFF is displayed everywhere where needed
Matthias Braun [Tue, 27 Nov 2007 19:10:25 +0000 (19:10 +0000)]
factor out entity emitter and make sure @NTPOFF is displayed everywhere where needed

[r16848]

16 years agomissing return 0
Matthias Braun [Mon, 26 Nov 2007 19:26:37 +0000 (19:26 +0000)]
missing return 0

[r16842]

16 years agoFixed warning regarding incompatible types in return.
Christoph Mallon [Mon, 26 Nov 2007 09:33:45 +0000 (09:33 +0000)]
Fixed warning regarding incompatible types in return.

[r16841]

16 years agoFixed warning regarding const
Michael Beck [Sun, 25 Nov 2007 17:24:38 +0000 (17:24 +0000)]
Fixed warning regarding const

[r16839]

16 years agouse dump_ir_block_graph_sched() for assert graph's
Michael Beck [Fri, 23 Nov 2007 17:09:44 +0000 (17:09 +0000)]
use dump_ir_block_graph_sched() for assert graph's

[r16835]

16 years agouse dump_ir_block_graph_sched() for assert graph's
Michael Beck [Fri, 23 Nov 2007 17:09:26 +0000 (17:09 +0000)]
use dump_ir_block_graph_sched() for assert graph's

[r16834]

16 years agosome preliminary long double support
Michael Beck [Fri, 23 Nov 2007 17:08:56 +0000 (17:08 +0000)]
some preliminary long double support

[r16833]

16 years agosome preliminary long double support, more panic's
Michael Beck [Fri, 23 Nov 2007 17:07:45 +0000 (17:07 +0000)]
some preliminary long double support, more panic's

[r16832]

16 years agorenamed ird_color_side_effects to ird_color_uses_memory
Michael Beck [Fri, 23 Nov 2007 10:39:08 +0000 (10:39 +0000)]
renamed ird_color_side_effects to ird_color_uses_memory

[r16831]

16 years ago- renamed irop_flag_side_effect to irop_flag_uses_memory
Michael Beck [Fri, 23 Nov 2007 10:29:50 +0000 (10:29 +0000)]
- renamed irop_flag_side_effect to irop_flag_uses_memory
- renamed op_pin_state field to pin_state (was probaly refactored wrong)
- improved doxygen comments

[r16830]

16 years agofixed log() mapper
Michael Beck [Thu, 22 Nov 2007 17:05:47 +0000 (17:05 +0000)]
fixed log() mapper

[r16829]

16 years agochange color handling in dumper, tweak colors
Matthias Braun [Thu, 22 Nov 2007 17:00:10 +0000 (17:00 +0000)]
change color handling in dumper, tweak colors

[r16828]

16 years agoremove #if 0 around arch_get_irn_ops, no idea why it was there...
Matthias Braun [Thu, 22 Nov 2007 16:56:47 +0000 (16:56 +0000)]
remove #if 0 around arch_get_irn_ops, no idea why it was there...

[r16827]

16 years agouse is_Const()
Michael Beck [Thu, 22 Nov 2007 16:27:42 +0000 (16:27 +0000)]
use is_Const()

[r16825]

16 years agoimproved strcmp() mapper
Michael Beck [Thu, 22 Nov 2007 16:26:10 +0000 (16:26 +0000)]
improved strcmp() mapper

[r16824]

16 years agoAdded two missing files
Sebastian Hack [Thu, 22 Nov 2007 12:02:51 +0000 (12:02 +0000)]
Added two missing files

[r16821]

16 years agoChanged phase node initializer to take const ir_node
Sebastian Hack [Thu, 22 Nov 2007 11:59:33 +0000 (11:59 +0000)]
Changed phase node initializer to take const ir_node
Adapted all the files to that -> constification
Added irg managed phases -> scheduling uses that now.

[r16820]

16 years agoadd mapper for strlen()
Michael Beck [Thu, 22 Nov 2007 11:20:08 +0000 (11:20 +0000)]
add mapper for strlen()

[r16818]

16 years agoadd statistic to runtime call mapper
Michael Beck [Thu, 22 Nov 2007 10:42:05 +0000 (10:42 +0000)]
add statistic to runtime call mapper

[r16817]

16 years agoadd Abs(-x) = Abs(x)
Michael Beck [Wed, 21 Nov 2007 16:45:37 +0000 (16:45 +0000)]
add Abs(-x) = Abs(x)

[r16816]

16 years agono need to set the entity for array entries in compound_graph_path
Matthias Braun [Tue, 20 Nov 2007 21:23:01 +0000 (21:23 +0000)]
no need to set the entity for array entries in compound_graph_path

[r16815]