libfirm
18 years agoBugFix: Predecessors of blocks can be even Jmp and Raise nodes if exceptions are...
FIRM Projekt Account [Tue, 30 May 2006 14:13:09 +0000 (14:13 +0000)]
BugFix: Predecessors of blocks can be even Jmp and Raise nodes if exceptions are used, handle this

[r7831]

18 years agoBugFix: added forgotten typedef
Michael Beck [Tue, 30 May 2006 13:22:51 +0000 (13:22 +0000)]
BugFix: added forgotten typedef

[r7830]

18 years agoadded missing header for firmjni
Michael Beck [Tue, 30 May 2006 13:03:37 +0000 (13:03 +0000)]
added missing header for firmjni

[r7829]

18 years agoremoved copy_irn() declaration, not supported anymore
Michael Beck [Tue, 30 May 2006 13:03:00 +0000 (13:03 +0000)]
removed copy_irn() declaration, not supported anymore

[r7828]

18 years agoIrcons.irgFinalizeCons() not supported anymore, use Irgraph.setIrgPhaseState()
FIRM Projekt Account [Tue, 30 May 2006 13:02:08 +0000 (13:02 +0000)]
Ircons.irgFinalizeCons() not supported anymore, use Irgraph.setIrgPhaseState()

[r7827]

18 years agoadded missing include directory
Michael Beck [Mon, 29 May 2006 13:53:32 +0000 (13:53 +0000)]
added missing include directory

[r7818]

18 years agorenamed symconst_size to symconst_type_size
Michael Beck [Mon, 29 May 2006 13:41:33 +0000 (13:41 +0000)]
renamed symconst_size to symconst_type_size

[r7816]

18 years agosupress GCC warnings
Michael Beck [Mon, 29 May 2006 13:38:40 +0000 (13:38 +0000)]
supress GCC warnings

[r7815]

18 years agorenamed symconst_size to symconst_type_size
Michael Beck [Mon, 29 May 2006 13:35:58 +0000 (13:35 +0000)]
renamed symconst_size to symconst_type_size
added symconst_type_align

[r7814]

18 years agoAdd macros to use a pdeq as a stack
Michael Beck [Mon, 29 May 2006 13:33:26 +0000 (13:33 +0000)]
Add macros to use a pdeq as a stack

[r7813]

18 years agomake two local variables static
Michael Beck [Mon, 29 May 2006 13:33:02 +0000 (13:33 +0000)]
make two local variables static

[r7812]

18 years agoadded xmalloc.h include
Michael Beck [Mon, 29 May 2006 13:31:45 +0000 (13:31 +0000)]
added xmalloc.h include

[r7811]

18 years agoFixed typos, improved docu
Michael Beck [Thu, 25 May 2006 23:19:13 +0000 (23:19 +0000)]
Fixed typos, improved docu

[r7807]

18 years agoBugFix: free_cfloop_information() cleared current_ir_graph instead of irg
Michael Beck [Thu, 25 May 2006 23:18:05 +0000 (23:18 +0000)]
BugFix: free_cfloop_information() cleared current_ir_graph instead of irg

[r7806]

18 years agoFixed wrong array declaration
Michael Beck [Thu, 25 May 2006 23:15:52 +0000 (23:15 +0000)]
Fixed wrong array declaration

[r7805]

18 years agotransform_node_Phi() implemented, moved Confirm nodes down thru Phi's
Michael Beck [Thu, 25 May 2006 23:14:09 +0000 (23:14 +0000)]
transform_node_Phi() implemented, moved Confirm nodes down thru Phi's

[r7804]

18 years agoFixed return type of get_op_attr_size()
Michael Beck [Thu, 25 May 2006 23:11:58 +0000 (23:11 +0000)]
Fixed return type of get_op_attr_size()

[r7803]

18 years agoadd_Sync_pred() implemented
Michael Beck [Thu, 25 May 2006 23:10:57 +0000 (23:10 +0000)]
add_Sync_pred() implemented
some is_*() functions added

[r7802]

18 years agoSync() constructors updated
Michael Beck [Thu, 25 May 2006 23:08:21 +0000 (23:08 +0000)]
Sync() constructors updated
set_store() constructs now autimatiocally Sync nodes

