libfirm
17 years ago- Lower Minus ops directly instead of using an intrinsic call
Michael Beck [Mon, 9 Oct 2006 16:20:37 +0000 (16:20 +0000)]
- Lower Minus ops directly instead of using an intrinsic call
- Fixed Cond nodes lowering: =   must be removed from comparasion of high parts
- Add support for Psi nodes

[r8324]

17 years agodirty hack to make execfreqs work with endless apps
Matthias Braun [Mon, 9 Oct 2006 12:07:59 +0000 (12:07 +0000)]
dirty hack to make execfreqs work with endless apps

[r8323]

17 years agoadded is_div, is_mod and is_DivMod functions
Christian Würdig [Mon, 9 Oct 2006 08:57:48 +0000 (08:57 +0000)]
added is_div, is_mod and is_DivMod functions

[r8322]

17 years agowhen checking Bound nodes, ignore ones which a Bad predecessor
Michael Beck [Sun, 8 Oct 2006 18:01:32 +0000 (18:01 +0000)]
when checking Bound nodes, ignore ones which a Bad predecessor

[r8320]

17 years agoMade frame types final classes.
Michael Beck [Thu, 5 Oct 2006 13:41:16 +0000 (13:41 +0000)]
Made frame types final classes.

[r8317]

17 years agofirm_init_options() is now a separate function that reads the firm.ini and might...
Michael Beck [Thu, 5 Oct 2006 13:08:13 +0000 (13:08 +0000)]
firm_init_options() is now a separate function that reads the firm.ini and might parse command line parameters.
This is NOT anymore done in init_firm()

[r8315]

17 years agoAdd the final property to entities
Michael Beck [Mon, 2 Oct 2006 08:14:29 +0000 (08:14 +0000)]
Add the final property to entities

[r8313]

17 years agoset the global type and tls type flags on the globat/tls type
Michael Beck [Fri, 29 Sep 2006 19:00:12 +0000 (19:00 +0000)]
set the global type and tls type flags on the globat/tls type

[r8312]

17 years agoirop_flag_start_block flag added
Michael Beck [Fri, 29 Sep 2006 18:57:27 +0000 (18:57 +0000)]
irop_flag_start_block flag added

[r8311]

17 years agois_irn_start_block_placed() added\nconst added to skip_Proj()
Michael Beck [Fri, 29 Sep 2006 18:56:12 +0000 (18:56 +0000)]
is_irn_start_block_placed() added\nconst added to skip_Proj()

[r8310]

17 years agoadded numbers for the base/upper types
Michael Beck [Fri, 29 Sep 2006 18:52:23 +0000 (18:52 +0000)]
added numbers for the base/upper types

[r8309]

17 years agoBugFix:
Michael Beck [Thu, 28 Sep 2006 22:33:49 +0000 (22:33 +0000)]
BugFix:
 - inlining erronously could not inline functions containing a Proj(x, 6) includes
   functions with more than 5 parameters and <> operator ...

[r8308]

17 years agoImproved doxygen docu
Michael Beck [Thu, 28 Sep 2006 22:30:38 +0000 (22:30 +0000)]
Improved doxygen docu

[r8307]

17 years agoAdd shortcut to speed up gc_irgs()
Michael Beck [Thu, 28 Sep 2006 22:29:39 +0000 (22:29 +0000)]
Add shortcut to speed up gc_irgs()

[r8306]

17 years agorenamed exec_freq_t to ir_exec_freq
Michael Beck [Wed, 27 Sep 2006 23:27:01 +0000 (23:27 +0000)]
renamed exec_freq_t to ir_exec_freq

[r8303]

17 years agorestructured to allow easier debug
Michael Beck [Wed, 27 Sep 2006 23:25:48 +0000 (23:25 +0000)]
restructured to allow easier debug

[r8302]

17 years agoAdd ir_*_ptr types.
Michael Beck [Wed, 27 Sep 2006 23:24:10 +0000 (23:24 +0000)]
Add ir_*_ptr types.
renamed exec_freq_t to ir_exec_freq
removed old ir_block_edge_t type

[r8301]

17 years agoadded function to remove a keepalive edge
Christian Würdig [Tue, 26 Sep 2006 14:57:59 +0000 (14:57 +0000)]
added function to remove a keepalive edge

[r8298]

