libfirm
17 years agosome improvements
Michael Beck [Thu, 21 Dec 2006 16:06:33 +0000 (16:06 +0000)]
some improvements

[r8490]

17 years agoInitial version of the automatic module init creator
Michael Beck [Thu, 21 Dec 2006 15:53:39 +0000 (15:53 +0000)]
Initial version of the automatic module init creator

[r8489]

17 years agodoxygen docu fixed
Michael Beck [Tue, 19 Dec 2006 12:40:54 +0000 (12:40 +0000)]
doxygen docu fixed

[r8480]

17 years agoremoved useles include
Michael Beck [Mon, 18 Dec 2006 16:02:21 +0000 (16:02 +0000)]
removed useles include

[r8479]

17 years agofixed doxygen output
Michael Beck [Mon, 18 Dec 2006 12:13:32 +0000 (12:13 +0000)]
fixed doxygen output

[r8478]

17 years agoFixed warnings (the bad way)
Michael Beck [Mon, 18 Dec 2006 12:13:16 +0000 (12:13 +0000)]
Fixed warnings (the bad way)

[r8477]

17 years agoFixed doxygen output
Michael Beck [Mon, 18 Dec 2006 12:12:21 +0000 (12:12 +0000)]
Fixed doxygen output

[r8476]

17 years agoadd is_Store
Matthias Braun [Mon, 18 Dec 2006 10:17:30 +0000 (10:17 +0000)]
add is_Store

[r8475]

17 years agodon't use __PTR_TO_INT from obstack.h... well the code is still using obstack interna...
Matthias Braun [Mon, 18 Dec 2006 10:17:10 +0000 (10:17 +0000)]
don't use __PTR_TO_INT from obstack.h... well the code is still using obstack internals, but fixing this correctly would require alot of boring work so I leave this as an excercise for the reader :-)

[r8474]

17 years agomove edges_reroute_kind declaration to iredges.h because the edges_reroute macro...
Matthias Braun [Mon, 18 Dec 2006 10:15:29 +0000 (10:15 +0000)]
move edges_reroute_kind declaration to iredges.h because the edges_reroute macro needs it

[r8473]

17 years agoremoved some old files from project
Christian Würdig [Fri, 15 Dec 2006 14:59:19 +0000 (14:59 +0000)]
removed some old files from project
added some additional sta files

[r8472]

17 years agofirm is no c99
Matthias Braun [Fri, 15 Dec 2006 14:57:31 +0000 (14:57 +0000)]
firm is no c99

[r8471]

17 years agoupdate configure
Matthias Braun [Fri, 15 Dec 2006 14:56:51 +0000 (14:56 +0000)]
update configure

[r8470]

17 years agomissing #include config.h
Matthias Braun [Fri, 15 Dec 2006 12:48:20 +0000 (12:48 +0000)]
missing #include config.h

[r8469]

17 years ago#ifdef DEBUG_libfirm not #if DEBUG_libfirm
Matthias Braun [Fri, 15 Dec 2006 12:47:59 +0000 (12:47 +0000)]
#ifdef DEBUG_libfirm not #if DEBUG_libfirm

[r8468]

17 years agofix warning
Matthias Braun [Fri, 15 Dec 2006 12:39:33 +0000 (12:39 +0000)]
fix warning

[r8467]

17 years agofix warnings
Matthias Braun [Fri, 15 Dec 2006 12:37:40 +0000 (12:37 +0000)]
fix warnings

[r8466]

17 years agofix autoheader warnings
Matthias Braun [Fri, 15 Dec 2006 12:33:43 +0000 (12:33 +0000)]
fix autoheader warnings

[r8465]

17 years agoquad_t is defined by glibc headers (because of _GNU_SOURCE), so rename to quadruple_t
Matthias Braun [Fri, 15 Dec 2006 12:33:20 +0000 (12:33 +0000)]
quad_t is defined by glibc headers (because of _GNU_SOURCE), so rename to quadruple_t

[r8464]

17 years agofix configure.in so autoheader produces a correct config.h.in again
Matthias Braun [Fri, 15 Dec 2006 12:29:51 +0000 (12:29 +0000)]
fix configure.in so autoheader produces a correct config.h.in again

[r8463]

