libfirm
18 years agofirm_types.h added
Michael Beck [Fri, 21 Oct 2005 15:57:31 +0000 (15:57 +0000)]
firm_types.h added

[r6784]

18 years agofirm_types.h used
Michael Beck [Fri, 21 Oct 2005 14:00:20 +0000 (14:00 +0000)]
firm_types.h used

[r6782]

18 years agoused firm_types.h now
Michael Beck [Fri, 21 Oct 2005 13:58:51 +0000 (13:58 +0000)]
used firm_types.h now

[r6781]

18 years agoptr_access_kind type added
Michael Beck [Fri, 21 Oct 2005 13:57:18 +0000 (13:57 +0000)]
ptr_access_kind type added
firm_types.h used

[r6780]

18 years agorenamed OPT_ENC_GRAPH into OPT_ENC_DAG
Michael Beck [Fri, 21 Oct 2005 13:54:55 +0000 (13:54 +0000)]
renamed OPT_ENC_GRAPH into OPT_ENC_DAG
minor code clearance

[r6779]

18 years agounregister function added
Michael Beck [Fri, 21 Oct 2005 13:53:44 +0000 (13:53 +0000)]
unregister function added

[r6778]

18 years agoheader added
Michael Beck [Fri, 21 Oct 2005 13:52:51 +0000 (13:52 +0000)]
header added
typos fixed

[r6777]

18 years agomore types added
Michael Beck [Fri, 21 Oct 2005 13:52:11 +0000 (13:52 +0000)]
more types added

[r6776]

18 years agouses firm_types.h now
Michael Beck [Fri, 21 Oct 2005 13:51:33 +0000 (13:51 +0000)]
uses firm_types.h now

[r6775]

18 years agoadd replace bp
Michael Beck [Fri, 21 Oct 2005 13:12:03 +0000 (13:12 +0000)]
add replace bp
hook function on demand to speed up execution

[r6774]

18 years agocleaned up hooks
Michael Beck [Fri, 21 Oct 2005 11:03:28 +0000 (11:03 +0000)]
cleaned up hooks

[r6770]

18 years agoremoved deleted hooks
Michael Beck [Fri, 21 Oct 2005 11:00:35 +0000 (11:00 +0000)]
removed deleted hooks

[r6769]

18 years agohook_dead_node_elim_start() and hook_dead_node_elim_end() replaced by hook_dead_node_...
Michael Beck [Fri, 21 Oct 2005 10:59:38 +0000 (10:59 +0000)]
hook_dead_node_elim_start() and hook_dead_node_elim_end() replaced by hook_dead_node_elim()

[r6768]

18 years agohook_replace() added to exchange
Michael Beck [Fri, 21 Oct 2005 10:58:52 +0000 (10:58 +0000)]
hook_replace() added to exchange

[r6767]

18 years agoadded doxygen docu
Michael Beck [Fri, 21 Oct 2005 10:57:37 +0000 (10:57 +0000)]
added doxygen docu
cleaned up some unused hooks

[r6766]

18 years agofixed cond after cmp detection
Michael Beck [Thu, 20 Oct 2005 15:51:37 +0000 (15:51 +0000)]
fixed cond after cmp detection

[r6765]

18 years agoadd win32 C function mangling
Michael Beck [Wed, 19 Oct 2005 16:52:34 +0000 (16:52 +0000)]
add win32 C function mangling

[r6759]

18 years agouses firm_types.h now
Michael Beck [Wed, 19 Oct 2005 16:51:03 +0000 (16:51 +0000)]
uses firm_types.h now

[r6758]

18 years agoFixed assertion: set_irn_node must check the node irgs, not
Michael Beck [Wed, 19 Oct 2005 16:50:20 +0000 (16:50 +0000)]
Fixed assertion: set_irn_node must check the node irgs, not
the current_ir_graph

[r6757]

18 years agoir_extbb type added
Michael Beck [Wed, 19 Oct 2005 16:48:50 +0000 (16:48 +0000)]
ir_extbb type added

[r6756]

18 years agoirg_args have always outs calculated, this makes some things simplier
Beyhan [Wed, 19 Oct 2005 14:24:15 +0000 (14:24 +0000)]
irg_args have always outs calculated, this makes some things simplier

[r6752]

18 years agoblocks and ir_graphs have now info1 (attributes) and info3 (debug info) fields
FIRM Projekt Account [Wed, 19 Oct 2005 12:04:29 +0000 (12:04 +0000)]
blocks and ir_graphs have now info1 (attributes) and info3 (debug info) fields
calling conventions added

