libfirm
17 years agoRemove the first if-conversion implementation.
Christoph Mallon [Sun, 13 May 2007 05:09:15 +0000 (05:09 +0000)]
Remove the first if-conversion implementation.

[r13827]

17 years agoproperties updated
Michael Beck [Sat, 12 May 2007 14:37:53 +0000 (14:37 +0000)]
properties updated

[r13820]

17 years agoSet the initial EBP Proj to ignore.
Michael Beck [Sat, 12 May 2007 14:36:19 +0000 (14:36 +0000)]
Set the initial EBP Proj to ignore.

[r13819]

17 years agoinitial checkin of a function with really large basic blocks
Christian Würdig [Fri, 11 May 2007 15:32:58 +0000 (15:32 +0000)]
initial checkin of a function with really large basic blocks

[r13811]

17 years agoBugFix: declare as extern, otherwise linker will create two entities
Christian Würdig [Fri, 11 May 2007 15:31:17 +0000 (15:31 +0000)]
BugFix: declare as extern, otherwise linker will create two entities

[r13810]

17 years agofix when debug mode is disabled
Matthias Braun [Fri, 11 May 2007 15:31:10 +0000 (15:31 +0000)]
fix when debug mode is disabled

[r13809]

17 years agoadded some defines for node inputs
Christian Würdig [Fri, 11 May 2007 15:21:01 +0000 (15:21 +0000)]
added some defines for node inputs

[r13808]

17 years agocalculate chunks on demand (saving memory)
Michael Beck [Fri, 11 May 2007 14:41:00 +0000 (14:41 +0000)]
calculate chunks on demand (saving memory)
use free lists for allocating chunks on the obstack
traverse the ifg only once to get the neighbours

[r13807]

17 years agoBugFix: pass dumper object instead of FILE pointer
Christian Würdig [Fri, 11 May 2007 14:35:16 +0000 (14:35 +0000)]
BugFix: pass dumper object instead of FILE pointer

[r13806]

17 years agoreduced stack overhead by transforming nodes as early as possible in functions
Christian Würdig [Fri, 11 May 2007 14:34:33 +0000 (14:34 +0000)]
reduced stack overhead by transforming nodes as early as possible in functions

[r13805]

17 years agoFirst iteration to detotalise memory in loops.
Christoph Mallon [Fri, 11 May 2007 13:21:05 +0000 (13:21 +0000)]
First iteration to detotalise memory in loops.

[r13801]

17 years agoppc32 gen_decls is not used anymore
Matthias Braun [Fri, 11 May 2007 13:13:00 +0000 (13:13 +0000)]
ppc32 gen_decls is not used anymore

[r13800]

17 years agoChanged edge classification:
Sebastian Hack [Fri, 11 May 2007 09:44:21 +0000 (09:44 +0000)]
Changed edge classification:
Edges that lead from one block to itself are classified as back- not forward-edges

Disabled debug dumping

[r13791]

17 years agotypo fixed
Michael Beck [Fri, 11 May 2007 00:12:00 +0000 (00:12 +0000)]
typo fixed

[r13788]

17 years agosome doxygen comments added
Michael Beck [Thu, 10 May 2007 23:55:34 +0000 (23:55 +0000)]
some doxygen comments added

[r13787]

17 years agotypo fixed
Michael Beck [Thu, 10 May 2007 23:54:39 +0000 (23:54 +0000)]
typo fixed

[r13786]

17 years agoAlign the size of Alloc/Free nodes to the stack minimum alignment.
Michael Beck [Thu, 10 May 2007 23:54:15 +0000 (23:54 +0000)]
Align the size of Alloc/Free nodes to the stack minimum alignment.
This is currently pinned to 4 bytes, must be interrogated from the backend.

[r13785]

17 years agodoxygen comments added
Michael Beck [Thu, 10 May 2007 23:52:44 +0000 (23:52 +0000)]
doxygen comments added

[r13784]

17 years agoupdated header
Michael Beck [Thu, 10 May 2007 22:07:19 +0000 (22:07 +0000)]
updated header
added properties

[r13783]

17 years agoAdded new header
Michael Beck [Thu, 10 May 2007 22:00:43 +0000 (22:00 +0000)]
Added new header

[r13782]