17 years agofix broken remove_critical_cf
Matthias Braun [Tue, 26 Sep 2006 12:56:57 +0000 (12:56 +0000)]
fix broken remove_critical_cf

[r8296]

17 years agoFixed remove_critical_cf_edges():
Michael Beck [Tue, 26 Sep 2006 11:29:13 +0000 (11:29 +0000)]
Fixed remove_critical_cf_edges():
 - use irg_block_walk_graph() to speed up
 - build block only at critical edges: curretn block has more than 1 predecessor
  and the predecessor is a forking op
 - ignore ALL exception edges

[r8294]

17 years agochanged api
Christian Würdig [Mon, 25 Sep 2006 11:29:15 +0000 (11:29 +0000)]
changed api

[r8292]

17 years agoadded is_Start function
Christian Würdig [Thu, 21 Sep 2006 13:41:08 +0000 (13:41 +0000)]
added is_Start function

[r8291]

17 years agoadded additional parameter and assert to tmp dom info walker, to check valid list...
Christian Würdig [Thu, 21 Sep 2006 12:14:38 +0000 (12:14 +0000)]
added additional parameter and assert to tmp dom info walker, to check valid list access

[r8288]

17 years agowarning fix
Matthias Braun [Wed, 20 Sep 2006 15:23:45 +0000 (15:23 +0000)]
warning fix

[r8286]

17 years agoadded get_opt_closed_world() where appropriate
Michael Beck [Wed, 20 Sep 2006 15:22:22 +0000 (15:22 +0000)]
added get_opt_closed_world() where appropriate

[r8285]

17 years agoadded get_opt_closed_world() where appropriate
Michael Beck [Wed, 20 Sep 2006 15:19:58 +0000 (15:19 +0000)]
added get_opt_closed_world() where appropriate
added callback to detect Object allocation

[r8284]

17 years agoget_entity_repr_class() added, needed to get a class from a type info entity
Michael Beck [Wed, 20 Sep 2006 15:18:38 +0000 (15:18 +0000)]
get_entity_repr_class() added, needed to get a class from a type info entity
mtp_property_runtime added

[r8283]

17 years agoadded phase reinit data per irn
Christian Würdig [Wed, 20 Sep 2006 15:02:21 +0000 (15:02 +0000)]
added phase reinit data per irn

[r8282]

17 years agoadded weighted bipartite matching with hungarian method
Christian Würdig [Wed, 20 Sep 2006 15:00:55 +0000 (15:00 +0000)]
added weighted bipartite matching with hungarian method

[r8281]

17 years agoadded block recomputation
Christian Würdig [Wed, 20 Sep 2006 15:00:31 +0000 (15:00 +0000)]
added block recomputation
removed sink list

[r8280]

17 years agochanged solve function, return now 0 or negative on number, cost are pointer param
Christian Würdig [Wed, 20 Sep 2006 14:59:21 +0000 (14:59 +0000)]
changed solve function, return now 0 or negative on number, cost are pointer param

[r8279]

17 years agoextended dumper
Christian Würdig [Wed, 20 Sep 2006 14:58:43 +0000 (14:58 +0000)]
extended dumper

[r8278]

17 years agoFixed the type of the visit number
Michael Beck [Sun, 17 Sep 2006 21:12:39 +0000 (21:12 +0000)]
Fixed the type of the visit number

[r8265]

17 years agomake the comment more useful
Michael Beck [Sun, 17 Sep 2006 21:11:31 +0000 (21:11 +0000)]
make the comment more useful

[r8264]

17 years agoAdded support for SymConst(ofs_ent)
Michael Beck [Sun, 17 Sep 2006 21:09:37 +0000 (21:09 +0000)]
Added support for SymConst(ofs_ent)

[r8263]

17 years agoSymConst(ofs_ent) added to represent the offset of an entity.
Michael Beck [Sun, 17 Sep 2006 21:07:48 +0000 (21:07 +0000)]
SymConst(ofs_ent) added to represent the offset of an entity.
fixed SymConst handling

[r8262]

17 years agoSymConst(ofs_ent) added to represent the offset of an entity.
Michael Beck [Sun, 17 Sep 2006 21:05:59 +0000 (21:05 +0000)]
SymConst(ofs_ent) added to represent the offset of an entity.

[r8261]

17 years agoRemoved some depencies from current_ir_graph
Michael Beck [Fri, 15 Sep 2006 19:39:21 +0000 (19:39 +0000)]
Removed some depencies from current_ir_graph