strenght reduce bugfixed: places now add code into the right blocks

[r6751]

18 years agoBlocks and ir_graphs have now info1 (attributes) and info3 (debug info) fields
FIRM Projekt Account [Wed, 19 Oct 2005 12:00:07 +0000 (12:00 +0000)]
Blocks and ir_graphs have now info1 (attributes) and info3 (debug info) fields
method entities have calling conventions

[r6750]

18 years agoallow to set STAT_CNT_NUM before include
Michael Beck [Wed, 19 Oct 2005 09:57:45 +0000 (09:57 +0000)]
allow to set STAT_CNT_NUM before include

[r6749]

18 years agorefactored for ir_op_ops
Michael Beck [Wed, 19 Oct 2005 09:56:43 +0000 (09:56 +0000)]
refactored for ir_op_ops

[r6748]

18 years agoadded default reassociation ops
Michael Beck [Wed, 19 Oct 2005 09:55:46 +0000 (09:55 +0000)]
added default reassociation ops

[r6747]

18 years agomade prototypes
Michael Beck [Wed, 19 Oct 2005 09:47:18 +0000 (09:47 +0000)]
made prototypes

[r6746]

18 years agorefactored ir_op_ops
Michael Beck [Wed, 19 Oct 2005 09:46:47 +0000 (09:46 +0000)]
refactored ir_op_ops
dumps -assert graph's when assertion kills the verifyer

[r6745]

18 years agorefactored ir_op_ops
Michael Beck [Wed, 19 Oct 2005 09:45:33 +0000 (09:45 +0000)]
refactored ir_op_ops

[r6744]

18 years agomore ir_op operations to public interface
Michael Beck [Wed, 19 Oct 2005 09:43:39 +0000 (09:43 +0000)]
more ir_op operations to public interface

[r6743]

18 years agorefactored ir_op_ops
Michael Beck [Wed, 19 Oct 2005 09:42:56 +0000 (09:42 +0000)]
refactored ir_op_ops
new public interface for new_ir_op()

[r6742]

18 years agoused new firm_types.h
Michael Beck [Wed, 19 Oct 2005 09:40:05 +0000 (09:40 +0000)]
used new firm_types.h

[r6741]

18 years agoput all opaque firm types here
Michael Beck [Wed, 19 Oct 2005 09:39:20 +0000 (09:39 +0000)]
put all opaque firm types here

[r6740]

18 years agofirm_types.h added
Michael Beck [Wed, 19 Oct 2005 09:38:39 +0000 (09:38 +0000)]
firm_types.h added

[r6739]

18 years agouse new public interface to build new ir_op
Michael Beck [Wed, 19 Oct 2005 09:37:56 +0000 (09:37 +0000)]
use new public interface to build new ir_op

[r6738]

18 years agoalways build the mulh op in init
Michael Beck [Wed, 19 Oct 2005 09:36:37 +0000 (09:36 +0000)]
always build the mulh op in init

[r6737]

18 years agofixed info1 output for ir_graphs
Michael Beck [Wed, 19 Oct 2005 08:52:13 +0000 (08:52 +0000)]
fixed info1 output for ir_graphs
add debug info for ir_graphs

[r6735]

18 years agoOptimization name is now printed instead of code number
FIRM Projekt Account [Tue, 18 Oct 2005 16:50:46 +0000 (16:50 +0000)]
Optimization name is now printed instead of code number

[r6734]

18 years agoadd dbg_dead_code case
Michael Beck [Tue, 18 Oct 2005 16:49:31 +0000 (16:49 +0000)]
add dbg_dead_code case

[r6733]

18 years agoadded dbgActionToString()
FIRM Projekt Account [Tue, 18 Oct 2005 16:49:02 +0000 (16:49 +0000)]
added dbgActionToString()

[r6732]

18 years agonew optimizer detects more dead blocks earlier
FIRM Projekt Account [Tue, 18 Oct 2005 15:25:00 +0000 (15:25 +0000)]
new optimizer detects more dead blocks earlier

[r6731]

18 years agodoxygen docu fixed
Michael Beck [Tue, 18 Oct 2005 15:23:32 +0000 (15:23 +0000)]
doxygen docu fixed

[r6730]