17 years agoneed firm_config.h include because of __attribute__ usage
Michael Beck [Thu, 10 May 2007 21:50:58 +0000 (21:50 +0000)]
need firm_config.h include because of __attribute__ usage

[r13781]

17 years ago__attribute__ must be defined here, it is used in headers
Michael Beck [Thu, 10 May 2007 21:49:09 +0000 (21:49 +0000)]
__attribute__ must be defined here, it is used in headers

[r13780]

17 years agochanged type to unsigned to suppress warnings
Michael Beck [Thu, 10 May 2007 21:41:22 +0000 (21:41 +0000)]
changed type to unsigned to suppress warnings

[r13779]

17 years agoAdded new header
Michael Beck [Thu, 10 May 2007 21:40:37 +0000 (21:40 +0000)]
Added new header

[r13778]

17 years agoFixed header
Michael Beck [Thu, 10 May 2007 21:38:22 +0000 (21:38 +0000)]
Fixed header

[r13777]

17 years agoFixed header
Michael Beck [Thu, 10 May 2007 21:37:56 +0000 (21:37 +0000)]
Fixed header

[r13776]

17 years agoAdd declarations for bitset_andnot(), bitset_or() and bitset_xor() to support VA
Michael Beck [Thu, 10 May 2007 21:29:20 +0000 (21:29 +0000)]
Add declarations for bitset_andnot(), bitset_or() and bitset_xor() to support VA

[r13774]

17 years agoused bitset_pos_t type to suppress warnings
Michael Beck [Thu, 10 May 2007 21:21:06 +0000 (21:21 +0000)]
used bitset_pos_t type to suppress warnings

[r13773]

17 years agoAdded btset intersection test and a "fast" bitset empty test
Sebastian Hack [Thu, 10 May 2007 15:58:28 +0000 (15:58 +0000)]
Added btset intersection test and a "fast" bitset empty test

[r13763]

17 years ago* Added a new file: beintlive_t.h which subsumes all interferene/liveness checks
Sebastian Hack [Thu, 10 May 2007 15:43:44 +0000 (15:43 +0000)]
* Added a new file: beintlive_t.h which subsumes all interferene/liveness checks
  - it uses the new liveness checking algos in ana/irlivechk.h
  - value_dominates, etc. was erased from bera.h because it does not belong there

* bechordal.c features an experimental coloring (by defualt disabled by macro)
  which can color the routine in a single pass without building the "borders".
  A long term goal is to disable borders completely but they are used in other
  places, too.

* The 1st parameter of values_interfere is now a birg and not a be_lv_t. There
  is now a special routine lv_values_interfere() for those who want to use the
  computed liveness explicitly. changing the parameter makes it more easy to
  switch to other liveness implementations.

All other files were modified to respect the changes

[r13762]

17 years agoAdded generic Depth First Search facility
Sebastian Hack [Thu, 10 May 2007 15:32:44 +0000 (15:32 +0000)]
Added generic Depth First Search facility
Added liveness (in/end/out) checks which only depend in the CFG

[r13761]

17 years agoSmall changes
Sebastian Hack [Thu, 10 May 2007 14:02:45 +0000 (14:02 +0000)]
Small changes
Some of the check routines should be moved to a _t.h file to be inlined better

[r13759]

17 years agofixed a compile error:
Sebastian Hack [Thu, 10 May 2007 13:24:51 +0000 (13:24 +0000)]
fixed a compile error:
debug module registration accessed a struct field which was not there

[r13758]

17 years agoreformatted, add is_ia32_Store8Bit to is_ia32_St
Matthias Braun [Thu, 10 May 2007 08:02:44 +0000 (08:02 +0000)]
reformatted, add is_ia32_Store8Bit to is_ia32_St

[r13754]

17 years agolast change with mode suffix was wrong for x87 nodes, don't exchange left/right for...
Matthias Braun [Wed, 9 May 2007 21:17:25 +0000 (21:17 +0000)]
last change with mode suffix was wrong for x87 nodes, don't exchange left/right for dest addr mode for non-commutative nodes

[r13751]

17 years agonodes that support dest AM aren't always mode l
Matthias Braun [Wed, 9 May 2007 18:09:31 +0000 (18:09 +0000)]
nodes that support dest AM aren't always mode l

[r13750]

17 years agomode suffix changes
Matthias Braun [Wed, 9 May 2007 18:04:54 +0000 (18:04 +0000)]
mode suffix changes