17 years ago- add descriptions to AC_DEFINE macros in configure.in\n- define _GNU_SOURCE so that...
Matthias Braun [Fri, 15 Dec 2006 12:17:42 +0000 (12:17 +0000)]
- add descriptions to AC_DEFINE macros in configure.in\n- define _GNU_SOURCE so that the gnu extension obstack_printf is available

[r8462]

17 years agofix warnings
Matthias Braun [Thu, 14 Dec 2006 14:45:05 +0000 (14:45 +0000)]
fix warnings

[r8461]

17 years agoadded a skip_Proj_const...
Matthias Braun [Thu, 14 Dec 2006 14:42:39 +0000 (14:42 +0000)]
added a skip_Proj_const...

[r8460]

17 years agoremoved useless includes
Michael Beck [Thu, 14 Dec 2006 12:51:13 +0000 (12:51 +0000)]
removed useless includes

[r8458]

17 years agoremoved depency of firmnet.h (which is OS dependant itself)
Michael Beck [Wed, 13 Dec 2006 20:13:37 +0000 (20:13 +0000)]
removed depency of firmnet.h (which is OS dependant itself)

[r8457]

17 years agorename type entity into ir_entity
Michael Beck [Wed, 13 Dec 2006 20:08:31 +0000 (20:08 +0000)]
rename type entity into ir_entity

[r8456]

17 years agoremoved dead declaration
Michael Beck [Wed, 13 Dec 2006 20:00:33 +0000 (20:00 +0000)]
removed dead declaration

[r8455]

17 years agorename type entity into ir_entity
Michael Beck [Wed, 13 Dec 2006 19:58:43 +0000 (19:58 +0000)]
rename type entity into ir_entity

[r8454]

17 years ago- rename type entity into ir_entity\- rename get_entity_offset_*() functions
Michael Beck [Wed, 13 Dec 2006 19:50:35 +0000 (19:50 +0000)]
- rename type entity into ir_entity\- rename get_entity_offset_*() functions

[r8453]

17 years agorename type entity into ir_entity
Michael Beck [Wed, 13 Dec 2006 19:47:34 +0000 (19:47 +0000)]
rename type entity into ir_entity

[r8452]

17 years agofixed output
Michael Beck [Wed, 13 Dec 2006 13:31:13 +0000 (13:31 +0000)]
fixed output

[r8444]

17 years ago- renamed access offset functions\n- renamed entity -> ir_entity
Michael Beck [Wed, 13 Dec 2006 13:21:40 +0000 (13:21 +0000)]
- renamed access offset functions\n- renamed entity -> ir_entity

[r8442]

17 years ago- add an extra filed for the bit offset\n- renamed access functions\n- renamed entity...
Michael Beck [Wed, 13 Dec 2006 13:20:50 +0000 (13:20 +0000)]
- add an extra filed for the bit offset\n- renamed access functions\n- renamed entity -> ir_entity

[r8441]

17 years agoused new get_entity_offset(), get_entity_offset_bits_remainder() functions
Michael Beck [Wed, 13 Dec 2006 13:18:57 +0000 (13:18 +0000)]
used new get_entity_offset(), get_entity_offset_bits_remainder() functions

[r8440]

17 years agoFixed hash function calculation
Michael Beck [Wed, 13 Dec 2006 13:17:18 +0000 (13:17 +0000)]
Fixed hash function calculation

[r8439]

17 years agorenamed entity -> ir_entity
Michael Beck [Wed, 13 Dec 2006 13:16:25 +0000 (13:16 +0000)]
renamed entity -> ir_entity

[r8438]

17 years agoFixed missing initialization
Michael Beck [Tue, 12 Dec 2006 16:12:05 +0000 (16:12 +0000)]
Fixed missing initialization

[r8437]

17 years agoadded ir_entity type
Michael Beck [Tue, 12 Dec 2006 14:25:01 +0000 (14:25 +0000)]
added ir_entity type

[r8436]

17 years agoused the new ir_entity type
Michael Beck [Tue, 12 Dec 2006 14:24:17 +0000 (14:24 +0000)]
used the new ir_entity type

[r8435]

17 years agotypos fixed
Michael Beck [Tue, 12 Dec 2006 14:22:54 +0000 (14:22 +0000)]
typos fixed

[r8434]

