libfirm
18 years agoadded missing include, removed warning
Michael Beck [Tue, 14 Mar 2006 17:23:09 +0000 (17:23 +0000)]
added missing include, removed warning

[r7442]

18 years agoFixed some typos
Sebastian Hack [Tue, 14 Mar 2006 17:21:26 +0000 (17:21 +0000)]
Fixed some typos

[r7441]

18 years ago*** empty log message ***
Daniel Grund [Tue, 14 Mar 2006 17:18:51 +0000 (17:18 +0000)]
*** empty log message ***

[r7440]

18 years agoBackported from libcore
Sebastian Hack [Tue, 14 Mar 2006 17:15:52 +0000 (17:15 +0000)]
Backported from libcore

[r7439]

18 years agomore that one entry can map the same op (needed for different modes)
Michael Beck [Tue, 14 Mar 2006 15:24:37 +0000 (15:24 +0000)]
more that one entry can map the same op (needed for different modes)
run local_optimize() to remove tuple

[r7438]

18 years agoBugFix
Michael Beck [Tue, 14 Mar 2006 14:34:05 +0000 (14:34 +0000)]
BugFix

[r7437]

18 years agoinstruction mapper implemented
Michael Beck [Fri, 10 Mar 2006 23:50:39 +0000 (23:50 +0000)]
instruction mapper implemented

[r7434]

18 years agoAdded survive dce
Sebastian Hack [Fri, 10 Mar 2006 17:10:23 +0000 (17:10 +0000)]
Added survive dce

[r7433]

18 years agoAdded small helper function
Sebastian Hack [Fri, 10 Mar 2006 15:54:58 +0000 (15:54 +0000)]
Added small helper function

[r7432]

18 years agomissing break added
Michael Beck [Fri, 10 Mar 2006 12:06:17 +0000 (12:06 +0000)]
missing break added

[r7431]

18 years agoadded function to reset the generic function pointer for all opcodes
Christian Würdig [Thu, 9 Mar 2006 09:57:13 +0000 (09:57 +0000)]
added function to reset the generic function pointer for all opcodes

[r7429]

18 years agoImplementation completed. The documentation must be completed and the code must be...
Beyhan [Tue, 7 Mar 2006 18:01:36 +0000 (18:01 +0000)]
Implementation completed. The documentation must be completed and the code must be structured.

[r7428]

18 years agoall available opcodes are now stored in an irp list
Michael Beck [Tue, 7 Mar 2006 16:27:31 +0000 (16:27 +0000)]
all available opcodes are now stored in an irp list

[r7427]

18 years agoAdded subst hook in dead node elimination
Sebastian Hack [Tue, 7 Mar 2006 15:21:06 +0000 (15:21 +0000)]
Added subst hook in dead node elimination

[r7426]

18 years agoWITH_ILP switch added
Michael Beck [Tue, 7 Mar 2006 15:17:16 +0000 (15:17 +0000)]
WITH_ILP switch added

[r7425]

18 years agoadded new optimization cases
Christian Würdig [Tue, 7 Mar 2006 15:02:13 +0000 (15:02 +0000)]
added new optimization cases

[r7424]

18 years agoadded WITH_ILP switch
Christian Würdig [Tue, 7 Mar 2006 14:57:09 +0000 (14:57 +0000)]
added WITH_ILP switch

[r7423]

18 years agoHidden parameters can be returned instead of the compound
Michael Beck [Tue, 7 Mar 2006 14:27:54 +0000 (14:27 +0000)]
Hidden parameters can be returned instead of the compound
Add flags for handling compound arguments (NYI)

[r7421]

18 years agorecurse into ir/lower
Michael Beck [Tue, 7 Mar 2006 10:09:41 +0000 (10:09 +0000)]
recurse into ir/lower

[r7420]

18 years agomissing include directory added
Michael Beck [Mon, 6 Mar 2006 17:29:03 +0000 (17:29 +0000)]
missing include directory added

[r7419]

18 years agoir\lower\lower_calls.h added
Michael Beck [Mon, 6 Mar 2006 16:37:01 +0000 (16:37 +0000)]
ir\lower\lower_calls.h added

