libfirm
17 years agodisabled show after showgraph, as it is (or was?) buggy
Matthias Braun [Tue, 20 Mar 2007 10:22:46 +0000 (10:22 +0000)]
disabled show after showgraph, as it is (or was?) buggy

[r8718]

17 years agoreindent
Matthias Braun [Tue, 20 Mar 2007 10:21:57 +0000 (10:21 +0000)]
reindent

[r8717]

17 years ago- Added raw_bitset.h it contains routines for handling "raw" bitsets, which are
Matthias Braun [Mon, 19 Mar 2007 16:31:00 +0000 (16:31 +0000)]
- Added raw_bitset.h it contains routines for handling "raw" bitsets, which are
  plain unsigned arrays, the length of the bitset must be known from elsewhere.
  "Raw" bitsets can easily be constructed as const data and waste less space
  because no length information is explicitely saved.

[r8715]

17 years agopmap keys can be const
Matthias Braun [Tue, 13 Mar 2007 19:18:14 +0000 (19:18 +0000)]
pmap keys can be const

[r8702]

17 years agoadapted debugger to new ycomp syntax and to set_irn_n hook with old_tgt NULL
Christian Würdig [Tue, 6 Mar 2007 18:13:54 +0000 (18:13 +0000)]
adapted debugger to new ycomp syntax and to set_irn_n hook with old_tgt NULL

[r8691]

17 years agocall hook_set_irn_n when adding new inputs
Christian Würdig [Tue, 6 Mar 2007 18:12:31 +0000 (18:12 +0000)]
call hook_set_irn_n when adding new inputs

[r8690]

17 years agoadd dumper for call parameter disatribution table
Michael Beck [Fri, 2 Mar 2007 09:19:23 +0000 (09:19 +0000)]
add dumper for call parameter disatribution table

[r8674]

17 years agoanalyse kind of Call parameters
Michael Beck [Fri, 2 Mar 2007 09:18:48 +0000 (09:18 +0000)]
analyse kind of Call parameters

[r8673]

17 years agostat_get_count_distrib_tbl(): uses now counter_t for calculating the values
Michael Beck [Fri, 2 Mar 2007 09:17:21 +0000 (09:17 +0000)]
stat_get_count_distrib_tbl(): uses now counter_t for calculating the values

[r8672]

17 years agoZERO_CNT initializer added
Michael Beck [Fri, 2 Mar 2007 09:14:57 +0000 (09:14 +0000)]
ZERO_CNT initializer added

[r8671]

17 years ago- reformatted
Michael Beck [Fri, 2 Mar 2007 09:13:50 +0000 (09:13 +0000)]
- reformatted
- updated some comments
- optimize_preds(): removed partially useless computations

[r8670]

17 years agointroduce 128bit long long modes
Matthias Braun [Tue, 27 Feb 2007 16:59:01 +0000 (16:59 +0000)]
introduce 128bit long long modes

[r8669]

17 years agofixed CRLF
Christian Würdig [Mon, 26 Feb 2007 17:03:40 +0000 (17:03 +0000)]
fixed CRLF
changed ugly code of mode_honor_signed_zeros

[r8668]

17 years agocorrectly handle bad predecessors
Matthias Braun [Mon, 26 Feb 2007 13:29:58 +0000 (13:29 +0000)]
correctly handle bad predecessors

[r8667]

17 years agoadd an add_irn_n for nodes with dynamic arity
Matthias Braun [Mon, 26 Feb 2007 11:03:56 +0000 (11:03 +0000)]
add an add_irn_n for nodes with dynamic arity

[r8666]

17 years agofix some wrong oparities (Ends+Sync) are oparity_dynamic
Matthias Braun [Mon, 26 Feb 2007 11:03:32 +0000 (11:03 +0000)]
fix some wrong oparities (Ends+Sync) are oparity_dynamic

[r8665]

17 years agoremove unused code
Matthias Braun [Wed, 21 Feb 2007 08:10:10 +0000 (08:10 +0000)]
remove unused code

[r8663]

17 years agofix warning
Matthias Braun [Wed, 21 Feb 2007 08:08:40 +0000 (08:08 +0000)]
fix warning

[r8662]

17 years agomake sure hooks are enabled for dce survivors
Matthias Braun [Wed, 21 Feb 2007 07:57:18 +0000 (07:57 +0000)]
make sure hooks are enabled for dce survivors

[r8660]

17 years agoextended debug output
Christian Würdig [Fri, 16 Feb 2007 16:56:05 +0000 (16:56 +0000)]
extended debug output