[r7801]

18 years agomissing const added
Michael Beck [Thu, 25 May 2006 22:59:02 +0000 (22:59 +0000)]
missing const added

[r7800]

18 years agoAvoid endless recursion while walking to a projX in a loop
Christoph Mallon [Wed, 24 May 2006 16:15:59 +0000 (16:15 +0000)]
Avoid endless recursion while walking to a projX in a loop

[r7799]

18 years agoImplement better magic to handle changing control dependencies when welding blocks
Christoph Mallon [Wed, 24 May 2006 15:59:59 +0000 (15:59 +0000)]
Implement better magic to handle changing control dependencies when welding blocks

[r7798]

18 years agoadd exchange_cdep()
Christoph Mallon [Wed, 24 May 2006 15:59:06 +0000 (15:59 +0000)]
add exchange_cdep()

[r7797]

18 years agoHandle multiple control dependencies in a more sophisticated (and correct) way
Christoph Mallon [Wed, 24 May 2006 15:23:34 +0000 (15:23 +0000)]
Handle multiple control dependencies in a more sophisticated (and correct) way

[r7796]

18 years agoAdd is_cdep_on
Christoph Mallon [Wed, 24 May 2006 15:15:48 +0000 (15:15 +0000)]
Add is_cdep_on

[r7795]

18 years agoPlay it safe
Christoph Mallon [Wed, 24 May 2006 15:12:49 +0000 (15:12 +0000)]
Play it safe

[r7794]

18 years agoFirm inplace edges are needed for the firm backend and cannot be switched off anymore
Michael Beck [Wed, 24 May 2006 14:59:08 +0000 (14:59 +0000)]
Firm inplace edges are needed for the firm backend and cannot be switched off anymore

[r7793]

18 years agoremoved copied form ../win32 directory
Michael Beck [Wed, 24 May 2006 14:50:52 +0000 (14:50 +0000)]
removed copied form ../win32 directory

[r7792]

18 years agoupdated project file
Christian Würdig [Wed, 24 May 2006 14:49:46 +0000 (14:49 +0000)]
updated project file

[r7791]

18 years agoAdd more special cases for Shift operations
Michael Beck [Tue, 23 May 2006 13:07:52 +0000 (13:07 +0000)]
Add more special cases for Shift operations

[r7790]

18 years agoBugFix: lower_Start
Michael Beck [Tue, 23 May 2006 12:55:33 +0000 (12:55 +0000)]
BugFix: lower_Start
Added special case support for Shr, Shrs, Shl

[r7789]

18 years agoAdded opt_osr.h to header.list
Kimon Hoffmann [Mon, 22 May 2006 10:07:13 +0000 (10:07 +0000)]
Added opt_osr.h to header.list

[r7788]

18 years agoadded missing header
Christian Würdig [Mon, 22 May 2006 08:41:38 +0000 (08:41 +0000)]
added missing header

[r7787]

18 years agoadded vtable size attribute to class types
Michael Beck [Fri, 19 May 2006 15:15:41 +0000 (15:15 +0000)]
added vtable size attribute to class types
added vtable number to method entities

[r7786]

18 years agoadded ability to register additional dumper functions for each dumper
Christian Würdig [Fri, 19 May 2006 15:11:08 +0000 (15:11 +0000)]
added ability to register additional dumper functions for each dumper
added identifier for dumper

[r7785]

18 years agorenamed CMP to QSORT_CMP to avoid name clash
Michael Beck [Fri, 19 May 2006 13:13:49 +0000 (13:13 +0000)]
renamed CMP to QSORT_CMP to avoid name clash

[r7784]

18 years agoremoved german umlaut, firmjni stuff cannot handle it
Michael Beck [Fri, 19 May 2006 12:44:18 +0000 (12:44 +0000)]
removed german umlaut, firmjni stuff cannot handle it

[r7783]

18 years agorenamed parameter "super", cannot handled by crecoder tool
Michael Beck [Fri, 19 May 2006 12:43:07 +0000 (12:43 +0000)]
renamed parameter "super", cannot handled by crecoder tool

[r7782]

18 years agoadded most include files
Michael Beck [Fri, 19 May 2006 12:41:38 +0000 (12:41 +0000)]
added most include files