[r8260]

17 years agoremoved some redundant assertions
Michael Beck [Fri, 15 Sep 2006 19:31:34 +0000 (19:31 +0000)]
removed some redundant assertions
speed up add_compound_ent_value()

[r8259]

17 years agoAdd a performance warning to the add_compound_ent_value() funtion
Michael Beck [Fri, 15 Sep 2006 19:28:45 +0000 (19:28 +0000)]
Add a performance warning to the  add_compound_ent_value() funtion

[r8258]

17 years agoadd docu and prototype for find_value()
Michael Beck [Fri, 15 Sep 2006 08:05:34 +0000 (08:05 +0000)]
add docu and prototype for find_value()
remove some depencies from current_ir_graph

[r8257]

17 years agorename fucntion due to a name clash
Michael Beck [Fri, 15 Sep 2006 08:04:16 +0000 (08:04 +0000)]
rename fucntion due to a name clash

[r8256]

17 years agorenamed function due to a name clash
Michael Beck [Fri, 15 Sep 2006 08:02:56 +0000 (08:02 +0000)]
renamed function due to a name clash

[r8255]

17 years agoBugFix:
Michael Beck [Fri, 15 Sep 2006 07:41:30 +0000 (07:41 +0000)]
BugFix:
 - current_ir_graph must be set because of out walker use
 - ignore only Muls in x86 mode

[r8254]

17 years agoBugFix:
Michael Beck [Thu, 14 Sep 2006 19:11:11 +0000 (19:11 +0000)]
BugFix:
 - post-dominance did not restore current_ir_graph, but set local var wrong

[r8253]

17 years agocondeval can evaluate phis on phis on constants now
Matthias Braun [Thu, 14 Sep 2006 16:37:59 +0000 (16:37 +0000)]
condeval can evaluate phis on phis on constants now

[r8252]

17 years agooptimize_graph_df():
Michael Beck [Thu, 14 Sep 2006 15:31:51 +0000 (15:31 +0000)]
optimize_graph_df():
 - when a mode_T node is enqueued, enqueue it's Projs. This
   is needed because most optimizations run on the Proj

[r8251]

17 years agowarning fix
Matthias Braun [Thu, 14 Sep 2006 08:26:39 +0000 (08:26 +0000)]
warning fix

[r8249]

17 years agoforgot this
Matthias Braun [Wed, 13 Sep 2006 16:31:32 +0000 (16:31 +0000)]
forgot this

[r8248]

17 years agocondeval.h added
Michael Beck [Wed, 13 Sep 2006 14:40:50 +0000 (14:40 +0000)]
condeval.h added

[r8245]

17 years agoadded find_value and has_value functions
Christian Würdig [Wed, 13 Sep 2006 14:17:53 +0000 (14:17 +0000)]
added find_value and has_value functions

[r8244]

17 years agoadded option to choose between perfect and normal matching
Christian Würdig [Wed, 13 Sep 2006 13:06:26 +0000 (13:06 +0000)]
added option to choose between perfect and normal matching

[r8242]

17 years agoBugFix:
Michael Beck [Wed, 13 Sep 2006 12:41:31 +0000 (12:41 +0000)]
BugFix:
 - When moving Stores over Phis we must ensure that the store block
   is different from the Phi-block, otherwise the post-dominance
   did NOT mean we we expect (and a Store is moved from the end of a block
   to its start)

[r8240]

17 years agoadded comment and cvs id
Christian Würdig [Wed, 13 Sep 2006 12:02:26 +0000 (12:02 +0000)]
added comment and cvs id

[r8239]

17 years agobipartite matching based on hungarian method
Christian Würdig [Wed, 13 Sep 2006 12:00:16 +0000 (12:00 +0000)]
bipartite matching based on hungarian method

[r8238]

17 years agoBitfields in entity need one more bits because of signess,
Michael Beck [Wed, 13 Sep 2006 11:58:47 +0000 (11:58 +0000)]
Bitfields in entity need one more bits because of signess,
add is_entity_compiler_generated

[r8237]

17 years agodon't fail on switches
Matthias Braun [Wed, 13 Sep 2006 10:17:13 +0000 (10:17 +0000)]
don't fail on switches

[r8236]

17 years agowarning fix
Matthias Braun [Wed, 13 Sep 2006 09:12:55 +0000 (09:12 +0000)]
warning fix