[r8655]

17 years agofixed indent
Christian Würdig [Fri, 16 Feb 2007 13:20:56 +0000 (13:20 +0000)]
fixed indent
removed dependency on current_ir_graph in exchange()
added som asserts in exchange()

[r8653]

17 years agofix wrong edge verifier
Matthias Braun [Fri, 16 Feb 2007 08:54:24 +0000 (08:54 +0000)]
fix wrong edge verifier

[r8651]

17 years agofix wrong usage of notify_edge for add_End_keepalive, add_Sync_pred and nodes with...
Matthias Braun [Thu, 15 Feb 2007 10:33:07 +0000 (10:33 +0000)]
fix wrong usage of notify_edge for add_End_keepalive, add_Sync_pred and nodes with variable arity

[r8650]

17 years agoreformat some code, fix problems in edges verifiert
Matthias Braun [Thu, 15 Feb 2007 10:32:27 +0000 (10:32 +0000)]
reformat some code, fix problems in edges verifiert

[r8649]

17 years agoadded edge number for debugging purpose
Christian Würdig [Wed, 14 Feb 2007 17:59:43 +0000 (17:59 +0000)]
added edge number for debugging purpose

[r8648]

17 years agoNormalized line endings, added some comments
Andreas Schösser [Wed, 14 Feb 2007 12:57:03 +0000 (12:57 +0000)]
Normalized line endings, added some comments

[r8647]

17 years agofixed wrong usage of foreach_set macro
Christian Würdig [Wed, 14 Feb 2007 10:57:11 +0000 (10:57 +0000)]
fixed wrong usage of foreach_set macro

[r8646]

17 years agoadded missing function declaration
Christian Würdig [Wed, 14 Feb 2007 10:56:34 +0000 (10:56 +0000)]
added missing function declaration

[r8645]

17 years agouse edge counter instead of recalculation for getting number of out-edges
Christian Würdig [Wed, 14 Feb 2007 10:15:28 +0000 (10:15 +0000)]
use edge counter instead of recalculation for getting number of out-edges

[r8644]

17 years agoextended edge verifier
Christian Würdig [Wed, 14 Feb 2007 10:14:49 +0000 (10:14 +0000)]
extended edge verifier

[r8643]

17 years agoBugFix: bitset_flip was broken
Christian Würdig [Wed, 14 Feb 2007 10:14:12 +0000 (10:14 +0000)]
BugFix: bitset_flip was broken

[r8642]

17 years ago- fixed edge verifier
Matthias Braun [Wed, 14 Feb 2007 08:26:26 +0000 (08:26 +0000)]
- fixed edge verifier
- removed commented out lines that indicated how stuff looked before the
   EDGE_SIZE change: No need to keep old code lying around like this we can
   chekout old cvs versions if we want to revert it

[r8641]

17 years ago"Edges private data" was broken. Added allocation of private data again and added...
Andreas Schösser [Tue, 13 Feb 2007 18:45:18 +0000 (18:45 +0000)]
"Edges private data" was broken. Added allocation of private data again and added function to reset the privat data of all known edges.

[r8640]

17 years agoadded foreach_set macro (behaves like foreach_pset)
Christian Würdig [Tue, 13 Feb 2007 18:21:00 +0000 (18:21 +0000)]
added foreach_set macro (behaves like foreach_pset)

[r8639]

17 years agofixed keep-alive outedge bug (off-by-one error in edge position)
Christian Würdig [Tue, 13 Feb 2007 18:03:41 +0000 (18:03 +0000)]
fixed keep-alive outedge bug (off-by-one error in edge position)
changed ifdef for keep-alive out edges, they are on by default now

[r8638]

17 years agoadded edge verification routines
Christian Würdig [Tue, 13 Feb 2007 18:02:33 +0000 (18:02 +0000)]
added edge verification routines
fixed indent

[r8637]

17 years agoifdef'ed out-edges for keep alives with USE_KEEPALIVE_OUT_EDGES
Christian Würdig [Tue, 13 Feb 2007 10:49:25 +0000 (10:49 +0000)]
ifdef'ed out-edges for keep alives with USE_KEEPALIVE_OUT_EDGES

[r8631]

17 years agoBugFix: fixed wrong usage of edges_notify (exchanged tgt and old_tgt)
Christian Würdig [Mon, 12 Feb 2007 12:41:44 +0000 (12:41 +0000)]
BugFix: fixed wrong usage of edges_notify (exchanged tgt and old_tgt)

[r8629]

