libfirm
19 years agoadded IJmp opcode allowing an indirect jump to an arbitrary address
Michael Beck [Thu, 30 Jun 2005 08:03:05 +0000 (08:03 +0000)]
added IJmp opcode allowing an indirect jump to an arbitrary address

[r6134]

19 years agoadded %= for printing a pn_Cmp value
Michael Beck [Thu, 30 Jun 2005 07:59:11 +0000 (07:59 +0000)]
added %= for printing a pn_Cmp value
if a node is a Const, dump it's tarval
typos fixed

[r6133]

19 years agotypos fixed
Michael Beck [Thu, 30 Jun 2005 07:54:53 +0000 (07:54 +0000)]
typos fixed
used get_irn_op() instead of get_irn_opcode()
used get_irn_n(*, -1) instead of get_nodes_block(), so we
can use this optimization while nodes are floating

[r6132]

19 years agoBugFix: comparasion between two signed floats was wrong
Michael Beck [Wed, 29 Jun 2005 15:57:29 +0000 (15:57 +0000)]
BugFix: comparasion between two signed floats was wrong

[r6129]

19 years agoadded special case to fc_comp() to speed things up
Michael Beck [Tue, 28 Jun 2005 15:08:23 +0000 (15:08 +0000)]
added special case to fc_comp() to speed things up
removed old assert() in tarval_cmp() float case

[r6126]

19 years agoan accessor function returning predecessor blocks
Götz Lindenmaier [Mon, 27 Jun 2005 11:05:24 +0000 (11:05 +0000)]
an accessor function returning predecessor blocks

[r6123]

19 years agoBugFix: dead node elimination killed the Phi node in the old graph instead
Michael Beck [Mon, 27 Jun 2005 08:39:32 +0000 (08:39 +0000)]
BugFix: dead node elimination killed the Phi node in the old graph instead
in the new one

Code Placement: replaced get_nodes_block() calls by get_irn_n() to avoid
new assertion that checks block usage in floating graphs

[r6122]

19 years agoAdded block successor edges to the iredges module.
Sebastian Hack [Fri, 24 Jun 2005 11:11:47 +0000 (11:11 +0000)]
Added block successor edges to the iredges module.

[r6120]

19 years agoBugfix: missing ;
Michael Beck [Thu, 23 Jun 2005 14:36:50 +0000 (14:36 +0000)]
Bugfix: missing ;

[r6118]

19 years agoaccessor to check whether node currently is pinned.
Götz Lindenmaier [Thu, 23 Jun 2005 14:30:59 +0000 (14:30 +0000)]
accessor to check whether node currently is pinned.

[r6117]

19 years agoadded outs for array element types
Götz Lindenmaier [Thu, 23 Jun 2005 13:48:07 +0000 (13:48 +0000)]
added outs for array element types

[r6114]

19 years agoBugfix: pattern for "x + (a - x)" fixed
Michael Beck [Thu, 23 Jun 2005 09:21:04 +0000 (09:21 +0000)]
Bugfix: pattern for "x + (a - x)" fixed

[r6110]

19 years agofixed stupid conpy and paste error
Michael Beck [Wed, 22 Jun 2005 17:56:36 +0000 (17:56 +0000)]
fixed stupid conpy and paste error

[r6109]

19 years agoadded comment explaining #if 0 code
Michael Beck [Wed, 22 Jun 2005 17:21:47 +0000 (17:21 +0000)]
added comment explaining #if 0 code

[r6108]