[r7418]

18 years agoAdded dead code elimination survival facility
Sebastian Hack [Mon, 6 Mar 2006 15:16:38 +0000 (15:16 +0000)]
Added dead code elimination survival facility

[r7417]

18 years agoAdded hook fir node substitution during dead node elimination
Sebastian Hack [Mon, 6 Mar 2006 15:16:13 +0000 (15:16 +0000)]
Added hook fir node substitution during dead node elimination

[r7416]

18 years agoused xmalloc instead of malloc
Michael Beck [Sun, 5 Mar 2006 01:19:41 +0000 (01:19 +0000)]
used xmalloc instead of malloc

[r7415]

18 years agouse xmalloc instead of malloc, safe one allocation
Michael Beck [Sun, 5 Mar 2006 01:18:58 +0000 (01:18 +0000)]
use xmalloc instead of malloc, safe one allocation

[r7414]

18 years agoclean up a bit
Michael Beck [Sun, 5 Mar 2006 01:17:21 +0000 (01:17 +0000)]
clean up a bit

[r7413]

18 years agoclean up code
Michael Beck [Sun, 5 Mar 2006 01:08:48 +0000 (01:08 +0000)]
clean up code

[r7412]

18 years agoCopyB projs are now independent of Call projs
Michael Beck [Sun, 5 Mar 2006 01:06:42 +0000 (01:06 +0000)]
CopyB projs are now independent of Call projs

[r7411]

18 years agonew edge type detection: can handle unknown nodes gracefully and simplefies code
Michael Beck [Sun, 5 Mar 2006 01:05:27 +0000 (01:05 +0000)]
new edge type detection: can handle unknown nodes gracefully and simplefies code

[r7410]

18 years agoFully implemented call lowering for methods with compound return values
Michael Beck [Sun, 5 Mar 2006 01:03:52 +0000 (01:03 +0000)]
Fully implemented call lowering for methods with compound return values

[r7409]

18 years agoused new is_*() functions
Michael Beck [Fri, 3 Mar 2006 17:14:55 +0000 (17:14 +0000)]
used new is_*() functions

[r7405]

18 years agorenamed variable new to nn
Michael Beck [Fri, 3 Mar 2006 17:14:30 +0000 (17:14 +0000)]
renamed variable new to nn
used new is_*() functions

[r7404]

18 years agoused new is_Sel()
Michael Beck [Fri, 3 Mar 2006 16:59:01 +0000 (16:59 +0000)]
used new is_Sel()

[r7401]

18 years agoused new is_return
Michael Beck [Fri, 3 Mar 2006 16:58:34 +0000 (16:58 +0000)]
used new is_return

[r7400]

18 years agonewest implementation
Michael Beck [Fri, 3 Mar 2006 16:57:30 +0000 (16:57 +0000)]
newest implementation

[r7399]

18 years agoused new is_Call()
Michael Beck [Fri, 3 Mar 2006 16:56:57 +0000 (16:56 +0000)]
used new is_Call()

[r7398]

18 years agolower_calls added
Michael Beck [Fri, 3 Mar 2006 16:56:39 +0000 (16:56 +0000)]
lower_calls added

[r7397]

18 years agoused new is_Return()
Michael Beck [Fri, 3 Mar 2006 16:56:22 +0000 (16:56 +0000)]
used new is_Return()

[r7396]

18 years agoused new is_call()
Michael Beck [Fri, 3 Mar 2006 16:55:16 +0000 (16:55 +0000)]
used new is_call()

[r7395]

18 years agoincluded lowerering files
Michael Beck [Fri, 3 Mar 2006 16:54:28 +0000 (16:54 +0000)]
included lowerering files

[r7394]

18 years agosome doxygen comments added
Michael Beck [Fri, 3 Mar 2006 16:54:07 +0000 (16:54 +0000)]
some doxygen comments added

[r7393]

18 years agoused new is_Call() and is_Sel()
Michael Beck [Fri, 3 Mar 2006 16:52:39 +0000 (16:52 +0000)]
used new is_Call() and is_Sel()

[r7392]