[r7781]

18 years agocorrectly handle multi-line declarations by containg brackets, thanks to C.Wuerdig
Michael Beck [Fri, 19 May 2006 12:41:24 +0000 (12:41 +0000)]
correctly handle multi-line declarations by containg brackets, thanks to C.Wuerdig

[r7780]

18 years agoNormalized Output-Directory
Sebastian Hack [Fri, 19 May 2006 09:08:36 +0000 (09:08 +0000)]
Normalized Output-Directory

[r7778]

18 years agoUse exact_copy() instead of copy_irn_to_irg()
Christoph Mallon [Fri, 19 May 2006 08:14:32 +0000 (08:14 +0000)]
Use exact_copy() instead of copy_irn_to_irg()

[r7777]

18 years agoFixed method attribute access
Michael Beck [Fri, 19 May 2006 02:32:24 +0000 (02:32 +0000)]
Fixed method attribute access

[r7776]

18 years agoFixed method attribute access
Michael Beck [Fri, 19 May 2006 02:31:38 +0000 (02:31 +0000)]
Fixed method attribute access
used assure_*() functions

[r7775]

18 years agomake #ifndef at header start cannonical
Michael Beck [Fri, 19 May 2006 02:30:42 +0000 (02:30 +0000)]
make #ifndef at header start cannonical
missing includes added

[r7774]

18 years agomissing includes added
Michael Beck [Fri, 19 May 2006 02:29:47 +0000 (02:29 +0000)]
missing includes added

[r7773]

18 years agomake #ifndef at header start cannonical
Michael Beck [Fri, 19 May 2006 02:28:00 +0000 (02:28 +0000)]
make #ifndef at header start cannonical

[r7772]

18 years agoplaced method and compound entities into private attributes
Michael Beck [Fri, 19 May 2006 02:26:04 +0000 (02:26 +0000)]
placed method and compound entities into private attributes
add vtable_number attribute to method entities
is_method_entity() added

[r7771]

18 years agois_method_entity() added
Michael Beck [Fri, 19 May 2006 02:24:22 +0000 (02:24 +0000)]
is_method_entity() added

[r7770]

18 years agoremoved unused includes
Michael Beck [Fri, 19 May 2006 02:22:44 +0000 (02:22 +0000)]
removed unused includes

[r7769]

18 years agofixed typo
Michael Beck [Thu, 18 May 2006 22:40:04 +0000 (22:40 +0000)]
fixed typo
fixed stupid "0x80000000 is unsigned" gcc-problem

[r7768]

18 years agoused ir_type instead of type
Michael Beck [Thu, 18 May 2006 22:38:35 +0000 (22:38 +0000)]
used ir_type instead of type

restructured a bit

[r7767]

18 years agoused xrealloc instead of realloc
Michael Beck [Thu, 18 May 2006 22:35:49 +0000 (22:35 +0000)]
used xrealloc instead of realloc

[r7766]

18 years agodoxygen docu added
Michael Beck [Thu, 18 May 2006 22:34:35 +0000 (22:34 +0000)]
doxygen docu added

[r7765]

18 years ago*** empty log message ***
Michael Beck [Thu, 18 May 2006 22:33:34 +0000 (22:33 +0000)]
*** empty log message ***

[r7764]

18 years agoremoved useless files
Michael Beck [Thu, 18 May 2006 15:26:11 +0000 (15:26 +0000)]
removed useless files

[r7762]

18 years agocall abort() instead of exit()
Michael Beck [Thu, 18 May 2006 15:23:54 +0000 (15:23 +0000)]
call abort() instead of exit()

[r7761]

18 years agostill buggy, but some typos fixed
Michael Beck [Thu, 18 May 2006 15:22:36 +0000 (15:22 +0000)]
still buggy, but some typos fixed

[r7760]

18 years agoAdded support for statistics
Michael Beck [Thu, 18 May 2006 13:54:58 +0000 (13:54 +0000)]
Added support for statistics

[r7759]

18 years agostat_strength_red() updated
Michael Beck [Thu, 18 May 2006 13:54:35 +0000 (13:54 +0000)]
stat_strength_red() updated

[r7758]

