libfirm
17 years agocosmetic change
Michael Beck [Wed, 30 Aug 2006 09:27:22 +0000 (09:27 +0000)]
cosmetic change

[r8141]

17 years agofixed debug output string
Michael Beck [Wed, 30 Aug 2006 09:25:37 +0000 (09:25 +0000)]
fixed debug output string

[r8140]

17 years agofix uf_union if merging a set with itself
Matthias Braun [Tue, 29 Aug 2006 13:26:48 +0000 (13:26 +0000)]
fix uf_union if merging a set with itself

[r8139]

17 years agoRe-checked it in.
Sebastian Hack [Tue, 29 Aug 2006 08:14:58 +0000 (08:14 +0000)]
Re-checked it in.

[r8138]

17 years agoThis was badly checked in
Sebastian Hack [Tue, 29 Aug 2006 08:07:02 +0000 (08:07 +0000)]
This was badly checked in

[r8137]

17 years ago*** empty log message ***
Sebastian Hack [Mon, 28 Aug 2006 13:49:33 +0000 (13:49 +0000)]
*** empty log message ***

[r8136]

17 years agoAdded dependency edges
Sebastian Hack [Mon, 28 Aug 2006 13:48:54 +0000 (13:48 +0000)]
Added dependency edges
Adapted out edges to the new dependency edges

[r8135]

17 years agoadded memset and NULL initializers to keep valgrind happy
Christian Würdig [Mon, 28 Aug 2006 10:51:09 +0000 (10:51 +0000)]
added memset and NULL initializers to keep valgrind happy

[r8134]

17 years agoSome minor speed up by rearanging if's
Michael Beck [Mon, 21 Aug 2006 15:48:52 +0000 (15:48 +0000)]
Some minor speed up by rearanging if's

Enhancement:
 - optimize pre-optimized table-switch Cond further by removing
   defProj's if possible

[r8133]

17 years agoBugFix:
Michael Beck [Mon, 21 Aug 2006 12:55:28 +0000 (12:55 +0000)]
BugFix:
- get_tarval_overflow(): when in warp mode, the strcalc module expects that ALL
  bits are set (and this includes the HIGH bits)

[r8132]

17 years agoAdded osr_flag_ignore_x86_shift flag that ignores multiplications by 2, 4, 8
Michael Beck [Wed, 16 Aug 2006 13:31:41 +0000 (13:31 +0000)]
Added osr_flag_ignore_x86_shift flag that ignores multiplications by 2, 4, 8

[r8127]

17 years agoMinor BugFix:
Michael Beck [Tue, 15 Aug 2006 12:06:16 +0000 (12:06 +0000)]
Minor BugFix:
 - one additional path slot was copied to the set of access paths
   without negative behaviour

[r8126]

17 years agoprotect against cycles in dead code
Michael Beck [Mon, 14 Aug 2006 14:30:50 +0000 (14:30 +0000)]
protect against cycles in dead code

[r8122]

17 years agoBugFix:
Michael Beck [Mon, 14 Aug 2006 11:51:19 +0000 (11:51 +0000)]
BugFix:
 - Conv node get only entires if converted to higher modes

[r8121]

17 years agoBugFix:
Michael Beck [Sun, 13 Aug 2006 11:38:59 +0000 (11:38 +0000)]
BugFix:
 - added missing cases Conv Ls->Lu and Lu->Ls

[r8117]

17 years agocache current_ir_graph for better code
Michael Beck [Fri, 11 Aug 2006 15:49:14 +0000 (15:49 +0000)]
cache current_ir_graph for better code

[r8114]

17 years agoBugFix:
Michael Beck [Fri, 11 Aug 2006 15:44:55 +0000 (15:44 +0000)]
BugFix:
 - correctly set the initial memory anchor

[r8113]

17 years agofixed is_Cmp()
Michael Beck [Thu, 10 Aug 2006 14:39:23 +0000 (14:39 +0000)]
fixed is_Cmp()
is_Alloc() added

[r8109]

17 years agoFixed memory leak
Michael Beck [Thu, 10 Aug 2006 12:26:03 +0000 (12:26 +0000)]
Fixed memory leak

[r8108]

17 years agoadd some is_*() functions
Michael Beck [Wed, 9 Aug 2006 14:15:58 +0000 (14:15 +0000)]
add some is_*() functions

[r8106]

17 years agoFix warnings
Christoph Mallon [Fri, 4 Aug 2006 16:41:45 +0000 (16:41 +0000)]
Fix warnings