[r13749]

17 years agoseveral fixes to dest address mode
Matthias Braun [Wed, 9 May 2007 17:53:52 +0000 (17:53 +0000)]
several fixes to dest address mode

[r13748]

17 years agowe can only handle 32bit compares at the moment
Matthias Braun [Wed, 9 May 2007 17:53:41 +0000 (17:53 +0000)]
we can only handle 32bit compares at the moment

[r13747]

17 years agowe have to change register_requirement when using dest am
Matthias Braun [Wed, 9 May 2007 17:52:08 +0000 (17:52 +0000)]
we have to change register_requirement when using dest am

[r13746]

17 years agoSeveral BugFixes and updates:
Michael Beck [Wed, 9 May 2007 15:16:46 +0000 (15:16 +0000)]
Several BugFixes and updates:
- arm_SymConst: label attribute is now an ident
- indirect accessed SymConsts are now hold in a map, eliminating double values
- fixed missed ignore marker for the mov lr,pc instruction
- add dependency edges from the arm constants to the barrier, so constants are not scheduled before the barrier

[r13738]

17 years agoFixed .comm output for mingw (no elf)
Michael Beck [Wed, 9 May 2007 15:07:01 +0000 (15:07 +0000)]
Fixed .comm output for mingw (no elf)

[r13737]

17 years agoBugFix:
Michael Beck [Wed, 9 May 2007 15:06:06 +0000 (15:06 +0000)]
BugFix:
We handle all register (including ignore registers). SO we have to map the color number to a register number!

[r13736]

17 years agomade more arguments const
Michael Beck [Wed, 9 May 2007 14:53:11 +0000 (14:53 +0000)]
made more arguments const

[r13733]

17 years agoHandle non-load/store nodes in a crude way for now: They alias everything. This only...
Christoph Mallon [Wed, 9 May 2007 08:57:47 +0000 (08:57 +0000)]
Handle non-load/store nodes in a crude way for now: They alias everything. This only worked for return nodes so far. Now it (hopefully) does for all nodes.

[r13726]

17 years agodon't die on divs whose result is unused
Matthias Braun [Tue, 8 May 2007 17:47:25 +0000 (17:47 +0000)]
don't die on divs whose result is unused

[r13725]

17 years agoadd correct compare functions for be nodes
Matthias Braun [Tue, 8 May 2007 17:47:09 +0000 (17:47 +0000)]
add correct compare functions for be nodes

[r13724]

17 years agoadd is_Mul
Matthias Braun [Tue, 8 May 2007 15:25:38 +0000 (15:25 +0000)]
add is_Mul

[r13717]

17 years agoAdd is_Conv().
Christoph Mallon [Tue, 8 May 2007 12:22:55 +0000 (12:22 +0000)]
Add is_Conv().

[r13713]

17 years agospill-slot coalescing added
Michael Beck [Mon, 7 May 2007 20:48:50 +0000 (20:48 +0000)]
spill-slot coalescing added

[r13708]

17 years agomade the birg non-const (needed for the spill-slot coalescing)
Michael Beck [Mon, 7 May 2007 20:47:49 +0000 (20:47 +0000)]
made the birg non-const (needed for the spill-slot coalescing)

[r13707]

17 years agospill-slot coalescing added
Michael Beck [Mon, 7 May 2007 20:46:37 +0000 (20:46 +0000)]
spill-slot coalescing added

[r13705]

17 years agomade the birg non-const (needed for the spill-slot coalescing)
Michael Beck [Mon, 7 May 2007 20:45:30 +0000 (20:45 +0000)]
made the birg non-const (needed for the spill-slot coalescing)
removed unused emit_decls

[r13704]

17 years agospill-slot coalescing added
Michael Beck [Mon, 7 May 2007 20:44:40 +0000 (20:44 +0000)]
spill-slot coalescing added

[r13703]

17 years agomade the birg non-const (needed for the spill-slot coalescing)
Michael Beck [Mon, 7 May 2007 20:44:04 +0000 (20:44 +0000)]
made the birg non-const (needed for the spill-slot coalescing)

[r13702]

17 years agotypo fixed
Michael Beck [Mon, 7 May 2007 20:42:59 +0000 (20:42 +0000)]
typo fixed

[r13701]