18 years agoremoved useless includes
Michael Beck [Thu, 18 May 2006 13:53:43 +0000 (13:53 +0000)]
removed useless includes

[r7757]

18 years agoFixed hook_strength_red()
Michael Beck [Thu, 18 May 2006 13:53:21 +0000 (13:53 +0000)]
Fixed hook_strength_red()

[r7756]

18 years agoused assure_*() functions
Michael Beck [Thu, 18 May 2006 11:56:08 +0000 (11:56 +0000)]
used assure_*() functions

[r7755]

18 years agorenamed CONST_EXPR into REGION_CONST (a la OSR)
Michael Beck [Thu, 18 May 2006 11:55:10 +0000 (11:55 +0000)]
renamed CONST_EXPR into REGION_CONST (a la OSR)
soem cosmetic changes

[r7754]

18 years agoused new assure_*() functions
Michael Beck [Thu, 18 May 2006 11:53:08 +0000 (11:53 +0000)]
used new assure_*() functions

[r7753]

18 years agosupress warning in gcc -Wall
Michael Beck [Thu, 18 May 2006 11:50:45 +0000 (11:50 +0000)]
supress warning in gcc -Wall

[r7752]

18 years agochanged output for loops
Michael Beck [Thu, 18 May 2006 11:49:47 +0000 (11:49 +0000)]
changed output for loops

[r7751]

18 years agoLet %+F print node number and index for ir-nodes
Michael Beck [Thu, 18 May 2006 11:48:56 +0000 (11:48 +0000)]
Let %+F print node number and index for ir-nodes

[r7750]

18 years agoAdded macros to use a pdeq as a wait queue
Michael Beck [Thu, 18 May 2006 11:47:43 +0000 (11:47 +0000)]
Added macros to use a pdeq as a wait queue
typos fixed

[r7749]

18 years agoopt_osr.h added
Michael Beck [Thu, 18 May 2006 11:37:07 +0000 (11:37 +0000)]
opt_osr.h added

[r7748]

18 years agoBugfixes:
Michael Beck [Wed, 17 May 2006 11:34:17 +0000 (11:34 +0000)]
Bugfixes:
 - search/add must used op2, op2 instead of op1, op2
 - location must use strict dominance
 - Postorder must be calculated from the Start block towards End block

Doxygen docu added

[r7744]

18 years agoadded extra shift lowering
Christian Würdig [Wed, 17 May 2006 09:21:56 +0000 (09:21 +0000)]
added extra shift lowering

[r7743]

18 years agoexact_copy() added
Michael Beck [Tue, 16 May 2006 16:38:38 +0000 (16:38 +0000)]
exact_copy() added

[r7742]

18 years ago*** empty log message ***
Sebastian Hack [Tue, 16 May 2006 15:16:25 +0000 (15:16 +0000)]
*** empty log message ***

[r7741]

18 years agoAdded verifying for irn idx map
Sebastian Hack [Tue, 16 May 2006 15:15:56 +0000 (15:15 +0000)]
Added verifying for irn idx map

[r7740]

18 years agoAdded CMP macro for qsort(3) and so on.
Sebastian Hack [Tue, 16 May 2006 15:14:52 +0000 (15:14 +0000)]
Added CMP macro for qsort(3) and so on.

[r7739]

18 years agofixed include path
Christian Würdig [Tue, 16 May 2006 14:04:21 +0000 (14:04 +0000)]
fixed include path

[r7737]

18 years agodisable deprecated warning
Christian Würdig [Tue, 16 May 2006 14:04:05 +0000 (14:04 +0000)]
disable deprecated warning

[r7736]

18 years agoinitial checkin of Visual Studio 2005 project files
Christian Würdig [Tue, 16 May 2006 12:46:23 +0000 (12:46 +0000)]
initial checkin of Visual Studio 2005 project files

[r7735]

18 years agoAdded opt_osr
Michael Beck [Tue, 16 May 2006 09:46:15 +0000 (09:46 +0000)]
Added opt_osr

[r7734]

18 years agoFirst full implementation with LFTR
Michael Beck [Mon, 15 May 2006 17:37:21 +0000 (17:37 +0000)]
First full implementation with LFTR

[r7733]