[r8104]

17 years agoAdded unionfind by Matthias
Sebastian Hack [Fri, 4 Aug 2006 12:35:01 +0000 (12:35 +0000)]
Added unionfind by Matthias

[r8101]

17 years agoMake parameter list void
Christoph Mallon [Tue, 1 Aug 2006 15:50:05 +0000 (15:50 +0000)]
Make parameter list void

[r8099]

17 years agoConstify
Christoph Mallon [Tue, 1 Aug 2006 15:49:01 +0000 (15:49 +0000)]
Constify

[r8098]

17 years agoMade WITH_JVM non-default
Sebastian Hack [Tue, 1 Aug 2006 11:40:02 +0000 (11:40 +0000)]
Made WITH_JVM non-default

[r8096]

17 years agoAdapted to changes in libcore
Sebastian Hack [Tue, 1 Aug 2006 09:20:13 +0000 (09:20 +0000)]
Adapted to changes in libcore

[r8093]

17 years ago--enable-jvm added
Michael Beck [Mon, 31 Jul 2006 16:48:51 +0000 (16:48 +0000)]
--enable-jvm added

[r8088]

17 years agoget_Pin_op() and set_Pin_op() added
Michael Beck [Mon, 31 Jul 2006 13:16:38 +0000 (13:16 +0000)]
get_Pin_op() and set_Pin_op() added

[r8083]

17 years agomoved reading of ini file to libcore
Michael Beck [Mon, 31 Jul 2006 11:40:21 +0000 (11:40 +0000)]
moved reading of ini file to libcore

[r8080]

17 years agochanged enum type again: dynamic addition of constants changed the address of
Michael Beck [Mon, 31 Jul 2006 11:38:58 +0000 (11:38 +0000)]
changed enum type again: dynamic addition of constants changed the address of
ir_enum_const objects which is not good.
So, the old behaviour is restored

[r8078]

17 years agoremoved useless includes
Michael Beck [Mon, 31 Jul 2006 11:24:31 +0000 (11:24 +0000)]
removed useless includes

[r8077]

17 years agouse assure_irg_outs()
Michael Beck [Mon, 31 Jul 2006 09:42:18 +0000 (09:42 +0000)]
use assure_irg_outs()

[r8076]

17 years agotemporary switched off the detection of more than one node of mode M from the same...
Michael Beck [Mon, 31 Jul 2006 09:41:30 +0000 (09:41 +0000)]
temporary switched off the detection of more than one node of mode M from the same block:
this happens with the current exception implementation

[r8075]

17 years agosymconst_enum_const support added
Michael Beck [Mon, 31 Jul 2006 09:12:07 +0000 (09:12 +0000)]
symconst_enum_const support added

[r8074]

17 years agoAdded WITH_JVM defines for the Java based coalescer
Sebastian Hack [Mon, 31 Jul 2006 09:10:18 +0000 (09:10 +0000)]
Added WITH_JVM defines for the Java based coalescer

[r8073]

17 years agoAdded --enable-jvm switch which is used in bejavacoal.c
Sebastian Hack [Mon, 31 Jul 2006 09:08:25 +0000 (09:08 +0000)]
Added --enable-jvm switch which is used in bejavacoal.c

[r8072]

17 years agoFixed a bug
Sebastian Hack [Mon, 31 Jul 2006 09:05:24 +0000 (09:05 +0000)]
Fixed a bug

[r8071]

17 years agoir_enum_const added
Michael Beck [Mon, 31 Jul 2006 09:04:57 +0000 (09:04 +0000)]
ir_enum_const added

[r8070]

17 years agodoxygen comment added
Michael Beck [Mon, 31 Jul 2006 09:04:01 +0000 (09:04 +0000)]
doxygen comment added

[r8069]

17 years agoadded more assertions
Michael Beck [Mon, 31 Jul 2006 09:03:25 +0000 (09:03 +0000)]
added more assertions

[r8068]

17 years agochanged implementation of enum types
Michael Beck [Mon, 31 Jul 2006 08:59:21 +0000 (08:59 +0000)]
changed implementation of enum types

[r8067]

17 years agoAdded irn data setting ability
Sebastian Hack [Mon, 31 Jul 2006 08:21:38 +0000 (08:21 +0000)]
Added irn data setting ability

[r8066]

17 years agoRemoved exec freqs
Sebastian Hack [Mon, 31 Jul 2006 08:21:21 +0000 (08:21 +0000)]
Removed exec freqs

