libfirm
16 years ago- fixed typo
Michael Beck [Wed, 9 Jan 2008 10:38:37 +0000 (10:38 +0000)]
- fixed typo
- used self instead of (C++) keyword this

[r17239]

16 years agotypo fixed
Michael Beck [Wed, 9 Jan 2008 10:30:58 +0000 (10:30 +0000)]
typo fixed

[r17238]

16 years agoFixed is_exception_flow(), Raise has only "regular" exception flow, to "exceptional...
Michael Beck [Tue, 8 Jan 2008 16:46:09 +0000 (16:46 +0000)]
Fixed is_exception_flow(), Raise has only "regular" exception flow, to "exceptional" one

[r17224]

16 years agodo not use new_Bad(), as this depends on current_ir_graph, cast
Michael Beck [Tue, 8 Jan 2008 16:26:16 +0000 (16:26 +0000)]
do not use new_Bad(), as this depends on current_ir_graph, cast

[r17221]

16 years agofix warning
Matthias Braun [Tue, 8 Jan 2008 14:56:25 +0000 (14:56 +0000)]
fix warning

[r17214]

16 years agoonly import datatbases that are actually used
Matthias Braun [Mon, 7 Jan 2008 20:11:34 +0000 (20:11 +0000)]
only import datatbases that are actually used

[r17204]

16 years agoget_irn_MacroBlock(): if the Block of a node is Bad, do NOT try to returns its MB...
Michael Beck [Mon, 7 Jan 2008 19:37:24 +0000 (19:37 +0000)]
get_irn_MacroBlock(): if the Block of a node is Bad, do NOT try to returns its MB, return Bad.

[r17201]

16 years agomove statev_sql.py to scripts dir
Matthias Braun [Mon, 7 Jan 2008 19:21:21 +0000 (19:21 +0000)]
move statev_sql.py to scripts dir

[r17200]

16 years agoonly timing results to console if statevs are not enabled, add time_ prefix to timer...
Matthias Braun [Mon, 7 Jan 2008 19:17:55 +0000 (19:17 +0000)]
only timing results to console if statevs are not enabled, add time_ prefix to timer results

[r17199]

16 years agoC99 features removed
Michael Beck [Mon, 7 Jan 2008 15:11:30 +0000 (15:11 +0000)]
C99 features removed

[r17187]

16 years agoFix assert
Michael Beck [Mon, 7 Jan 2008 13:04:32 +0000 (13:04 +0000)]
Fix assert

[r17183]

16 years agoBugFix: is_stored() was completely broken
Michael Beck [Mon, 7 Jan 2008 13:00:08 +0000 (13:00 +0000)]
BugFix: is_stored() was completely broken

[r17182]

16 years agoensure, that every Block has a MacroBlock header
Michael Beck [Mon, 7 Jan 2008 12:51:20 +0000 (12:51 +0000)]
ensure, that every Block has a MacroBlock header

[r17181]

16 years agostarted working on a linearscan spiller (doesn't spill phis yet so most programs...
Matthias Braun [Mon, 7 Jan 2008 00:11:28 +0000 (00:11 +0000)]
started working on a linearscan spiller (doesn't spill phis yet so most programs fails)

[r17175]

16 years agoLongLong test should be compiled in c99 mode
Matthias Braun [Mon, 7 Jan 2008 00:10:59 +0000 (00:10 +0000)]
LongLong test should be compiled in c99 mode

[r17174]

16 years agosmall BugFix: must check the Store value, not it's pointer
Michael Beck [Sun, 6 Jan 2008 22:50:13 +0000 (22:50 +0000)]
small BugFix: must check the Store value, not it's pointer

[r17173]

16 years agofixed detection of malloc property:
Michael Beck [Sun, 6 Jan 2008 16:33:18 +0000 (16:33 +0000)]
fixed detection of malloc property:
 - used allocator callback from frontend
 - methods returning 0 results are not strict malloc
 - only methods returning allocations can be malloc
 - check the the result is not stored anywhere before returning, this would create an alias (and is not malloc)
 - don't kill the malloc property when only checking for nothrow

[r17170]

16 years ago- removed skip_HighLevel()
Michael Beck [Sun, 6 Jan 2008 16:26:32 +0000 (16:26 +0000)]
- removed skip_HighLevel()
- add new skip_HighLevel_ops() skipping all Confirm, Cast nodes

[r17169]

16 years agoDo not mark Sel as an high-level op.
Michael Beck [Sun, 6 Jan 2008 16:05:39 +0000 (16:05 +0000)]
Do not mark Sel as an high-level op.
This bit is currently used for skip_Highlevel_ops() and skipping Sel here might not that what one expects.

[r17168]

16 years ago- edges_assure_kind() added
Michael Beck [Sun, 6 Jan 2008 15:31:17 +0000 (15:31 +0000)]
- edges_assure_kind() added
- removed useless extern

[r17167]

16 years agoCSE now uses MacroBlock() instead of Block for performing block local CSE (like descr...
Michael Beck [Sun, 6 Jan 2008 14:41:57 +0000 (14:41 +0000)]
CSE now uses MacroBlock() instead of Block for performing block local CSE (like described in the diss :-)

[r17166]

16 years agoget_irn_MacroBlock() added
Michael Beck [Sun, 6 Jan 2008 14:40:02 +0000 (14:40 +0000)]
get_irn_MacroBlock() added

[r17165]

16 years agofix for last commit
Matthias Braun [Fri, 4 Jan 2008 14:22:01 +0000 (14:22 +0000)]
fix for last commit

[r17160]

16 years agofix some warnings, represent mode size as unsigned value
Matthias Braun [Fri, 4 Jan 2008 13:52:59 +0000 (13:52 +0000)]
fix some warnings, represent mode size as unsigned value

[r17158]

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]