17 years ago- Several warning fixes
Matthias Braun [Mon, 11 Dec 2006 15:28:56 +0000 (15:28 +0000)]
- Several warning fixes
- Fixes for compilation without DEBUG_libfirm
- Fixed for compilation without WITH_LIBCORE (but it's still broken)

[r8432]

17 years agocleanup/fix some compound entity stuff
Matthias Braun [Sun, 10 Dec 2006 22:14:52 +0000 (22:14 +0000)]
cleanup/fix some compound entity stuff

[r8431]

17 years agoadded several missing #include config.h
Matthias Braun [Sun, 10 Dec 2006 14:12:16 +0000 (14:12 +0000)]
added several missing #include config.h

[r8430]

17 years agofix spelling - indices not indicees
Matthias Braun [Sun, 10 Dec 2006 12:40:52 +0000 (12:40 +0000)]
fix spelling - indices not indicees

[r8429]

17 years agoformat the code
Michael Beck [Wed, 6 Dec 2006 17:44:04 +0000 (17:44 +0000)]
format the code
updated address calculation count

[r8428]

17 years agocvsignore update
Matthias Braun [Wed, 6 Dec 2006 13:25:33 +0000 (13:25 +0000)]
cvsignore update

[r8427]

17 years agoadded bemachine.[ch]
Christian Würdig [Mon, 4 Dec 2006 15:59:46 +0000 (15:59 +0000)]
added bemachine.[ch]

[r8426]

17 years agoimproved comments
Matthias Braun [Mon, 4 Dec 2006 14:33:27 +0000 (14:33 +0000)]
improved comments

[r8424]

17 years agoFixed a really nasty bug when computing the hash value: upper bits where used in...
Michael Beck [Mon, 27 Nov 2006 17:24:48 +0000 (17:24 +0000)]
Fixed a really nasty bug when computing the hash value: upper bits where used in the old code ...
Increased the pattern buffer to 2048 bytes. Pattern that needs longer buffers are ignored
Allow pattern of different sizes ... but hard coded yet
Better normalization of pattern, still not perfect.

[r8423]

17 years agochange in behaviour of exchange:
Christian Würdig [Mon, 27 Nov 2006 16:31:39 +0000 (16:31 +0000)]
change in behaviour of exchange:
when out edges are activated, the dependencies are copies from old to new node (in and out ones)

[r8422]

17 years agoFixed pattern load/store but
Michael Beck [Thu, 23 Nov 2006 14:54:22 +0000 (14:54 +0000)]
Fixed pattern load/store but
 - did not work for modes yet
 - crashes afer some while ...

[r8420]

17 years agoadded is_End function
Christian Würdig [Thu, 23 Nov 2006 11:47:40 +0000 (11:47 +0000)]
added is_End function

[r8419]

17 years agoupdated doxygen docu
Michael Beck [Wed, 22 Nov 2006 17:13:23 +0000 (17:13 +0000)]
updated doxygen docu
persistent store for pattern added (did not work yet)

[r8418]

17 years agocomments updated
Michael Beck [Wed, 22 Nov 2006 17:12:20 +0000 (17:12 +0000)]
comments updated

[r8417]

17 years agofixed comment for hook_set_irn_n (it's called before change, not after)
Christian Würdig [Wed, 22 Nov 2006 12:41:44 +0000 (12:41 +0000)]
fixed comment for hook_set_irn_n (it's called before change, not after)

[r8416]

17 years agoadded support for turn into id
Christian Würdig [Wed, 22 Nov 2006 12:38:51 +0000 (12:38 +0000)]
added support for turn into id
added support for moving nodes into another block
did some code refactoring

[r8415]

17 years agoAllow the Bad node to be set in set_store(). This is neccessary, because Bad might...
Michael Beck [Tue, 21 Nov 2006 14:21:52 +0000 (14:21 +0000)]
Allow the Bad node to be set in set_store(). This is neccessary, because Bad might happen as a result of optimization.

[r8410]

17 years agofixed CRLF
Christian Würdig [Sun, 19 Nov 2006 16:18:14 +0000 (16:18 +0000)]
fixed CRLF

[r8404]

17 years agoadded firm_ycomp header include
Christian Würdig [Fri, 17 Nov 2006 15:51:30 +0000 (15:51 +0000)]
added firm_ycomp header include

[r8400]

17 years agomoved ycomp debugger extension init to edg frontend
Christian Würdig [Fri, 17 Nov 2006 15:51:15 +0000 (15:51 +0000)]
moved ycomp debugger extension init to edg frontend

[r8399]

17 years agoremoved debug output
Christian Würdig [Fri, 17 Nov 2006 15:50:31 +0000 (15:50 +0000)]
removed debug output

[r8398]

17 years agofixed set_irn_n hook
Christian Würdig [Fri, 17 Nov 2006 15:18:31 +0000 (15:18 +0000)]
fixed set_irn_n hook

[r8396]

17 years agoadded ir/net directory
Christian Würdig [Fri, 17 Nov 2006 12:53:54 +0000 (12:53 +0000)]
added ir/net directory
added firm_ycomp debugger extension

[r8391]

17 years agoadded sta backend
Christian Würdig [Fri, 17 Nov 2006 12:53:12 +0000 (12:53 +0000)]
added sta backend
added firm_ycomp debugger extension
added ir/net directory

[r8390]

17 years agoadded firm_ycomp debugger extension
Christian Würdig [Fri, 17 Nov 2006 12:51:24 +0000 (12:51 +0000)]
added firm_ycomp debugger extension

[r8389]

17 years agoadded ir/net directory
Christian Würdig [Fri, 17 Nov 2006 12:50:24 +0000 (12:50 +0000)]
added ir/net directory

[r8388]

17 years agoadded firm_ycomp
Christian Würdig [Fri, 17 Nov 2006 12:49:13 +0000 (12:49 +0000)]
added firm_ycomp
added ir/net to includes

[r8387]

17 years agoinitial checkin of firm ycomp debugger
Christian Würdig [Fri, 17 Nov 2006 12:48:37 +0000 (12:48 +0000)]
initial checkin of firm ycomp debugger

[r8386]

17 years agoinitial checkin of network communication
Christian Würdig [Fri, 17 Nov 2006 12:48:03 +0000 (12:48 +0000)]
initial checkin of network communication

[r8385]

17 years agowarning fix
Matthias Braun [Fri, 17 Nov 2006 12:12:23 +0000 (12:12 +0000)]
warning fix

[r8384]

17 years agoCheck for division by zero before convert a division operation
Michael Beck [Thu, 16 Nov 2006 15:53:30 +0000 (15:53 +0000)]
Check for division by zero before convert a division operation

[r8382]

17 years agoadded missing function return type
Christian Würdig [Wed, 15 Nov 2006 12:14:48 +0000 (12:14 +0000)]
added missing function return type

[r8381]

17 years agoUse is_Bad() where appropriate
Michael Beck [Mon, 13 Nov 2006 14:16:53 +0000 (14:16 +0000)]
Use is_Bad() where appropriate

[r8377]

17 years agodump node index in label
Christian Würdig [Thu, 2 Nov 2006 09:30:50 +0000 (09:30 +0000)]
dump node index in label

[r8371]

17 years agoadd missing is_Jmp()
Michael Beck [Wed, 25 Oct 2006 16:04:34 +0000 (16:04 +0000)]
add missing is_Jmp()
add is_Raise()
skip_Proj() is not const anymore (can skip Id nodes)

[r8370]

17 years agoadded additional walker following depedency edges
Christian Würdig [Wed, 25 Oct 2006 09:38:57 +0000 (09:38 +0000)]
added additional walker following depedency edges

[r8368]

17 years agoinstall condeval.h
Christian Würdig [Tue, 24 Oct 2006 12:39:47 +0000 (12:39 +0000)]
install condeval.h

[r8367]

17 years agodefine WITH_JVM
Christian Würdig [Tue, 24 Oct 2006 12:39:30 +0000 (12:39 +0000)]
define WITH_JVM

[r8366]

17 years agoadded files and additional generator script to project
Christian Würdig [Tue, 24 Oct 2006 12:36:07 +0000 (12:36 +0000)]
added files and additional generator script to project

[r8365]

17 years agoadded function reinit all irn data belonging to a certain block
Christian Würdig [Tue, 24 Oct 2006 12:14:21 +0000 (12:14 +0000)]
added function reinit all irn data belonging to a certain block
made reinit_single_irn_data INLINE

[r8364]

17 years agoadded is_NoMem function
Christian Würdig [Tue, 24 Oct 2006 12:13:48 +0000 (12:13 +0000)]
added is_NoMem function

[r8363]

17 years agosign_extend() did NOT expect all upper bits cleared but clear it
Michael Beck [Wed, 18 Oct 2006 14:42:38 +0000 (14:42 +0000)]
sign_extend() did NOT expect all upper bits cleared but clear it
sign_extend does zero extension for unsigned integer modes

[r8359]

17 years agochanged comment
Christian Würdig [Wed, 18 Oct 2006 09:20:06 +0000 (09:20 +0000)]
changed comment

[r8358]

17 years agoChange the if conversion backend hook
Christoph Mallon [Wed, 18 Oct 2006 09:06:27 +0000 (09:06 +0000)]
Change the if conversion backend hook

[r8357]

17 years agofixed src dir
Christian Würdig [Tue, 17 Oct 2006 15:46:21 +0000 (15:46 +0000)]
fixed src dir

[r8355]

17 years agoonly create Psi if allowed by backend
Christian Würdig [Tue, 17 Oct 2006 15:46:12 +0000 (15:46 +0000)]
only create Psi if allowed by backend

[r8354]

17 years agoadded some comments
Christian Würdig [Tue, 17 Oct 2006 15:45:58 +0000 (15:45 +0000)]
added some comments

[r8353]

17 years agoFixed more problems due to hidden conversion in Store/Load:
Michael Beck [Tue, 17 Oct 2006 12:15:37 +0000 (12:15 +0000)]
Fixed more problems due to hidden conversion in Store/Load:
 - allow only hidden conversion if the size and the mode sort is equal
   and two-complements arithmetic is used: practically this allows only
   signed/unsigned conversion
 - all other conversions (which are reinterpret cast) are forbidden yet

[r8352]

17 years agodo not place projs late
Christian Würdig [Tue, 17 Oct 2006 09:02:44 +0000 (09:02 +0000)]
do not place projs late

[r8351]

17 years agoDo not convert Sub(P, P) into a simple Minus ...
Michael Beck [Mon, 16 Oct 2006 11:50:06 +0000 (11:50 +0000)]
Do not convert Sub(P, P) into a simple Minus ...

[r8350]

17 years agoHandle a bad case: Load nodes can contain a hidden type conversion, handle that ...
Michael Beck [Mon, 16 Oct 2006 11:38:11 +0000 (11:38 +0000)]
Handle a bad case: Load nodes can contain a hidden type conversion, handle that ...

[r8349]

17 years agoused is_final_ent() instead of *_n_overwrites == 0
Michael Beck [Mon, 16 Oct 2006 11:01:38 +0000 (11:01 +0000)]
used is_final_ent() instead of *_n_overwrites == 0

[r8348]

17 years agoadded functions and macro to iterate over all node in the phase, having some data...
Christian Würdig [Fri, 13 Oct 2006 08:01:38 +0000 (08:01 +0000)]
added functions and macro to iterate over all node in the phase, having some data assigned

[r8345]

17 years agooptimize graphs that got calls inlined
Michael Beck [Thu, 12 Oct 2006 21:22:57 +0000 (21:22 +0000)]
optimize graphs that got calls inlined

[r8344]

17 years agoset current_ir_graph
Michael Beck [Thu, 12 Oct 2006 21:19:26 +0000 (21:19 +0000)]
set current_ir_graph

[r8343]

17 years agowhen doing cf_opt, automatically optimize Blocks
Michael Beck [Thu, 12 Oct 2006 21:18:35 +0000 (21:18 +0000)]
when doing cf_opt, automatically optimize Blocks
some code cleanup

[r8342]

17 years agoresolve_ent_polymorphy() now can handle non-flat inheritance again ...
Michael Beck [Thu, 12 Oct 2006 09:24:47 +0000 (09:24 +0000)]
resolve_ent_polymorphy() now can handle non-flat inheritance again ...

[r8340]

17 years agoreport removed cycles
Michael Beck [Wed, 11 Oct 2006 11:42:25 +0000 (11:42 +0000)]
report removed cycles

[r8338]

17 years agomoved -dw dump to edg/firm_opt.c
Christian Würdig [Wed, 11 Oct 2006 07:42:46 +0000 (07:42 +0000)]
moved -dw dump to edg/firm_opt.c

[r8336]

17 years agoFixed boolean value of Proj(Cmp) againm, old version did not work as expected ...
Michael Beck [Tue, 10 Oct 2006 10:15:46 +0000 (10:15 +0000)]
Fixed boolean value of Proj(Cmp) againm, old version did not work as expected ...

[r8332]