[r8065]

17 years agoFixed a typo
Sebastian Hack [Mon, 31 Jul 2006 08:19:17 +0000 (08:19 +0000)]
Fixed a typo

[r8064]

17 years agoAdded ini file support
Sebastian Hack [Mon, 31 Jul 2006 08:18:57 +0000 (08:18 +0000)]
Added ini file support

[r8063]

17 years agoAdded long version of get_exec_freq()
Sebastian Hack [Mon, 31 Jul 2006 08:18:41 +0000 (08:18 +0000)]
Added long version of get_exec_freq()

[r8062]

17 years agoActivated ini file parsing for libcore.
Sebastian Hack [Wed, 26 Jul 2006 13:43:01 +0000 (13:43 +0000)]
Activated ini file parsing for libcore.
firm.ini is searched in the directory, the compiler is activated.

[r8053]

17 years agofind_type_*() now correctly handle the global type
Michael Beck [Tue, 25 Jul 2006 12:12:37 +0000 (12:12 +0000)]
find_type_*() now correctly handle the global type

[r8047]

17 years agofix format string parser
Michael Beck [Mon, 24 Jul 2006 17:49:53 +0000 (17:49 +0000)]
fix format string parser

[r8045]

17 years agomissing new_SymConst_type() constructor added
Michael Beck [Mon, 24 Jul 2006 14:51:21 +0000 (14:51 +0000)]
missing new_SymConst_type() constructor added

[r8041]

17 years agoget_irn_n_edges: out_count still broken, switched back to recalculation
Christian Würdig [Mon, 17 Jul 2006 08:48:28 +0000 (08:48 +0000)]
get_irn_n_edges: out_count still broken, switched back to recalculation

[r8034]

17 years agoadded asserting to check the number of user blocks
Christian Würdig [Fri, 14 Jul 2006 09:55:04 +0000 (09:55 +0000)]
added asserting to check the number of user blocks
fixed indent

[r8033]

17 years agoImproved marking of dead blocks
Michael Beck [Thu, 13 Jul 2006 10:16:47 +0000 (10:16 +0000)]
Improved marking of dead blocks
handle one additional bad case.

[r8032]

17 years agoimprove error report
Michael Beck [Thu, 13 Jul 2006 10:14:33 +0000 (10:14 +0000)]
improve error report

[r8031]

17 years agoAdded exec_freq_t type
Sebastian Hack [Tue, 11 Jul 2006 07:57:09 +0000 (07:57 +0000)]
Added exec_freq_t type
Added node dump hook

[r8030]

17 years agocosmetic changes
Michael Beck [Mon, 10 Jul 2006 15:29:32 +0000 (15:29 +0000)]
cosmetic changes

[r8029]

17 years agoBugFix: wrong nodes was followed in exception case
Michael Beck [Mon, 10 Jul 2006 15:28:19 +0000 (15:28 +0000)]
BugFix: wrong nodes was followed in exception case

[r8028]

17 years agotypos fixed, comment added
Michael Beck [Mon, 10 Jul 2006 15:25:26 +0000 (15:25 +0000)]
typos fixed, comment added

[r8027]

17 years agoshowent and showtype commands added
Michael Beck [Mon, 10 Jul 2006 15:22:37 +0000 (15:22 +0000)]
showent and showtype commands added

[r8026]

17 years agoimissing case added: computed_value_Proj() now handle Proj(Quot)
Michael Beck [Mon, 10 Jul 2006 11:55:48 +0000 (11:55 +0000)]
imissing case added: computed_value_Proj() now handle Proj(Quot)

[r8025]

17 years agoBugFix: we have two list now, so checking the links for NULL is not enough ...
Michael Beck [Fri, 7 Jul 2006 12:33:12 +0000 (12:33 +0000)]
BugFix: we have two list now, so checking the links for NULL is not enough ...

[r8020]

17 years agoRemoved some warnings due to missing const
Michael Beck [Fri, 7 Jul 2006 11:38:44 +0000 (11:38 +0000)]
Removed some warnings due to missing const

[r8019]

17 years ago_phase_get_irn_data() can handle constant phases (removes some warnings)
Michael Beck [Fri, 7 Jul 2006 11:25:31 +0000 (11:25 +0000)]
_phase_get_irn_data() can handle constant phases (removes some warnings)

[r8018]