19 years agoused faster get_mode_x() functions
Michael Beck [Wed, 22 Jun 2005 17:21:06 +0000 (17:21 +0000)]
used faster get_mode_x() functions
removed depth from debug macros (not supported by libfirm's irprintf())

[r6107]

19 years agorenamed DBG_OPT_POLY_ALLOC() to DBG_OPT_POLY(), as
Michael Beck [Wed, 22 Jun 2005 17:19:05 +0000 (17:19 +0000)]
renamed DBG_OPT_POLY_ALLOC() to DBG_OPT_POLY(), as
not in every case there is a check for an Alloc()

[r6106]

19 years agoFixed interval creation
Michael Beck [Wed, 22 Jun 2005 17:18:08 +0000 (17:18 +0000)]
Fixed interval creation
added debug function

[r6105]

19 years agofixed DBG_OPT_RAW() call
Michael Beck [Wed, 22 Jun 2005 17:16:53 +0000 (17:16 +0000)]
fixed DBG_OPT_RAW() call

[r6104]

19 years agoiropt_dbg.h include needed now
Michael Beck [Wed, 22 Jun 2005 17:15:56 +0000 (17:15 +0000)]
iropt_dbg.h include needed now

[r6103]

19 years agoadded new arithmetic optimization flags
Michael Beck [Wed, 22 Jun 2005 17:14:26 +0000 (17:14 +0000)]
added new arithmetic optimization flags
added (a - x) + x optimization
removed #if 0 code
used is_Bad()

[r6102]

19 years agoadded new flags for arithmetic optimizations
Michael Beck [Wed, 22 Jun 2005 17:12:31 +0000 (17:12 +0000)]
added new flags for arithmetic optimizations

[r6101]

19 years agoremoved debugging output
Michael Beck [Wed, 22 Jun 2005 17:09:13 +0000 (17:09 +0000)]
removed debugging output
used new get_negated_pnc()

[r6100]

19 years agoadded new flags for arithmetic simplifivations
Michael Beck [Wed, 22 Jun 2005 16:56:39 +0000 (16:56 +0000)]
added new flags for arithmetic simplifivations
added new dead block optimization flag

[r6099]

19 years agoadded new flags for arithmetic simplifications
Michael Beck [Wed, 22 Jun 2005 16:55:55 +0000 (16:55 +0000)]
added new flags for arithmetic simplifications

[r6098]

19 years agouses new flags for arithmetic simplifications
Michael Beck [Wed, 22 Jun 2005 16:55:25 +0000 (16:55 +0000)]
uses new flags for arithmetic simplifications

[r6097]

19 years agoadded doxygen comments
Michael Beck [Wed, 22 Jun 2005 16:54:25 +0000 (16:54 +0000)]
added doxygen comments
added additional option for algebraic simplifications

[r6096]

19 years agoadded option for dead block optimization
Michael Beck [Wed, 22 Jun 2005 16:53:21 +0000 (16:53 +0000)]
added option for dead block optimization

[r6095]

19 years agomade get_Block_cfgpred() and get_Block_n_cfgpreds() inline
Michael Beck [Wed, 22 Jun 2005 16:52:12 +0000 (16:52 +0000)]
made get_Block_cfgpred() and get_Block_n_cfgpreds() inline
get_negated_pnc() now used the mode to supress unordered bit
on modes that do not have them.

[r6094]

19 years agotypos fixed
Michael Beck [Wed, 22 Jun 2005 12:59:23 +0000 (12:59 +0000)]
typos fixed

[r6093]

19 years agotypos fixed
Michael Beck [Wed, 22 Jun 2005 11:21:25 +0000 (11:21 +0000)]
typos fixed
added doxygen comment

[r6092]

19 years agotypos fixed
Michael Beck [Wed, 22 Jun 2005 11:20:03 +0000 (11:20 +0000)]
typos fixed
removed old comment

[r6091]

19 years agotypo fixed
Michael Beck [Wed, 22 Jun 2005 09:34:11 +0000 (09:34 +0000)]
typo fixed

[r6090]

19 years agofixed file dump filter stuff
Götz Lindenmaier [Tue, 21 Jun 2005 18:13:02 +0000 (18:13 +0000)]
fixed file dump filter stuff

[r6086]

19 years agoConfirm: detect a replacement by a Const
Michael Beck [Tue, 21 Jun 2005 16:04:19 +0000 (16:04 +0000)]
Confirm: detect a replacement by a Const

[r6085]

19 years agomake opt_names more rebust, added more flags
Michael Beck [Tue, 21 Jun 2005 15:02:35 +0000 (15:02 +0000)]
make opt_names more rebust, added more flags

[r6082]

19 years agoadded more optiopns to hook_opt_kind regarding Confirm optimizations
Michael Beck [Tue, 21 Jun 2005 15:01:40 +0000 (15:01 +0000)]
added more optiopns to hook_opt_kind regarding Confirm optimizations

[r6081]

19 years agoused new DBG_OPT_CONFIRM macros
Michael Beck [Tue, 21 Jun 2005 15:00:40 +0000 (15:00 +0000)]
used new DBG_OPT_CONFIRM macros

[r6080]

19 years agoadded (a + x) - x = a optimization
Michael Beck [Tue, 21 Jun 2005 15:00:06 +0000 (15:00 +0000)]
added (a + x) - x = a optimization
new i/f for compute_value_confirm_cmp

[r6079]

19 years agofixed interval evaluation finally (hopefully last time)
Michael Beck [Tue, 21 Jun 2005 14:59:03 +0000 (14:59 +0000)]
fixed interval evaluation finally (hopefully last time)

[r6078]

19 years agodbg_opt_confirm added
Michael Beck [Tue, 21 Jun 2005 14:57:48 +0000 (14:57 +0000)]
dbg_opt_confirm added

[r6077]

19 years agoadded new macros for Confirm based optimization
Michael Beck [Tue, 21 Jun 2005 14:57:11 +0000 (14:57 +0000)]
added new macros for Confirm based optimization

[r6076]

19 years agomode_wrap_around() added
Michael Beck [Tue, 21 Jun 2005 14:08:28 +0000 (14:08 +0000)]
mode_wrap_around() added
CVS---------------------------------------------------------------------

[r6075]

19 years agotypos fixed
Michael Beck [Mon, 20 Jun 2005 17:11:33 +0000 (17:11 +0000)]
typos fixed

[r6074]

19 years agotypos fixed
Michael Beck [Mon, 20 Jun 2005 17:08:36 +0000 (17:08 +0000)]
typos fixed
indentation fixed

[r6073]

19 years agoBugFix: tarval_cmp(NaN, NaN) was wrongly evaluated to Eq, now is evaluated to Uo
Michael Beck [Mon, 20 Jun 2005 09:05:01 +0000 (09:05 +0000)]
BugFix: tarval_cmp(NaN, NaN) was wrongly evaluated to Eq, now is evaluated to Uo
as needed for IEEE-754

[r6072]

19 years agofixed typos
Michael Beck [Mon, 20 Jun 2005 09:03:25 +0000 (09:03 +0000)]
fixed typos
add some newlines to make it more readable

[r6071]

19 years agoadded doxygen docu
Michael Beck [Fri, 17 Jun 2005 17:43:52 +0000 (17:43 +0000)]
added doxygen docu

[r6070]

19 years agoadded doxygen docu
Michael Beck [Fri, 17 Jun 2005 17:42:32 +0000 (17:42 +0000)]
added doxygen docu
fixed (void) function headers

[r6069]

19 years agodump information for float constants
Michael Beck [Fri, 17 Jun 2005 17:40:11 +0000 (17:40 +0000)]
dump information for float constants
added new info string for Confirm based optimization

[r6068]

19 years agotypos fixed
Michael Beck [Fri, 17 Jun 2005 17:38:52 +0000 (17:38 +0000)]
typos fixed

[r6067]

19 years agoadded data for floating point constant statistics
Michael Beck [Fri, 17 Jun 2005 17:36:09 +0000 (17:36 +0000)]
added data for floating point constant statistics

[r6066]

19 years agotypo fixed
Michael Beck [Fri, 17 Jun 2005 17:34:13 +0000 (17:34 +0000)]
typo fixed

[r6065]

19 years agouse tv_t.h instead of tv.h
Michael Beck [Fri, 17 Jun 2005 17:33:18 +0000 (17:33 +0000)]
use tv_t.h instead of tv.h

[r6064]

19 years agofixed loop-invariant nodes: Bad nodes are always loop invariant,
Michael Beck [Fri, 17 Jun 2005 17:31:33 +0000 (17:31 +0000)]
fixed loop-invariant nodes: Bad nodes are always loop invariant,
but did not work in the test

[r6063]

19 years agoremoved unused follow_Id()
Michael Beck [Fri, 17 Jun 2005 17:28:53 +0000 (17:28 +0000)]
removed unused follow_Id()
added Confirm node based optimizations
moved type detection into inner if's

[r6062]

19 years agoused ir_ops instead of iro_ numbers
Michael Beck [Fri, 17 Jun 2005 17:26:56 +0000 (17:26 +0000)]
used ir_ops instead of iro_ numbers
used is_*() functions instead of == op_ tests

[r6061]

19 years agotypos fixed
Michael Beck [Fri, 17 Jun 2005 17:25:18 +0000 (17:25 +0000)]
typos fixed
improved doxygen documentation

[r6060]

19 years agotypos fixed
Michael Beck [Fri, 17 Jun 2005 17:23:17 +0000 (17:23 +0000)]
typos fixed

[r6059]

19 years agoadded remove_Confirm option. If set, local_optimize() will remove
Michael Beck [Fri, 17 Jun 2005 17:22:18 +0000 (17:22 +0000)]
added remove_Confirm option. If set, local_optimize() will remove
all Confirm nodes.

[r6058]

19 years agodoxygen docu improved
Michael Beck [Fri, 17 Jun 2005 17:20:11 +0000 (17:20 +0000)]
doxygen docu improved

[r6057]

19 years agoadded statistics for float constants
Michael Beck [Fri, 17 Jun 2005 12:13:22 +0000 (12:13 +0000)]
added statistics for float constants

[r6056]

19 years agoadded flag for inplace edges
Michael Beck [Fri, 17 Jun 2005 12:12:28 +0000 (12:12 +0000)]
added flag for inplace edges

[r6055]

19 years agoadapted to output of type's visibility flag
FIRM Projekt Account [Fri, 17 Jun 2005 12:10:35 +0000 (12:10 +0000)]
adapted to output of type's visibility flag

[r6054]

19 years agoHOOK_OPT_CONFIRM added
Michael Beck [Fri, 17 Jun 2005 12:04:15 +0000 (12:04 +0000)]
HOOK_OPT_CONFIRM added

[r6053]

19 years agoDBG_OPT_CONFIRM added
Michael Beck [Fri, 17 Jun 2005 12:02:03 +0000 (12:02 +0000)]
DBG_OPT_CONFIRM added

[r6052]

19 years agofirmjni does not like two similar enums.
Götz Lindenmaier [Fri, 17 Jun 2005 12:00:21 +0000 (12:00 +0000)]
firmjni does not like two similar enums.

[r6051]

19 years agofixed classify_value() function
Michael Beck [Fri, 17 Jun 2005 11:57:35 +0000 (11:57 +0000)]
fixed classify_value() function

[r6049]

19 years agoirconsconfirm.h added
Michael Beck [Fri, 17 Jun 2005 11:45:04 +0000 (11:45 +0000)]
irconsconfirm.h added

[r6048]

19 years agoirconsconfirm.[ch] added
Michael Beck [Fri, 17 Jun 2005 11:44:20 +0000 (11:44 +0000)]
irconsconfirm.[ch] added

[r6047]

19 years agoConstruction of Confirm nodes
Michael Beck [Fri, 17 Jun 2005 11:43:53 +0000 (11:43 +0000)]
Construction of Confirm nodes

[r6046]

19 years agoopt_confirms.[ch] added
Michael Beck [Fri, 17 Jun 2005 11:43:19 +0000 (11:43 +0000)]
opt_confirms.[ch] added

[r6045]

19 years agooptimizations using Confirm nodes, used by iropt
Michael Beck [Fri, 17 Jun 2005 11:42:51 +0000 (11:42 +0000)]
optimizations using Confirm nodes, used by iropt

[r6044]

19 years agomy colleagues didn't like the existence of
Götz Lindenmaier [Thu, 16 Jun 2005 14:46:09 +0000 (14:46 +0000)]
my colleagues didn't like the existence of
a function that is once static, and once public...
which kind of is all right...

[r6030]

19 years agoadded option for disabling inplace edges
Michael Beck [Thu, 16 Jun 2005 14:41:18 +0000 (14:41 +0000)]
added option for disabling inplace edges

[r6029]

19 years agoBeautified
Sebastian Hack [Thu, 16 Jun 2005 13:58:10 +0000 (13:58 +0000)]
Beautified

[r6028]

19 years agouse firm_config.h instead of config.h
Michael Beck [Thu, 16 Jun 2005 13:29:51 +0000 (13:29 +0000)]
use firm_config.h instead of config.h

[r6027]

19 years agoremoved uncommented visibility flag: is commented in
Götz Lindenmaier [Thu, 16 Jun 2005 12:13:41 +0000 (12:13 +0000)]
removed uncommented visibility flag:  is commented in
by stupid script that removes preprocessor macros.

[r6026]

19 years agoAdded edges_assure and edge dumping hook
Sebastian Hack [Thu, 16 Jun 2005 11:58:16 +0000 (11:58 +0000)]
Added edges_assure and edge dumping hook

[r6025]

19 years agonew_r_Const_type() added
Michael Beck [Wed, 15 Jun 2005 16:44:53 +0000 (16:44 +0000)]
new_r_Const_type() added

[r6024]

19 years agotypos fixed
Michael Beck [Wed, 15 Jun 2005 12:27:50 +0000 (12:27 +0000)]
typos fixed
added transform_node_Abs() handling Confirm nodes
renamed get_inverse_pnc()

[r6020]

19 years agorenamed gen_swapped_pnc() into more "mathematical" get_inversed_pnc()
Michael Beck [Wed, 15 Jun 2005 12:26:12 +0000 (12:26 +0000)]
renamed gen_swapped_pnc() into more "mathematical" get_inversed_pnc()

[r6019]

19 years agochanged all inline functions from __func to _func
Michael Beck [Wed, 15 Jun 2005 12:23:37 +0000 (12:23 +0000)]
changed all inline functions from __func to _func

[r6018]

19 years agochanges all inline functions from __func to _func
Michael Beck [Wed, 15 Jun 2005 12:23:08 +0000 (12:23 +0000)]
changes all inline functions from __func to _func
typo fixed

[r6017]

19 years agoremoved comma at end of enum for weak crecoder
Michael Beck [Wed, 15 Jun 2005 10:01:19 +0000 (10:01 +0000)]
removed comma at end of enum for weak crecoder

[r6016]

19 years agocast to avoid warning
Götz Lindenmaier [Wed, 15 Jun 2005 08:00:49 +0000 (08:00 +0000)]
cast to avoid warning

[r6015]

19 years agoloopinfo state handling on program basis
Götz Lindenmaier [Wed, 15 Jun 2005 08:00:19 +0000 (08:00 +0000)]
loopinfo state handling on program basis

[r6014]

19 years agonew enum for convenience: easier to guess
Götz Lindenmaier [Wed, 15 Jun 2005 07:59:51 +0000 (07:59 +0000)]
new enum for convenience: easier to guess

[r6013]

19 years agobugfix
Götz Lindenmaier [Wed, 15 Jun 2005 07:59:31 +0000 (07:59 +0000)]
bugfix

[r6012]

19 years agochecks for valid analysis information,
Götz Lindenmaier [Wed, 15 Jun 2005 07:58:40 +0000 (07:58 +0000)]
checks for valid analysis information,
output visibility of types.

[r6011]

19 years agominor
Götz Lindenmaier [Wed, 15 Jun 2005 07:57:25 +0000 (07:57 +0000)]
minor

[r6010]

19 years agocomments
Götz Lindenmaier [Wed, 15 Jun 2005 07:56:50 +0000 (07:56 +0000)]
comments

[r6009]

19 years agoadded visibility flag for types.
Götz Lindenmaier [Wed, 15 Jun 2005 07:50:36 +0000 (07:50 +0000)]
added visibility flag for types.

[r6008]

19 years agoMoved new_ir_op from irop_t.h to irop.h since backends might need it
Sebastian Hack [Mon, 13 Jun 2005 08:25:18 +0000 (08:25 +0000)]
Moved new_ir_op from irop_t.h to irop.h since backends might need it

[r6000]

19 years agoAdded const to tv.h
Sebastian Hack [Thu, 9 Jun 2005 09:24:15 +0000 (09:24 +0000)]
Added const to tv.h

[r5982]

19 years agochanged all get_tarval_* into faster get_mode_*
Michael Beck [Wed, 8 Jun 2005 11:19:01 +0000 (11:19 +0000)]
changed all get_tarval_* into faster get_mode_*
cleaned up code handling Proj(Node))
added more optimizations:
 - handling compare with MIN/MAX values
 - -a == c ==> a == -c, -a != c ==> a != -c
 - ADD(a,MINUS(b)) => SUB(a,b)
 - MUL(a, -1) ==> MINUS(a)

[r5979]

19 years agoThe firm_config.h for Win32
Michael Beck [Wed, 8 Jun 2005 11:07:00 +0000 (11:07 +0000)]
The firm_config.h for Win32

[r5978]

19 years agoget_mode_minus_one() added
Michael Beck [Wed, 8 Jun 2005 11:01:22 +0000 (11:01 +0000)]
get_mode_minus_one() added

[r5977]

19 years agouse tv_t.h instead of tv.h
Michael Beck [Wed, 8 Jun 2005 10:58:11 +0000 (10:58 +0000)]
use tv_t.h instead of tv.h

[r5976]

19 years agouse the _t.h files for inline functions
Michael Beck [Wed, 8 Jun 2005 10:57:07 +0000 (10:57 +0000)]
use the _t.h files for inline functions

[r5975]

19 years agotypo fixetypo fixed
Michael Beck [Wed, 8 Jun 2005 10:54:25 +0000 (10:54 +0000)]
typo fixetypo fixed

[r5974]