libfirm
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]

17 years agotypo fixed
Michael Beck [Tue, 16 Jan 2007 15:43:42 +0000 (15:43 +0000)]
typo fixed

[r8532]

17 years agofixed doxygen docu
Michael Beck [Tue, 16 Jan 2007 15:42:28 +0000 (15:42 +0000)]
fixed doxygen docu

[r8531]

17 years agorenamed type opcode to ir_opcode
Michael Beck [Tue, 16 Jan 2007 15:42:00 +0000 (15:42 +0000)]
renamed type opcode to ir_opcode
reformat
do not "panic" if a file cannot be dumped

[r8530]

17 years agofixed indent
Christian Würdig [Tue, 16 Jan 2007 13:17:53 +0000 (13:17 +0000)]
fixed indent

[r8529]

17 years agouse inside_block_walk and inside_irg_walk flaks to ensure no double walks are started
Christian Würdig [Tue, 16 Jan 2007 10:40:40 +0000 (10:40 +0000)]
use inside_block_walk and inside_irg_walk flaks to ensure no double walks are started

[r8528]

17 years agoadded flags and set/get functions indicating if we are in block walk or irg walk
Christian Würdig [Tue, 16 Jan 2007 10:22:32 +0000 (10:22 +0000)]
added flags and set/get functions indicating if we are in block walk or irg walk

[r8527]

17 years agotypo fixed
Michael Beck [Mon, 15 Jan 2007 10:16:26 +0000 (10:16 +0000)]
typo fixed

[r8526]

17 years agoadd option for the memory disambiguator
Michael Beck [Mon, 15 Jan 2007 09:51:55 +0000 (09:51 +0000)]
add option for the memory disambiguator

[r8525]

17 years agoir\ana\irmemory.h added
Michael Beck [Fri, 12 Jan 2007 18:13:33 +0000 (18:13 +0000)]
ir\ana\irmemory.h added

[r8524]

17 years agodoxygen dcu enhanced
Michael Beck [Fri, 12 Jan 2007 18:08:19 +0000 (18:08 +0000)]
doxygen dcu enhanced

[r8521]

17 years ago- allow implicit cast from two-complements signed/unsigned to be killed
Michael Beck [Fri, 12 Jan 2007 18:07:54 +0000 (18:07 +0000)]
- allow implicit cast from two-complements signed/unsigned to be killed
- updated for new memory disambiguator

[r8520]

17 years agodefault_dbg_info_merge_sets() implemented
Michael Beck [Fri, 12 Jan 2007 18:05:33 +0000 (18:05 +0000)]
default_dbg_info_merge_sets() implemented
doxygen docu enhanced

[r8519]

17 years agoadd irmemory.h
Michael Beck [Fri, 12 Jan 2007 18:02:37 +0000 (18:02 +0000)]
add irmemory.h

[r8518]

17 years ago- memory disambiguator option can be set for the irp and for every graph
Michael Beck [Fri, 12 Jan 2007 18:02:02 +0000 (18:02 +0000)]
- memory disambiguator option can be set for the irp and for every graph
- more cases regarding TLS/locals implemented
- type based analysis: check modes first
- add option for bytes access is a may-alias for anything

[r8517]

17 years agoadded WITH_STA define
Christian Würdig [Fri, 12 Jan 2007 08:34:19 +0000 (08:34 +0000)]
added WITH_STA define

[r8515]

17 years agofix warning
Matthias Braun [Thu, 11 Jan 2007 14:08:50 +0000 (14:08 +0000)]
fix warning

[r8512]