18 years agodoxygen docu fixed
Michael Beck [Tue, 18 Oct 2005 15:18:15 +0000 (15:18 +0000)]
doxygen docu fixed
typo fixed

[r6729]

18 years agomoved dbg_action_2_str() to .c file
Michael Beck [Tue, 18 Oct 2005 15:16:11 +0000 (15:16 +0000)]
moved dbg_action_2_str() to .c file

[r6728]

18 years agonot implemented copy_irn() deleted
FIRM Projekt Account [Tue, 18 Oct 2005 14:52:43 +0000 (14:52 +0000)]
not implemented copy_irn() deleted

[r6727]

18 years agoused the new IS_CDECL() and IS_STDCALL() macros
Michael Beck [Tue, 18 Oct 2005 13:31:00 +0000 (13:31 +0000)]
used the new IS_CDECL() and IS_STDCALL() macros

[r6723]

18 years agodefine new macros for the MS cdecl, stdcall calling conventions
Michael Beck [Tue, 18 Oct 2005 13:30:12 +0000 (13:30 +0000)]
define new macros for the MS cdecl, stdcall calling conventions

[r6722]

18 years agoDoxygen docu added
Michael Beck [Tue, 18 Oct 2005 13:28:50 +0000 (13:28 +0000)]
Doxygen docu added

[r6721]

18 years agoirg_cc_callee_clear_stk added, needed for perfect stdcall/cdecl/fastcall representation
Michael Beck [Tue, 18 Oct 2005 12:11:32 +0000 (12:11 +0000)]
irg_cc_callee_clear_stk added, needed for perfect stdcall/cdecl/fastcall representation

[r6714]

18 years agoDump calling conventions for entities
Michael Beck [Tue, 18 Oct 2005 12:10:11 +0000 (12:10 +0000)]
Dump calling conventions for entities
add info1 for ir_graphs

[r6713]

18 years agoadded default calling convention
Michael Beck [Mon, 17 Oct 2005 17:04:04 +0000 (17:04 +0000)]
added default calling convention
used new names

[r6712]

18 years agoadded calling conventions to entities
Michael Beck [Mon, 17 Oct 2005 17:02:58 +0000 (17:02 +0000)]
added calling conventions to entities
renamed init_entity() into firm_init_entity()

[r6711]

18 years agoadded colling conventions
Michael Beck [Mon, 17 Oct 2005 17:01:48 +0000 (17:01 +0000)]
added colling conventions
renamed init_graph() into firm_init_graph()

[r6710]

18 years agotypos fixed
Michael Beck [Mon, 17 Oct 2005 13:04:58 +0000 (13:04 +0000)]
typos fixed

[r6708]

18 years agofixed .enable/.disable, added .lower
Michael Beck [Mon, 17 Oct 2005 12:46:21 +0000 (12:46 +0000)]
fixed .enable/.disable, added .lower

[r6707]

18 years agoBugFix: a var hides another
Michael Beck [Wed, 12 Oct 2005 15:01:17 +0000 (15:01 +0000)]
BugFix: a var hides another

[r6695]

18 years agoadded visited flag to detect endless memory loops in unreachable code,
Michael Beck [Wed, 12 Oct 2005 14:34:34 +0000 (14:34 +0000)]
added visited flag to detect endless memory loops in unreachable code,
else the optimizer would fall into an endless loop...

[r6694]

18 years agoCopyB verifyer added
Michael Beck [Wed, 12 Oct 2005 14:33:09 +0000 (14:33 +0000)]
CopyB verifyer added

[r6693]

18 years agooptimizations for CopyB node added
Michael Beck [Wed, 12 Oct 2005 14:32:29 +0000 (14:32 +0000)]
optimizations for CopyB node added
call DBG_ macro if block gets dead

[r6692]

18 years agoiro_CopyB added
Michael Beck [Wed, 12 Oct 2005 14:31:33 +0000 (14:31 +0000)]
iro_CopyB added

[r6691]

18 years agoop_CopyB added, op_Sub flags fixed
Michael Beck [Wed, 12 Oct 2005 14:31:06 +0000 (14:31 +0000)]
op_CopyB added, op_Sub flags fixed

[r6690]

18 years agoCopyB attributes added
Michael Beck [Wed, 12 Oct 2005 14:30:19 +0000 (14:30 +0000)]
CopyB attributes added

[r6689]

18 years agoadded support functions for CopyB node
Michael Beck [Wed, 12 Oct 2005 14:29:13 +0000 (14:29 +0000)]
added support functions for CopyB node