17 years agoadded option for pure Phi classes
Christian Würdig [Sun, 11 Feb 2007 15:45:57 +0000 (15:45 +0000)]
added option for pure Phi classes
extended debug output

[r8627]

17 years agoBugFix: ARR_F may be relocated when resized, so there is another indirection needed...
Christian Würdig [Fri, 9 Feb 2007 19:05:46 +0000 (19:05 +0000)]
BugFix: ARR_F may be relocated when resized, so there is another indirection needed to keep track of the phi classes

[r8626]

17 years agoBugFix: use phase_get_or_set_irn_data for getting phi class
Christian Würdig [Fri, 9 Feb 2007 17:52:32 +0000 (17:52 +0000)]
BugFix: use phase_get_or_set_irn_data for getting phi class

[r8625]

17 years agoadded asserts
Christian Würdig [Fri, 9 Feb 2007 17:51:50 +0000 (17:51 +0000)]
added asserts
fixed do_walk (call pre and post only if set)

[r8624]

17 years agodon't test for refernece mode in copyb arguments in backend phase
Matthias Braun [Fri, 9 Feb 2007 14:00:28 +0000 (14:00 +0000)]
don't test for refernece mode in copyb arguments in backend phase

[r8619]

17 years agoBugFix: fixed wrong include
Christian Würdig [Fri, 9 Feb 2007 10:34:17 +0000 (10:34 +0000)]
BugFix: fixed wrong include

[r8617]

17 years agomade phiclass an ir_phase object
Christian Würdig [Fri, 9 Feb 2007 10:26:26 +0000 (10:26 +0000)]
made phiclass an ir_phase object
removed redundant file

[r8615]

17 years agoloose some restrictions in the ir verifier if the irg is in phase_backend
Matthias Braun [Thu, 8 Feb 2007 14:55:18 +0000 (14:55 +0000)]
loose some restrictions in the ir verifier if the irg is in phase_backend

[r8613]

17 years agonever set the startblock to bad (even without the self-referencing loop)
Matthias Braun [Thu, 8 Feb 2007 14:51:05 +0000 (14:51 +0000)]
never set the startblock to bad (even without the self-referencing loop)

[r8612]

17 years agodump more -assert graphs
Michael Beck [Wed, 7 Feb 2007 18:18:40 +0000 (18:18 +0000)]
dump more -assert graphs

[r8611]

17 years agodoxygen docu added
Michael Beck [Wed, 7 Feb 2007 18:17:03 +0000 (18:17 +0000)]
doxygen docu added

[r8610]

17 years agoBugFix: TLS variables are Sels, not SymConst
Michael Beck [Wed, 7 Feb 2007 17:19:58 +0000 (17:19 +0000)]
BugFix: TLS variables are Sels, not SymConst

[r8609]

17 years agodo not optimize dead blocks preventing endless loops ...
Michael Beck [Wed, 7 Feb 2007 14:52:17 +0000 (14:52 +0000)]
do not optimize dead blocks preventing endless loops ...

[r8607]

17 years agofix some oparities in firm
Matthias Braun [Wed, 7 Feb 2007 10:13:58 +0000 (10:13 +0000)]
fix some oparities in firm

[r8604]

17 years agoBugFix: if a Load-after-Load is a hidden Conv, Conv nodes were constructed but not...
Michael Beck [Tue, 6 Feb 2007 20:13:05 +0000 (20:13 +0000)]
BugFix: if a Load-after-Load is a hidden Conv, Conv nodes were constructed but not used ...

[r8600]

17 years agoChanged handling of switch-Conds. Now collected and processed.
Michael Beck [Tue, 6 Feb 2007 20:12:11 +0000 (20:12 +0000)]
Changed handling of switch-Conds. Now collected and processed.
This speeds up things and fixes some verification errors (CF-Bad) in the Spec

[r8599]

17 years agocompute_compound_graph_indices is no more
Matthias Braun [Tue, 6 Feb 2007 15:22:51 +0000 (15:22 +0000)]
compute_compound_graph_indices is no more

[r8598]

17 years agosupport negative number, so we can set all bits of a debug mask with -1
Christian Würdig [Tue, 6 Feb 2007 09:46:46 +0000 (09:46 +0000)]
support negative number, so we can set all bits of a debug mask with -1

[r8596]

17 years agoassert if someone tries to exchange a node with itself
Christian Würdig [Tue, 6 Feb 2007 09:45:57 +0000 (09:45 +0000)]
assert if someone tries to exchange a node with itself

[r8595]