18 years ago.setlvl command added
Michael Beck [Mon, 15 May 2006 13:59:38 +0000 (13:59 +0000)]
.setlvl command added

[r7732]

18 years agoremoved debug setmask
Christian Würdig [Mon, 15 May 2006 11:19:31 +0000 (11:19 +0000)]
removed debug setmask

[r7730]

18 years agoBugFix:
Michael Beck [Mon, 15 May 2006 11:02:14 +0000 (11:02 +0000)]
BugFix:
 - creation of higher part of a constant
 - lowering of method types

[r7729]

18 years agoFixed really slow overflow handling ;-)
Michael Beck [Mon, 15 May 2006 10:53:24 +0000 (10:53 +0000)]
Fixed really slow overflow handling ;-)

[r7728]

18 years agofirst part of the new Operator Strength Reduction implementation
Michael Beck [Fri, 12 May 2006 17:34:41 +0000 (17:34 +0000)]
first part of the new Operator Strength Reduction implementation

[r7727]

18 years agoinstall ir\lower\lower_dw.h and ir\be\be.h
Michael Beck [Thu, 11 May 2006 16:19:26 +0000 (16:19 +0000)]
install ir\lower\lower_dw.h and ir\be\be.h

[r7724]

18 years agobugfix: remove redundant gert nodes block
Christian Würdig [Thu, 11 May 2006 13:11:56 +0000 (13:11 +0000)]
bugfix: remove redundant gert nodes block

[r7721]

18 years agoConvenience macros for node bitmaps
Sebastian Hack [Wed, 10 May 2006 16:34:59 +0000 (16:34 +0000)]
Convenience macros for node bitmaps

[r7720]

18 years agoAdded index -> node map to irgs
Sebastian Hack [Wed, 10 May 2006 16:34:43 +0000 (16:34 +0000)]
Added index -> node map to irgs

[r7719]

18 years agoAdded idx number dumping
Sebastian Hack [Wed, 10 May 2006 16:33:16 +0000 (16:33 +0000)]
Added idx number dumping

[r7718]

18 years agohonor the get_opt_if_conversion() flag
Michael Beck [Wed, 10 May 2006 15:03:55 +0000 (15:03 +0000)]
honor the get_opt_if_conversion() flag

[r7717]

18 years agoadded two functions:
Christian Würdig [Wed, 10 May 2006 14:57:35 +0000 (14:57 +0000)]
added two functions:
- get the first block dominating two nodes a and b
- get the first block dominating all users of a node

[r7716]

18 years agoadded new function to determine the predecessor position of node for a given predecessor
Christian Würdig [Wed, 10 May 2006 14:56:21 +0000 (14:56 +0000)]
added new function to determine the predecessor position of node for a given predecessor

[r7715]

18 years ago-If both data inputs of a new Psi are equal don't generate it in the first place
Christoph Mallon [Wed, 10 May 2006 14:20:55 +0000 (14:20 +0000)]
-If both data inputs of a new Psi are equal don't generate it in the first place
-Remove the special case for PhiMs, it's now covered by the magic above
-Implement naive splitting of Psis with multiple conditions to multiple Psis with one condition each

[r7714]

18 years agoFixed memory leaks
Michael Beck [Wed, 10 May 2006 13:57:17 +0000 (13:57 +0000)]
Fixed memory leaks
used DB() instead of ir_printf
changed detection of unmovable nodes

[r7712]

18 years agoBugFix: Do not build edges for not yet live anchors
Michael Beck [Wed, 10 May 2006 12:08:54 +0000 (12:08 +0000)]
BugFix: Do not build edges for not yet live anchors

[r7711]

18 years agofixed memory leak
Michael Beck [Tue, 9 May 2006 14:06:08 +0000 (14:06 +0000)]
fixed memory leak

[r7708]

18 years agoBugFix: edges_activate() must handle the whole root set of nodes
Michael Beck [Tue, 9 May 2006 12:49:22 +0000 (12:49 +0000)]
BugFix: edges_activate() must handle the whole root set of nodes
this includes all anchors and the value table set

doxygen comments added

[r7707]

18 years agolittle cleanup
Michael Beck [Tue, 9 May 2006 12:45:00 +0000 (12:45 +0000)]
little cleanup

[r7706]