17 years agoarch_get_frame_entity() now takes a const irnode *
Michael Beck [Mon, 7 May 2007 20:02:00 +0000 (20:02 +0000)]
arch_get_frame_entity() now takes a const irnode *

[r13700]

17 years agoFirst try of the new load/store optimization.
Christoph Mallon [Mon, 7 May 2007 15:57:33 +0000 (15:57 +0000)]
First try of the new load/store optimization.

[r13697]

17 years agoREADME update
Matthias Braun [Mon, 7 May 2007 14:47:42 +0000 (14:47 +0000)]
README update

[r13696]

17 years agoimproved .depend handling
Matthias Braun [Mon, 7 May 2007 13:29:02 +0000 (13:29 +0000)]
improved .depend handling

[r13691]

17 years agodon't put dbg into the environment
Matthias Braun [Mon, 7 May 2007 12:52:17 +0000 (12:52 +0000)]
don't put dbg into the environment

[r13685]

17 years agofix e-mail address
Matthias Braun [Mon, 7 May 2007 12:51:50 +0000 (12:51 +0000)]
fix e-mail address

[r13684]

17 years agoremoved some outdated files
Matthias Braun [Mon, 7 May 2007 12:51:43 +0000 (12:51 +0000)]
removed some outdated files

[r13683]

17 years agoREADME update
Matthias Braun [Mon, 7 May 2007 12:50:31 +0000 (12:50 +0000)]
README update

[r13682]

17 years agorenumber source/dest registers
Matthias Braun [Mon, 7 May 2007 10:01:34 +0000 (10:01 +0000)]
renumber source/dest registers

[r13676]

17 years agostart counting at 0 for dest and source registers
Matthias Braun [Mon, 7 May 2007 09:57:28 +0000 (09:57 +0000)]
start counting at 0 for dest and source registers

[r13674]

17 years agomips backend updates:
Matthias Braun [Mon, 7 May 2007 08:36:19 +0000 (08:36 +0000)]
mips backend updates:
- fixed the condition jump nodes
- improvements to transform code
- various bugfixes/updates for new be code

[r13673]

17 years agoarm_gen_decls not needed anymore, hackaround to make ppc32 compile again
Matthias Braun [Sun, 6 May 2007 14:29:09 +0000 (14:29 +0000)]
arm_gen_decls not needed anymore, hackaround to make ppc32 compile again

[r13672]

17 years agouse libcore CFLAGS
Matthias Braun [Sun, 6 May 2007 14:08:50 +0000 (14:08 +0000)]
use libcore CFLAGS

[r13671]

17 years agoreverting another accidental commit
Matthias Braun [Sun, 6 May 2007 14:05:52 +0000 (14:05 +0000)]
reverting another accidental commit

[r13670]

17 years agorevert changes from autoheader that were not intended
Matthias Braun [Sun, 6 May 2007 14:04:29 +0000 (14:04 +0000)]
revert changes from autoheader that were not intended

[r13669]

17 years agouse pkg-config for libcore detection
Matthias Braun [Sun, 6 May 2007 13:49:47 +0000 (13:49 +0000)]
use pkg-config for libcore detection

[r13668]

17 years agofix doxygen warning
Matthias Braun [Sun, 6 May 2007 13:33:22 +0000 (13:33 +0000)]
fix doxygen warning

[r13667]

17 years agoremoved ppc32_gen_decls
Michael Beck [Sun, 6 May 2007 10:03:54 +0000 (10:03 +0000)]
removed ppc32_gen_decls

[r13663]

17 years agoswitch to new style emitter
Michael Beck [Sun, 6 May 2007 02:01:33 +0000 (02:01 +0000)]
switch to new style emitter

[r13662]

17 years agofixed isa template initializer
Michael Beck [Sat, 5 May 2007 22:22:37 +0000 (22:22 +0000)]
fixed isa template initializer

[r13661]

17 years agoremoved dead declarations
Michael Beck [Sat, 5 May 2007 22:22:03 +0000 (22:22 +0000)]
removed dead declarations
add declarations for the emit templates

[r13660]

17 years agoremoved dead declarations
Michael Beck [Sat, 5 May 2007 22:21:11 +0000 (22:21 +0000)]
removed dead declarations

[r13659]

17 years agoused entities are now marked
Michael Beck [Sat, 5 May 2007 21:57:47 +0000 (21:57 +0000)]
used entities are now marked
removed deleted header