17 years agoBugFix: wrong ()
Michael Beck [Mon, 5 Feb 2007 12:53:36 +0000 (12:53 +0000)]
BugFix: wrong ()

[r8593]

17 years agouse ir_vfprintf in the panic() function
Matthias Braun [Mon, 5 Feb 2007 12:09:19 +0000 (12:09 +0000)]
use ir_vfprintf in the panic() function

[r8592]

17 years agoadd an is_Quot function
Matthias Braun [Mon, 5 Feb 2007 12:08:59 +0000 (12:08 +0000)]
add an is_Quot function

[r8591]

17 years agoadd signed and unsigned eq modes for reference modes
Michael Beck [Fri, 2 Feb 2007 16:27:57 +0000 (16:27 +0000)]
add signed and unsigned eq modes for reference modes

[r8588]

17 years agoentity is ir_entity now
Matthias Braun [Fri, 2 Feb 2007 12:38:35 +0000 (12:38 +0000)]
entity is ir_entity now

[r8586]

17 years agoentity is ir_entity now
Matthias Braun [Fri, 2 Feb 2007 12:24:19 +0000 (12:24 +0000)]
entity is ir_entity now

[r8585]

17 years agoreformatted
Michael Beck [Fri, 2 Feb 2007 10:22:18 +0000 (10:22 +0000)]
reformatted

[r8583]

17 years agoremoved the old entity type
Michael Beck [Fri, 2 Feb 2007 10:21:44 +0000 (10:21 +0000)]
removed the old entity type

[r8582]

17 years agoadd local and parameter rule
Michael Beck [Thu, 1 Feb 2007 17:24:03 +0000 (17:24 +0000)]
add local and parameter rule

[r8581]

17 years agofixed missing sizeof ...
Michael Beck [Thu, 1 Feb 2007 14:54:30 +0000 (14:54 +0000)]
fixed missing sizeof ...

[r8580]

17 years agoreformated
Michael Beck [Wed, 31 Jan 2007 16:56:11 +0000 (16:56 +0000)]
reformated

[r8579]

17 years agoremoved unused data/functions, reformated
Michael Beck [Wed, 31 Jan 2007 16:41:10 +0000 (16:41 +0000)]
removed unused data/functions, reformated

[r8578]

17 years agofixed dumping of callgraph if execution frequency is not calculated
Michael Beck [Wed, 31 Jan 2007 15:44:30 +0000 (15:44 +0000)]
fixed dumping of callgraph if execution frequency is not calculated

[r8577]

17 years agoadd an is_CopyB
Matthias Braun [Wed, 31 Jan 2007 12:56:35 +0000 (12:56 +0000)]
add an is_CopyB

[r8576]

17 years agoenable edge calculation for all anchor nodes
Matthias Braun [Tue, 30 Jan 2007 14:09:41 +0000 (14:09 +0000)]
enable edge calculation for all anchor nodes

[r8573]

17 years agocombined two allocations
Michael Beck [Mon, 29 Jan 2007 22:21:11 +0000 (22:21 +0000)]
combined two allocations

[r8569]

17 years agoFixed bad memset, which didn't correctly initialize the hungarian structure
Matthias Braun [Mon, 29 Jan 2007 21:47:42 +0000 (21:47 +0000)]
Fixed bad memset, which didn't correctly initialize the hungarian structure
Added an assert to assure costs are >= 0, not sure if that is correct, if it is
not then max_costs should be initialized to INT_MIN...

[r8568]

17 years agoChange: lexer accepts now identifiers composed of any printable character except...
Christian Würdig [Sat, 27 Jan 2007 15:31:34 +0000 (15:31 +0000)]
Change: lexer accepts now identifiers composed of any printable character except space

[r8563]

17 years agoadd pset.c to avoid strange hackery in Makefiles
Matthias Braun [Fri, 26 Jan 2007 13:21:11 +0000 (13:21 +0000)]
add pset.c to avoid strange hackery in Makefiles

[r8562]

17 years agodoxygen comment updated
Michael Beck [Thu, 25 Jan 2007 23:12:40 +0000 (23:12 +0000)]
doxygen comment updated

[r8561]

17 years agoFixed wrong assert
Michael Beck [Thu, 25 Jan 2007 23:11:58 +0000 (23:11 +0000)]
Fixed wrong assert

[r8560]

17 years agofixed decimal number parsing
Michael Beck [Thu, 25 Jan 2007 14:56:53 +0000 (14:56 +0000)]
fixed decimal number parsing

[r8559]