17 years agoRollback changes of pinned attribute. This does not solve the problems
Michael Beck [Fri, 7 Jul 2006 10:57:17 +0000 (10:57 +0000)]
Rollback changes of pinned attribute. This does not solve the problems
with the FPU environment access. Need new opcodes for that ...

[r8017]

17 years agoDo not use get_nodes_block(). It is now available when global CSE is enabled
Michael Beck [Fri, 7 Jul 2006 09:54:26 +0000 (09:54 +0000)]
Do not use get_nodes_block(). It is now available when global CSE is enabled

[r8016]

17 years agofloating point operation nodes are created automatically pinned if the fp_exception...
Michael Beck [Thu, 6 Jul 2006 23:24:07 +0000 (23:24 +0000)]
floating point operation nodes are created automatically pinned if the fp_exception bit is set in the floating point model of the current graph.

[r8015]

17 years agoEvery node has now a pinned attribute that is inherited from the op.
Michael Beck [Thu, 6 Jul 2006 23:21:51 +0000 (23:21 +0000)]
Every node has now a pinned attribute that is inherited from the op.
The pinned attibute can be changed for nodes that are exception/memory pinned
or floating point nodes.

[r8014]

17 years ago*** empty log message ***
Michael Beck [Thu, 6 Jul 2006 23:16:58 +0000 (23:16 +0000)]
*** empty log message ***

[r8013]

17 years agoadd code to detect pure function
Michael Beck [Thu, 6 Jul 2006 16:27:01 +0000 (16:27 +0000)]
add code to detect pure function
currently do not unpin calls to const functions

[r8012]

17 years agorenamed real_function_call unto function_call
Michael Beck [Thu, 6 Jul 2006 16:24:03 +0000 (16:24 +0000)]
renamed real_function_call unto function_call

[r8010]

17 years agoChanged the interface of value_not_zero() and value_not_null() to return
Michael Beck [Wed, 5 Jul 2006 14:10:07 +0000 (14:10 +0000)]
Changed the interface of value_not_zero() and value_not_null() to return
the Confirm node that causes the confirmation.

[r8009]

17 years agoFixed optimization of Div/Mod nodes yb using new Pin nodes
Michael Beck [Wed, 5 Jul 2006 14:08:28 +0000 (14:08 +0000)]
Fixed optimization of Div/Mod nodes yb using new Pin nodes

[r8008]

17 years agodisable the floating of pure functions for now until
Michael Beck [Wed, 5 Jul 2006 14:05:28 +0000 (14:05 +0000)]
disable the floating of pure functions for now until
we can pove its safe

[r8007]

17 years agoget_irn_n_edges() enabled the use of the edge counter instead of recalculating the
Michael Beck [Wed, 5 Jul 2006 14:01:43 +0000 (14:01 +0000)]
get_irn_n_edges() enabled the use of the edge counter instead of recalculating the
count every time

[r8006]

17 years agois_irn_always_opt() added
Michael Beck [Wed, 5 Jul 2006 14:00:46 +0000 (14:00 +0000)]
is_irn_always_opt() added

[r8005]

17 years agoColor Pin nodes orchid
Michael Beck [Wed, 5 Jul 2006 13:59:39 +0000 (13:59 +0000)]
Color Pin nodes orchid

[r8004]

17 years agoonly "firm_types.h" needed
Michael Beck [Wed, 5 Jul 2006 13:59:06 +0000 (13:59 +0000)]
only "firm_types.h" needed
typos fixed

[r8003]

17 years agoConfirm nodes must be pinned because their blocks must be always valid to place Pin
Michael Beck [Wed, 5 Jul 2006 13:41:18 +0000 (13:41 +0000)]
Confirm nodes must be pinned because their blocks must be always valid to place Pin
nodes there

[r8002]

17 years agocorrectly handle Phi nodes (and there effective use)
Michael Beck [Wed, 5 Jul 2006 13:40:02 +0000 (13:40 +0000)]
correctly handle Phi nodes (and there effective use)

[r8001]

17 years agoBugFix: current_ir_graph was not set rigtht while lowering
Michael Beck [Wed, 5 Jul 2006 11:27:50 +0000 (11:27 +0000)]
BugFix: current_ir_graph was not set rigtht while lowering

[r7999]

17 years agoAdd Pin Operation.
Michael Beck [Tue, 4 Jul 2006 17:29:23 +0000 (17:29 +0000)]
Add Pin Operation.

[r7998]