18 years agoused new is_Sel(), is_Call()
Michael Beck [Fri, 3 Mar 2006 16:51:59 +0000 (16:51 +0000)]
used new is_Sel(), is_Call()

[r7391]

18 years agonew is_call() used
Michael Beck [Fri, 3 Mar 2006 16:51:28 +0000 (16:51 +0000)]
new is_call() used

[r7390]

18 years agois_Return, is_Call and is_Sel implemented
Michael Beck [Fri, 3 Mar 2006 16:50:07 +0000 (16:50 +0000)]
is_Return, is_Call and is_Sel implemented

[r7389]

18 years agoFirst implementation of lowering for calls with compound return values
Michael Beck [Fri, 3 Mar 2006 16:48:48 +0000 (16:48 +0000)]
First implementation of lowering for calls with compound return values

[r7388]

18 years agoreplaced old panic module by newer error module
Michael Beck [Fri, 3 Mar 2006 12:55:21 +0000 (12:55 +0000)]
replaced old panic module by newer error module

[r7387]

18 years agoreplaced old panic module by newer error module
Michael Beck [Fri, 3 Mar 2006 12:53:59 +0000 (12:53 +0000)]
replaced old panic module by newer error module
add necessary include

[r7386]

18 years agoreplaced old panic module by newer error handling module
Michael Beck [Fri, 3 Mar 2006 12:53:22 +0000 (12:53 +0000)]
replaced old panic module by newer error handling module

[r7385]

18 years agoBugFix: = was erronously used instead of ==
Michael Beck [Fri, 3 Mar 2006 12:10:07 +0000 (12:10 +0000)]
BugFix: = was erronously used instead of ==

[r7384]

18 years agobitset dumping
Sebastian Hack [Sat, 25 Feb 2006 16:58:43 +0000 (16:58 +0000)]
bitset dumping

[r7381]

18 years agoAdded dumper for bipartite graphs
Sebastian Hack [Sat, 25 Feb 2006 16:57:47 +0000 (16:57 +0000)]
Added dumper for bipartite graphs

[r7380]

18 years agoBugFix: in newer Firm, keep-alives may be other than Block & Phi
Michael Beck [Fri, 24 Feb 2006 17:17:49 +0000 (17:17 +0000)]
BugFix: in newer Firm, keep-alives may be other than Block & Phi
restructured for easier debugging

[r7379]

18 years agoadded firm version number
Michael Beck [Wed, 22 Feb 2006 15:58:24 +0000 (15:58 +0000)]
added firm version number

[r7373]

18 years agoA new alternative of scalar_replacement. The implementation isn't completed."
Beyhan [Wed, 22 Feb 2006 15:31:47 +0000 (15:31 +0000)]
A new alternative of scalar_replacement. The implementation isn't completed."
nnnnn----------------------------------------------------------------------

[r7372]

18 years agoAdded a work around for reassociations that are "translated" back
Michael Beck [Wed, 22 Feb 2006 14:41:49 +0000 (14:41 +0000)]
Added a work around for reassociations that are "translated" back
by normal optimizations

[r7370]

18 years ago*** empty log message ***
Daniel Grund [Wed, 22 Feb 2006 14:17:57 +0000 (14:17 +0000)]
*** empty log message ***

[r7369]

18 years agofixed the type of the entity number
Michael Beck [Tue, 21 Feb 2006 14:02:11 +0000 (14:02 +0000)]
fixed the type of the entity number

[r7368]

18 years agofixed the type of the type number
Michael Beck [Tue, 21 Feb 2006 14:01:26 +0000 (14:01 +0000)]
fixed the type of the type number
made the get_*_nr() function 64bit safe
some typos fixed

[r7367]

18 years agomade get_entity_nr() 64bit safe
Michael Beck [Tue, 21 Feb 2006 13:59:59 +0000 (13:59 +0000)]
made get_entity_nr() 64bit safe
get_entity_nr() now returns the casted address, like all other *_nr() functions

[r7366]

18 years agomade get_irp_new_node_nr() inline
Michael Beck [Tue, 21 Feb 2006 13:58:17 +0000 (13:58 +0000)]
made get_irp_new_node_nr() inline

[r7365]