17 years agooverkill: add parser, allowing ; to separate commands :-)
Michael Beck [Wed, 24 Jan 2007 17:56:33 +0000 (17:56 +0000)]
overkill: add parser, allowing ; to separate commands :-)

[r8558]

17 years agoadded missing include irnode.h
Christian Würdig [Wed, 24 Jan 2007 15:58:23 +0000 (15:58 +0000)]
added missing include irnode.h

[r8557]

17 years agoclear inside irgwalk flag when dumping (otherwise we cannot dump inside an irgwalk)
Christian Würdig [Wed, 24 Jan 2007 15:57:39 +0000 (15:57 +0000)]
clear inside irgwalk flag when dumping (otherwise we cannot dump inside an irgwalk)

[r8556]

17 years agoreplaced unused headers by firm_types.h
Michael Beck [Wed, 24 Jan 2007 14:31:47 +0000 (14:31 +0000)]
replaced unused headers by firm_types.h

[r8555]

17 years agocg_callee_entry type holding the callee information is now explicit
Michael Beck [Tue, 23 Jan 2007 16:47:27 +0000 (16:47 +0000)]
cg_callee_entry type holding the callee information is now explicit

[r8552]

17 years ago- allocated backedge array only on demand
Michael Beck [Tue, 23 Jan 2007 16:46:29 +0000 (16:46 +0000)]
- allocated backedge array only on demand
- cg_callee_entry type exported
- reformated
- cleaned up

[r8551]

17 years agomore doxygen comments added
Michael Beck [Tue, 23 Jan 2007 16:44:55 +0000 (16:44 +0000)]
more doxygen comments added

[r8550]

17 years ago- Create new copy_attr functions for blocks, phis and filters that initialize
Matthias Braun [Mon, 22 Jan 2007 11:01:02 +0000 (11:01 +0000)]
- Create new copy_attr functions for blocks, phis and filters that initialize
  their backedge arrays.
- No need to call new_backedge_arr in the DCE anymore
- Fix a bug in dce_survivor where it would allocate too few space on the obstack

[r8549]

17 years agosome sanity checks
Matthias Braun [Mon, 22 Jan 2007 10:59:39 +0000 (10:59 +0000)]
some sanity checks

[r8548]

17 years agomake sure backedges are available before dumping them
Matthias Braun [Mon, 22 Jan 2007 10:59:14 +0000 (10:59 +0000)]
make sure backedges are available before dumping them

[r8547]

17 years agoadded PLUGIN_xxx defines
Christian Würdig [Mon, 22 Jan 2007 10:24:10 +0000 (10:24 +0000)]
added PLUGIN_xxx defines

[r8545]

17 years agospeedup for cycle
Michael Beck [Thu, 18 Jan 2007 21:14:55 +0000 (21:14 +0000)]
speedup for cycle

[r8542]

17 years agoUpdated doxygen docu
Michael Beck [Thu, 18 Jan 2007 21:13:59 +0000 (21:13 +0000)]
Updated doxygen docu

[r8541]

17 years agotypo fixed
Michael Beck [Thu, 18 Jan 2007 12:45:10 +0000 (12:45 +0000)]
typo fixed

[r8540]

17 years agoadd include (previously removed from the header)
Michael Beck [Thu, 18 Jan 2007 12:43:49 +0000 (12:43 +0000)]
add include (previously removed from the header)

[r8539]

17 years agoreplaced several includes by including just firm_types.h
Christian Würdig [Thu, 18 Jan 2007 09:40:17 +0000 (09:40 +0000)]
replaced several includes by including just firm_types.h
fixed some typos

[r8538]

17 years agoremoved double include
Christian Würdig [Thu, 18 Jan 2007 09:39:27 +0000 (09:39 +0000)]
removed double include

[r8537]

17 years agoadded Load/Store addres counter
Michael Beck [Wed, 17 Jan 2007 17:16:30 +0000 (17:16 +0000)]
added Load/Store addres counter
simplifyed counter access by making them an array

[r8536]

17 years agoupdated
Michael Beck [Tue, 16 Jan 2007 15:52:47 +0000 (15:52 +0000)]
updated

[r8535]

17 years agorenamed type opcode to ir_opcode
Michael Beck [Tue, 16 Jan 2007 15:51:58 +0000 (15:51 +0000)]
renamed type opcode to ir_opcode

[r8534]

17 years agorenamed type opcode to ir_opcode
Michael Beck [Tue, 16 Jan 2007 15:44:58 +0000 (15:44 +0000)]
renamed type opcode to ir_opcode
to not return may_alias if type check failed, proceed with next checks

[r8533]