[r6688]

18 years agolocal_optimize() now kills unrteachable code if dominance info is available.
Michael Beck [Wed, 12 Oct 2005 14:25:44 +0000 (14:25 +0000)]
local_optimize() now kills unrteachable code if dominance info is available.

[r6687]

18 years agoAdded support code for CopyB node
Michael Beck [Wed, 12 Oct 2005 14:24:32 +0000 (14:24 +0000)]
Added support code for CopyB node

[r6686]

18 years agoCopyB node constructors added
Michael Beck [Wed, 12 Oct 2005 14:22:53 +0000 (14:22 +0000)]
CopyB node constructors added

[r6685]

18 years agoadded code to detect loops in unreachable code, these would cause
Michael Beck [Wed, 12 Oct 2005 14:20:51 +0000 (14:20 +0000)]
added code to detect loops in unreachable code, these would cause
endless loops else :-(

[r6684]

18 years agoadded missing header
Michael Beck [Wed, 12 Oct 2005 12:05:13 +0000 (12:05 +0000)]
added missing header
added better support for ia32/x86_64

[r6683]

18 years agodebugger extension added
Michael Beck [Wed, 12 Oct 2005 11:42:39 +0000 (11:42 +0000)]
debugger extension added

[r6682]

18 years agodebugger extension added
Michael Beck [Wed, 12 Oct 2005 11:26:56 +0000 (11:26 +0000)]
debugger extension added

[r6681]

18 years agoa debugger extension for Firm
Michael Beck [Wed, 12 Oct 2005 11:26:37 +0000 (11:26 +0000)]
a debugger extension for Firm

[r6680]

18 years agoDBG_OPT_DEAD_BLOCK() macro uses now merge_pair
Michael Beck [Tue, 11 Oct 2005 15:21:36 +0000 (15:21 +0000)]
DBG_OPT_DEAD_BLOCK() macro uses now merge_pair

[r6679]

18 years agouse INT_TO_PTR( macros for clean 64 bit compile
Michael Beck [Tue, 11 Oct 2005 15:20:59 +0000 (15:20 +0000)]
use INT_TO_PTR( macros for clean 64 bit compile

[r6678]

18 years agomade is_address_taken() public
Michael Beck [Tue, 11 Oct 2005 15:03:47 +0000 (15:03 +0000)]
made is_address_taken() public

[r6677]

18 years agoAdded check_lifetime_of_locals().
Michael Beck [Tue, 11 Oct 2005 09:36:16 +0000 (09:36 +0000)]
Added check_lifetime_of_locals().
Tail-recursion removement can only be done in it can be prove that
all lifetimes of locals can be ended before the recursion. We do that by simply
checking that there addresses are not stored. This sorryly
reduces the possibility of this optimization.

[r6676]

18 years agobefore called default_initialize_local_variable() set the block which must
Michael Beck [Tue, 11 Oct 2005 09:09:47 +0000 (09:09 +0000)]
before called default_initialize_local_variable() set the block which must
contain the initialization code as default

[r6675]

18 years agotypo
Rubino Geiß [Mon, 10 Oct 2005 15:18:12 +0000 (15:18 +0000)]
typo

[r6674]

18 years agoadded missing pn_Div_max
Rubino Geiß [Mon, 10 Oct 2005 15:16:27 +0000 (15:16 +0000)]
added missing pn_Div_max

[r6673]

18 years agoBugFix: get the rigth block in equivalent_node_block()
Michael Beck [Mon, 10 Oct 2005 14:16:02 +0000 (14:16 +0000)]
BugFix: get the rigth block in equivalent_node_block()
Confirm: optimize two identical Confirms
gigo(): handles Unknowns

[r6671]

18 years agoadded two more hooks to the ir graph dumper
Gernot Veit Batz [Mon, 10 Oct 2005 13:42:30 +0000 (13:42 +0000)]
added two more hooks to the ir graph dumper

[r6668]

18 years agoadded missing edges_notify_edge() to set_irn_in()
Gernot Veit Batz [Mon, 10 Oct 2005 13:41:40 +0000 (13:41 +0000)]
added missing edges_notify_edge() to set_irn_in()

[r6667]

18 years agoDon't check nunber of Proj's for dead blocks
Michael Beck [Mon, 10 Oct 2005 11:54:33 +0000 (11:54 +0000)]
Don't check nunber of Proj's for dead blocks

[r6666]

18 years agoFixed code placement: nodes in dead block are now moved
Michael Beck [Mon, 10 Oct 2005 11:07:56 +0000 (11:07 +0000)]
Fixed code placement: nodes in dead block are now moved
into live blocks ...

[r6665]

18 years agotypos fixed
Michael Beck [Fri, 7 Oct 2005 15:56:00 +0000 (15:56 +0000)]
typos fixed
dumped dead blocks in orange
add attribute info to blocks

[r6664]

18 years agoCheck that binary Cond has two successors if outs are available
Michael Beck [Fri, 7 Oct 2005 13:23:05 +0000 (13:23 +0000)]
Check that binary Cond has two successors if outs are available

[r6663]

18 years agoBugFix: the recalc_cnts obstack must reside in a graph entry, else
Michael Beck [Thu, 6 Oct 2005 12:02:33 +0000 (12:02 +0000)]
BugFix: the recalc_cnts obstack must reside in a graph entry, else
ALL data from all graphs are deleted!

[r6660]

18 years agoBeyhan's fixes included
Michael Beck [Thu, 6 Oct 2005 10:37:29 +0000 (10:37 +0000)]
Beyhan's fixes included

[r6659]

18 years agouse get_irn_n(*, -1) instead od get_nodes_block() so the extbb info
Michael Beck [Thu, 6 Oct 2005 10:28:04 +0000 (10:28 +0000)]
use get_irn_n(*, -1) instead od get_nodes_block() so the extbb info
is availabe even if the grph is floating (but then may be invalid)

[r6658]

18 years agoadded macro foreach_out_edges_safe(), which allows an iteration over a
Gernot Veit Batz [Wed, 5 Oct 2005 09:42:14 +0000 (09:42 +0000)]
added macro foreach_out_edges_safe(), which allows an iteration over a
nodes outgoing edges, which is safe against alteration of an edge while
iterating.

[r6656]

18 years agofix_backedges() can now cope with NULL backedge array
Michael Beck [Wed, 5 Oct 2005 09:29:27 +0000 (09:29 +0000)]
fix_backedges() can now cope with NULL backedge array

[r6655]

18 years agoadded configure stuff
Michael Beck [Tue, 4 Oct 2005 15:50:45 +0000 (15:50 +0000)]
added configure stuff

[r6654]

18 years agoFixed a bug concerning sizes of edge
Gernot Veit Batz [Fri, 23 Sep 2005 17:32:54 +0000 (17:32 +0000)]
Fixed a bug concerning sizes of edge

[r6650]

18 years agoremoved gforce
Daniel Grund [Tue, 20 Sep 2005 14:08:13 +0000 (14:08 +0000)]
removed gforce

[r6647]

18 years agoforce_run parameter added
Michael Beck [Tue, 20 Sep 2005 14:03:08 +0000 (14:03 +0000)]
force_run parameter added
now honors the additional entity/graph properties

[r6646]

18 years agoremoved old (non-functional) Not(Proj(Cmp)) and Eor(Proj(Cmp)) code
Michael Beck [Mon, 19 Sep 2005 15:24:06 +0000 (15:24 +0000)]
removed old (non-functional) Not(Proj(Cmp)) and Eor(Proj(Cmp)) code

[r6645]

18 years agoremoved buggy firm_copy_node() and restorted old copy_node()
Michael Beck [Mon, 19 Sep 2005 15:22:34 +0000 (15:22 +0000)]
removed buggy firm_copy_node() and restorted old copy_node()

[r6644]

18 years agotarval_not() han now handle tarval_b_true and tarval_b_false
Michael Beck [Sat, 17 Sep 2005 14:21:09 +0000 (14:21 +0000)]
tarval_not() han now handle tarval_b_true and tarval_b_false

[r6638]

18 years agoupdated
Michael Beck [Fri, 16 Sep 2005 14:05:10 +0000 (14:05 +0000)]
updated

[r6632]

18 years agoadded function for convertion jump prediction into human readable names
Michael Beck [Thu, 15 Sep 2005 12:14:54 +0000 (12:14 +0000)]
added function for convertion jump prediction into human readable names

[r6626]

18 years agodump now jump prediction, Free place (stack/heap)
Michael Beck [Thu, 15 Sep 2005 12:14:23 +0000 (12:14 +0000)]
dump now jump prediction, Free place (stack/heap)

[r6625]