18 years agofixed the type of node_nr
Michael Beck [Tue, 21 Feb 2006 13:56:34 +0000 (13:56 +0000)]
fixed the type of node_nr

[r7364]

18 years agomake get_irn_node_nr() 64bit safe
Michael Beck [Tue, 21 Feb 2006 13:55:48 +0000 (13:55 +0000)]
make get_irn_node_nr() 64bit safe

[r7363]

18 years agofix the type of the graph number
Michael Beck [Tue, 21 Feb 2006 13:55:04 +0000 (13:55 +0000)]
fix the type of the graph number

[r7362]

18 years agomake get_irg_graph_nr() 64-bit save
Michael Beck [Tue, 21 Feb 2006 13:54:26 +0000 (13:54 +0000)]
make get_irg_graph_nr() 64-bit save

[r7361]

18 years agofixed the type of the loop number
Michael Beck [Tue, 21 Feb 2006 13:53:01 +0000 (13:53 +0000)]
fixed the type of the loop number

[r7360]

18 years agoadded missing include
Christian Würdig [Tue, 21 Feb 2006 13:50:30 +0000 (13:50 +0000)]
added missing include

[r7359]

18 years agoadded missing initialization
Michael Beck [Mon, 20 Feb 2006 10:19:15 +0000 (10:19 +0000)]
added missing initialization

[r7348]

18 years agotypo fixed
Michael Beck [Tue, 14 Feb 2006 16:08:54 +0000 (16:08 +0000)]
typo fixed

[r7343]

18 years agoadd type flags replacing old frame_type and type state fields
Michael Beck [Tue, 14 Feb 2006 13:08:20 +0000 (13:08 +0000)]
add type flags replacing old frame_type and type state fields
added lowered type support

[r7342]

18 years agofixed memory handling
Michael Beck [Tue, 14 Feb 2006 10:17:17 +0000 (10:17 +0000)]
fixed memory handling
added clean functionality
handle more cases, but still not perfectly working

last version before new value table implementation

[r7341]

18 years agoremoved assert
Christian Würdig [Mon, 13 Feb 2006 10:09:48 +0000 (10:09 +0000)]
removed assert

[r7340]

18 years agotypo fixed
Michael Beck [Sun, 12 Feb 2006 12:28:12 +0000 (12:28 +0000)]
typo fixed

[r7337]

18 years agoBugFixes:
Michael Beck [Thu, 9 Feb 2006 16:39:15 +0000 (16:39 +0000)]
BugFixes:
 - When a node is copied, the attributes must be copied as well
 - If may happen, then a node is partial redundant on all predecessors
   but these are not equal. Then, the mode was not calculated.

[r7336]

18 years agowhen calculating "nice_value", skip Proj's
Michael Beck [Thu, 9 Feb 2006 16:01:42 +0000 (16:01 +0000)]
when calculating "nice_value", skip Proj's

[r7335]

18 years agoremoved unused variable
Michael Beck [Thu, 9 Feb 2006 12:57:31 +0000 (12:57 +0000)]
removed unused variable

[r7333]

18 years agoremoved unused function
Michael Beck [Thu, 9 Feb 2006 12:57:01 +0000 (12:57 +0000)]
removed unused function

[r7332]

18 years agoFixed the Proj-Numbers for the Raise Node (now again like in older Firm)
Michael Beck [Thu, 9 Feb 2006 12:55:59 +0000 (12:55 +0000)]
Fixed the Proj-Numbers for the Raise Node (now again like in older Firm)

[r7331]

18 years agofind_value() added
Michael Beck [Thu, 9 Feb 2006 12:54:07 +0000 (12:54 +0000)]
find_value() added
handle exception memory for CopyB and Bound nodes right

[r7330]

18 years agoused symbolic constant when constructing new Proj nodes
Michael Beck [Thu, 9 Feb 2006 12:51:50 +0000 (12:51 +0000)]
used symbolic constant when constructing new Proj nodes
add Bound and CopyB cases

[r7329]

18 years agogvn_pre.h must be installed
Michael Beck [Wed, 8 Feb 2006 18:59:44 +0000 (18:59 +0000)]
gvn_pre.h must be installed

[r7328]