[r8235]

17 years agowarning fixes
Matthias Braun [Wed, 13 Sep 2006 09:12:16 +0000 (09:12 +0000)]
warning fixes

[r8234]

17 years agorenamed some firm enum types to have the ir_ prefix
Michael Beck [Tue, 12 Sep 2006 21:26:52 +0000 (21:26 +0000)]
renamed some firm enum types to have the ir_ prefix

[r8230]

17 years agofixed type of variable
Michael Beck [Tue, 12 Sep 2006 21:23:57 +0000 (21:23 +0000)]
fixed type of variable

[r8229]

17 years agorenamed some firm enum types to have the ir_ prefix
Michael Beck [Tue, 12 Sep 2006 21:14:13 +0000 (21:14 +0000)]
renamed some firm enum types to have the ir_ prefix

[r8228]

17 years agouse edges_reroute instead of exchange
Matthias Braun [Tue, 12 Sep 2006 17:30:31 +0000 (17:30 +0000)]
use edges_reroute instead of exchange

[r8227]

17 years agofix
Matthias Braun [Tue, 12 Sep 2006 15:56:53 +0000 (15:56 +0000)]
fix

[r8226]

17 years agoAdded 64bit types (currently used only in the backend for statistic purposes
Michael Beck [Tue, 12 Sep 2006 13:18:41 +0000 (13:18 +0000)]
Added 64bit types (currently used only in the backend for statistic purposes

[r8225]

17 years agoeven more warning fixes
Matthias Braun [Tue, 12 Sep 2006 12:18:16 +0000 (12:18 +0000)]
even more warning fixes

[r8222]

17 years agomore warning fixes
Matthias Braun [Tue, 12 Sep 2006 12:17:37 +0000 (12:17 +0000)]
more warning fixes

[r8221]

17 years agowarning fixes
Matthias Braun [Tue, 12 Sep 2006 12:17:13 +0000 (12:17 +0000)]
warning fixes

[r8220]

17 years agodefault_dbg_info_merge_pair() now leaves debug info in only one node has one
Michael Beck [Tue, 12 Sep 2006 12:16:01 +0000 (12:16 +0000)]
default_dbg_info_merge_pair() now leaves debug info in only one node has one

[r8219]

17 years agoget_/set_method_param_ident() added, needed for debug support
Michael Beck [Tue, 12 Sep 2006 11:25:58 +0000 (11:25 +0000)]
get_/set_method_param_ident() added, needed for debug support

[r8218]

17 years agodecimal output is now always unsigned for unsigned tarvals
Michael Beck [Tue, 12 Sep 2006 07:56:26 +0000 (07:56 +0000)]
decimal output is now always unsigned for unsigned tarvals

[r8217]

17 years agosome opts don't like edges
Matthias Braun [Mon, 11 Sep 2006 22:10:50 +0000 (22:10 +0000)]
some opts don't like edges

[r8216]

17 years agofirst version of condeval optimisation
Matthias Braun [Mon, 11 Sep 2006 22:10:03 +0000 (22:10 +0000)]
first version of condeval optimisation

[r8215]

17 years agoadded execfreq to firm_types
Michael Beck [Mon, 11 Sep 2006 14:32:55 +0000 (14:32 +0000)]
added execfreq to firm_types

[r8214]

17 years agoRestructure and improve
Christoph Mallon [Mon, 11 Sep 2006 13:32:38 +0000 (13:32 +0000)]
Restructure and improve

[r8212]

17 years agoSSA construction code for condeval optimisation
Matthias Braun [Mon, 11 Sep 2006 12:36:42 +0000 (12:36 +0000)]
SSA construction code for condeval optimisation

[r8211]

17 years agoAdd flags for the global and TLS type to help debugging
Michael Beck [Mon, 11 Sep 2006 12:14:25 +0000 (12:14 +0000)]
Add flags for the global and TLS type to help debugging

[r8210]

17 years agomissing includes
Matthias Braun [Mon, 11 Sep 2006 11:28:25 +0000 (11:28 +0000)]
missing includes

[r8209]

17 years agoProper scaling for integer exec freqs
Sebastian Hack [Sun, 10 Sep 2006 15:06:13 +0000 (15:06 +0000)]
Proper scaling for integer exec freqs

[r8206]

17 years agoremoved strange (and probably wrong) assertion
Michael Beck [Sun, 10 Sep 2006 10:17:12 +0000 (10:17 +0000)]
removed strange (and probably wrong) assertion

[r8204]

17 years agoadd config.h to allow Win32 compile
Michael Beck [Sun, 10 Sep 2006 09:54:46 +0000 (09:54 +0000)]
add config.h to allow Win32 compile
add missing #endif
cleaned up pnc handling

[r8202]

17 years agoBeginning of implementation of partial condition evaluation
Christoph Mallon [Sat, 9 Sep 2006 16:51:35 +0000 (16:51 +0000)]
Beginning of implementation of partial condition evaluation
Runs only the analysis right now, does not modify the program graph

[r8199]

17 years agocreate execution frequencies from profile data
Matthias Braun [Fri, 8 Sep 2006 09:11:41 +0000 (09:11 +0000)]
create execution frequencies from profile data

[r8197]

17 years agowarning fixes
Matthias Braun [Fri, 8 Sep 2006 09:10:16 +0000 (09:10 +0000)]
warning fixes

[r8196]

17 years agois_Pin() added
Michael Beck [Fri, 8 Sep 2006 09:07:08 +0000 (09:07 +0000)]
is_Pin() added

[r8195]

17 years agoadded help and improved new irgname and irgldname functions
Michael Beck [Thu, 7 Sep 2006 09:25:18 +0000 (09:25 +0000)]
added help and improved new irgname and irgldname functions

[r8194]

17 years ago.irgname debugger command
Matthias Braun [Thu, 7 Sep 2006 08:41:01 +0000 (08:41 +0000)]
.irgname debugger command

[r8193]

17 years agoadd section support
Michael Beck [Wed, 6 Sep 2006 16:29:20 +0000 (16:29 +0000)]
add section support

[r8192]

17 years agowarning fix
Matthias Braun [Wed, 6 Sep 2006 16:09:22 +0000 (16:09 +0000)]
warning fix

[r8191]

17 years agoBugFix:
Michael Beck [Wed, 6 Sep 2006 16:07:28 +0000 (16:07 +0000)]
BugFix:
 - decimal output was badly broken: checkf only the last 4 nibble instead of ALL
   nibble for 0 result ...

[r8190]

17 years agoadded support for image sections, currently only for method entities
Michael Beck [Wed, 6 Sep 2006 14:50:05 +0000 (14:50 +0000)]
added support for image sections, currently only for method entities

[r8186]

17 years agofix endless loop for some execfreqs
Matthias Braun [Wed, 6 Sep 2006 14:24:21 +0000 (14:24 +0000)]
fix endless loop for some execfreqs

[r8185]

17 years agoFixed a bug concerning integer translation
Sebastian Hack [Wed, 6 Sep 2006 14:15:11 +0000 (14:15 +0000)]
Fixed a bug concerning integer translation

[r8184]

17 years agofix block out edges if a block cfgpred gets set to Bad
Matthias Braun [Wed, 6 Sep 2006 14:10:05 +0000 (14:10 +0000)]
fix block out edges if a block cfgpred gets set to Bad

[r8183]

17 years agofixed plist_new when no obstack is given
Christian Würdig [Wed, 6 Sep 2006 13:54:42 +0000 (13:54 +0000)]
fixed plist_new when no obstack is given

[r8182]

17 years agoBugFix: the Extbb array was not always in the right order, fixed now
Michael Beck [Wed, 6 Sep 2006 12:03:26 +0000 (12:03 +0000)]
BugFix: the Extbb array was not always in the right order, fixed now

[r8180]

17 years agoadded execfreq.h
Christian Würdig [Wed, 6 Sep 2006 12:01:12 +0000 (12:01 +0000)]
added execfreq.h

[r8179]

17 years agoadded prototype for extbb with execution frequencies
Christian Würdig [Wed, 6 Sep 2006 12:00:40 +0000 (12:00 +0000)]
added prototype for extbb with execution frequencies

[r8178]

17 years agoremoved c99 style
Christian Würdig [Wed, 6 Sep 2006 11:03:51 +0000 (11:03 +0000)]
removed c99 style
fixed some indents and typos

[r8177]

17 years agoadded plist constructor with foreign obstack
Christian Würdig [Wed, 6 Sep 2006 08:40:54 +0000 (08:40 +0000)]
added plist constructor with foreign obstack
made code more firm style

[r8176]