[r13658]

17 years agoswitch to new style emitter
Michael Beck [Sat, 5 May 2007 19:48:17 +0000 (19:48 +0000)]
switch to new style emitter

[r13657]

17 years agomade be_emit_cstring() 'statement like'
Michael Beck [Sat, 5 May 2007 19:47:50 +0000 (19:47 +0000)]
made be_emit_cstring() 'statement like'

[r13656]

17 years agoBugFix: be_Call/function prolog: call the ld_name instead of the name
Michael Beck [Sat, 5 May 2007 19:46:17 +0000 (19:46 +0000)]
BugFix: be_Call/function prolog: call the ld_name instead of the name
some doxygen comments added

[r13655]

17 years agodoxygen docu added
Michael Beck [Sat, 5 May 2007 19:37:42 +0000 (19:37 +0000)]
doxygen docu added

[r13654]

17 years agoremoved unused (and unimplemented) emit templates
Michael Beck [Sat, 5 May 2007 19:37:13 +0000 (19:37 +0000)]
removed unused (and unimplemented) emit templates

[r13653]

17 years agoremoved wrong assert
Matthias Braun [Sat, 5 May 2007 16:20:24 +0000 (16:20 +0000)]
removed wrong assert

[r13652]

17 years agoupdate svn:ignore
Matthias Braun [Sat, 5 May 2007 15:39:42 +0000 (15:39 +0000)]
update svn:ignore

[r13651]

17 years agofix mips
Matthias Braun [Sat, 5 May 2007 15:39:15 +0000 (15:39 +0000)]
fix mips

[r13650]

17 years agoadd pkgconfig stuff, always build libfirm_xmalloc separately
Matthias Braun [Sat, 5 May 2007 15:39:08 +0000 (15:39 +0000)]
add pkgconfig stuff, always build libfirm_xmalloc separately

[r13649]

17 years agofix error when compiling without FIRM_STATISTICS
Matthias Braun [Sat, 5 May 2007 15:33:04 +0000 (15:33 +0000)]
fix error when compiling without FIRM_STATISTICS

[r13648]

17 years agoreworked configure script
Matthias Braun [Sat, 5 May 2007 14:09:11 +0000 (14:09 +0000)]
reworked configure script

[r13646]

17 years agofix for compilation without libcore
Matthias Braun [Sat, 5 May 2007 13:10:23 +0000 (13:10 +0000)]
fix for compilation without libcore

[r13645]

17 years agodoxygen comments added
Michael Beck [Sat, 5 May 2007 12:50:02 +0000 (12:50 +0000)]
doxygen comments added

[r13644]

17 years agotypo fixed
Michael Beck [Fri, 4 May 2007 22:02:16 +0000 (22:02 +0000)]
typo fixed

[r13634]

17 years agoMoved simple loweing from firmlower, making firmlower obsolete for the C-compiler...
Michael Beck [Fri, 4 May 2007 15:31:44 +0000 (15:31 +0000)]
Moved simple loweing from firmlower, making firmlower obsolete for the C-compiler (and maybe other too).

[r13631]

17 years agoremove conv after load and before stores
Matthias Braun [Fri, 4 May 2007 15:06:28 +0000 (15:06 +0000)]
remove conv after load and before stores

[r13629]

17 years agodifferent_pointer() improved
Michael Beck [Fri, 4 May 2007 11:11:03 +0000 (11:11 +0000)]
different_pointer() improved

[r13622]

17 years agoFix incorrect range check in liveness (s/<=/</).
Christoph Mallon [Fri, 4 May 2007 09:17:57 +0000 (09:17 +0000)]
Fix incorrect range check in liveness (s/<=/</).

[r13621]

17 years agoadd some initial debugging support
Michael Beck [Thu, 3 May 2007 16:05:19 +0000 (16:05 +0000)]
add some initial debugging support
added initial support for adr + const ofs detection

[r13619]

17 years agoRestructured a bit
Michael Beck [Wed, 2 May 2007 17:37:29 +0000 (17:37 +0000)]
Restructured a bit
bug fixed

[r13611]

17 years agoclean up a bit
Michael Beck [Wed, 2 May 2007 15:55:51 +0000 (15:55 +0000)]
clean up a bit
add forgotten case :-(

[r13604]