17 years agoexecfreq stroes set internally now
Adam Szalkowski [Mon, 3 Jul 2006 20:17:51 +0000 (20:17 +0000)]
execfreq stroes set internally now

[r7996]

17 years agofixed equivalent_node_Quot()
Michael Beck [Mon, 3 Jul 2006 13:20:46 +0000 (13:20 +0000)]
fixed equivalent_node_Quot()

[r7993]

17 years agoBugFix: Memory Proj from pure function calls was not removed if in loop, fixed
Michael Beck [Mon, 3 Jul 2006 11:28:03 +0000 (11:28 +0000)]
BugFix: Memory Proj from pure function calls was not removed if in loop, fixed

[r7992]

17 years agoFixed warnings on newer VC
Michael Beck [Sun, 2 Jul 2006 16:30:17 +0000 (16:30 +0000)]
Fixed warnings on newer VC

[r7986]

17 years agoFix attribute access
Michael Beck [Sun, 2 Jul 2006 16:29:17 +0000 (16:29 +0000)]
Fix attribute access

[r7985]

17 years agoMake fp optimization dependent on the fp model.
Michael Beck [Sun, 2 Jul 2006 16:25:37 +0000 (16:25 +0000)]
Make fp optimization dependent on the fp model.

[r7984]

17 years agoRenamed attribute names to more understandable names.
Michael Beck [Sun, 2 Jul 2006 16:24:26 +0000 (16:24 +0000)]
Renamed attribute names to more understandable names.
Add floating point model to ir_graph.
Make fp optimization dependent on the fp model.

[r7983]

17 years agoAdd strict flag to Conv attributes alloweing to mark those Conv's
Michael Beck [Sun, 2 Jul 2006 16:16:53 +0000 (16:16 +0000)]
Add strict flag to Conv attributes alloweing to mark those Conv's
that should remain due to strict fp rounding rules.
Removed unused Start attibutes.
Renamed attribute names to more understandable names.

[r7982]

18 years agoFixed indentation
Michael Beck [Sat, 1 Jul 2006 16:33:12 +0000 (16:33 +0000)]
Fixed indentation

[r7981]

18 years agohandle the new irg_inline_forced_no_body inline property
Michael Beck [Fri, 30 Jun 2006 12:31:05 +0000 (12:31 +0000)]
handle the new irg_inline_forced_no_body inline property

[r7975]

18 years agoirg_inline_forced_no_body inline property added
Michael Beck [Fri, 30 Jun 2006 12:30:35 +0000 (12:30 +0000)]
irg_inline_forced_no_body inline property added

[r7974]

18 years agoBugFix: Shl, Shr, Shrs had wrong Phi constant evaluation
Michael Beck [Fri, 30 Jun 2006 09:44:28 +0000 (09:44 +0000)]
BugFix: Shl, Shr, Shrs had wrong Phi constant evaluation

[r7973]

18 years agoHandle Constant folding through Phi nodes
Michael Beck [Fri, 30 Jun 2006 09:00:39 +0000 (09:00 +0000)]
Handle Constant folding through Phi nodes

[r7972]

18 years agoFS_OPT_CONST_PHI added
Michael Beck [Fri, 30 Jun 2006 08:58:45 +0000 (08:58 +0000)]
FS_OPT_CONST_PHI added

[r7971]

18 years agoBugFix: get correct in position at user node to determine block for smallest common...
Christian Würdig [Thu, 29 Jun 2006 16:00:32 +0000 (16:00 +0000)]
BugFix: get correct in position at user node to determine block for smallest common dominator

[r7970]

18 years agoif conversiopn currently cannot cope with Bad control flow predecessor
Michael Beck [Thu, 29 Jun 2006 13:20:41 +0000 (13:20 +0000)]
if conversiopn currently cannot cope with Bad control flow predecessor

[r7968]

18 years agoreformateed and some comments added
Michael Beck [Thu, 29 Jun 2006 13:04:12 +0000 (13:04 +0000)]
reformateed and some comments added

[r7966]

18 years agoBugFix:
Michael Beck [Thu, 29 Jun 2006 13:03:20 +0000 (13:03 +0000)]
BugFix:
 - when welding blocks, correctly handle the blockinfo

Removed all dumping functions

[r7965]

18 years agoFixed and enhanced movement of Store operation through a PhiM node
Michael Beck [Thu, 29 Jun 2006 11:32:11 +0000 (11:32 +0000)]
Fixed and enhanced movement of Store operation through a PhiM node

[r7964]