18 years agorenamed, poor firmjni construction cannot handle "final"
FIRM Projekt Account [Wed, 8 Feb 2006 18:55:35 +0000 (18:55 +0000)]
renamed, poor firmjni construction cannot handle "final"

[r7327]

18 years agorenamed aux directory to auxilliary, aux is not a valid name in win32
FIRM Projekt Account [Wed, 8 Feb 2006 18:53:00 +0000 (18:53 +0000)]
renamed aux directory to auxilliary, aux is not a valid name in win32

[r7326]

18 years agoFixed construction of constants (new verifyer detects this)
FIRM Projekt Account [Wed, 8 Feb 2006 18:49:41 +0000 (18:49 +0000)]
Fixed construction of constants (new verifyer detects this)

[r7325]

18 years agoadded missing header file
Christian Würdig [Wed, 8 Feb 2006 10:14:54 +0000 (10:14 +0000)]
added missing header file

[r7324]

18 years agoget_pnc_string() fixed
Michael Beck [Mon, 6 Feb 2006 09:33:37 +0000 (09:33 +0000)]
get_pnc_string() fixed

[r7322]

18 years agomissing new_r_simpleSel() added
Michael Beck [Mon, 6 Feb 2006 09:31:56 +0000 (09:31 +0000)]
missing new_r_simpleSel() added

[r7321]

18 years agognv_pre.h added
Michael Beck [Sat, 4 Feb 2006 18:00:16 +0000 (18:00 +0000)]
gnv_pre.h added

[r7320]

18 years agoadded header file for GVN-PRE
Michael Beck [Sat, 4 Feb 2006 17:57:40 +0000 (17:57 +0000)]
added header file for GVN-PRE

[r7319]

18 years agomake identities_cmp() and identify_remember() accessible
Michael Beck [Fri, 3 Feb 2006 16:59:11 +0000 (16:59 +0000)]
make identities_cmp() and identify_remember() accessible

[r7318]

18 years agofirm_debug_break() is now public
Michael Beck [Fri, 3 Feb 2006 16:51:37 +0000 (16:51 +0000)]
firm_debug_break() is now public

[r7317]

18 years agolibcore is now enabled by default
Michael Beck [Thu, 2 Feb 2006 17:15:53 +0000 (17:15 +0000)]
libcore is now enabled by default

[r7312]

18 years agoreplaced pset_union by more correct value_union (does normalization)
Michael Beck [Thu, 2 Feb 2006 16:50:31 +0000 (16:50 +0000)]
replaced pset_union by more correct value_union (does normalization)
fixed Avail_out calculation
set graph state at the end

[r7311]

18 years agoadded type info and final flag to class types
Michael Beck [Thu, 2 Feb 2006 16:48:45 +0000 (16:48 +0000)]
added type info and final flag to class types

[r7310]

18 years agoclosed_world flag added
Michael Beck [Thu, 2 Feb 2006 16:47:55 +0000 (16:47 +0000)]
closed_world flag added
typos fixed, enhanced doxygen documentation

[r7309]

18 years agomore changes. Works for the examples ...
Michael Beck [Thu, 2 Feb 2006 14:37:47 +0000 (14:37 +0000)]
more changes. Works for the examples ...

[r7308]

18 years agofactored out value_replace() to make it more like VanDrunen's code
Michael Beck [Tue, 31 Jan 2006 18:51:23 +0000 (18:51 +0000)]
factored out value_replace() to make it more like VanDrunen's code
renamed vars for same reason
fixed phi_translate():
 - obey leader
 - check for Phi in right block
 - do commutative changes

[r7307]

18 years agoadded xmalloc.h install
Christian Würdig [Tue, 31 Jan 2006 13:20:57 +0000 (13:20 +0000)]
added xmalloc.h install

[r7306]

18 years agoinstall xmalloc.h
Christian Würdig [Tue, 31 Jan 2006 13:17:19 +0000 (13:17 +0000)]
install xmalloc.h

[r7304]

18 years agogreop High-Level Exception nodes together
Michael Beck [Tue, 31 Jan 2006 12:16:41 +0000 (12:16 +0000)]
greop High-Level Exception nodes together

[r7303]