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

17 years agono need for graphs
Matthias Braun [Tue, 9 Jan 2007 14:07:43 +0000 (14:07 +0000)]
no need for graphs

[r8508]

17 years agowe still use _GNU_SOURCE even after the last revert
Matthias Braun [Tue, 9 Jan 2007 13:33:50 +0000 (13:33 +0000)]
we still use _GNU_SOURCE even after the last revert

[r8507]

17 years agorevert config.h.in changes for now...
Matthias Braun [Tue, 9 Jan 2007 10:57:38 +0000 (10:57 +0000)]
revert config.h.in changes for now...

[r8506]

17 years agoFixed a bad bug in stat_merge_nodes: was NOT counting nodes ...
Michael Beck [Tue, 9 Jan 2007 00:07:14 +0000 (00:07 +0000)]
Fixed a bad bug in stat_merge_nodes: was NOT counting nodes ...

[r8505]

17 years agoBugFix: find_constant_entity() now checks global entities to be constant
Michael Beck [Sun, 7 Jan 2007 23:05:24 +0000 (23:05 +0000)]
BugFix: find_constant_entity() now checks global entities to be constant
Memory disambiguator calls added

[r8502]

17 years agoInitial version of the memory disambiguator added
Michael Beck [Sun, 7 Jan 2007 23:02:07 +0000 (23:02 +0000)]
Initial version of the memory disambiguator added

[r8501]

17 years agoir_address_taken_computed_state for globals added
Michael Beck [Sun, 7 Jan 2007 23:00:08 +0000 (23:00 +0000)]
ir_address_taken_computed_state for globals added

[r8500]

17 years agoir_address_taken_computed_state added for a graph
Michael Beck [Sun, 7 Jan 2007 22:58:57 +0000 (22:58 +0000)]
ir_address_taken_computed_state added for a graph

[r8499]

17 years agoget_opt_alias_analysis(), set_opt_alias_analysis() added
Michael Beck [Sun, 7 Jan 2007 22:57:11 +0000 (22:57 +0000)]
get_opt_alias_analysis(), set_opt_alias_analysis() added

[r8498]

17 years agoget_address_taken_state_name() added
Michael Beck [Sun, 7 Jan 2007 22:52:22 +0000 (22:52 +0000)]
get_address_taken_state_name() added
Fixed bitfield size (need an extra bit for the sign :-(

[r8496]

17 years agorenamed get_entity_final() to is_entity_final()
Michael Beck [Sun, 7 Jan 2007 16:40:09 +0000 (16:40 +0000)]
renamed get_entity_final() to is_entity_final()

[r8495]

17 years agois_SubClass_of() check only once for transitive closure state
Michael Beck [Sun, 7 Jan 2007 16:39:21 +0000 (16:39 +0000)]
is_SubClass_of() check only once for transitive closure state

[r8494]

17 years agoaddress_taken frag added
Michael Beck [Sun, 7 Jan 2007 16:37:32 +0000 (16:37 +0000)]
address_taken frag added
renamed get_entity_final() to is_entity_final()
added inline version for is_entity_compiler_generated(), set_*()

[r8493]

17 years ago- get_entity_nr() now takes an cont entity
Michael Beck [Fri, 22 Dec 2006 15:22:22 +0000 (15:22 +0000)]
- get_entity_nr() now takes an cont entity
- bugfixed get_compound_ent_value_offset_bytes()
- tab formatted :^)

[r8491]

17 years agosome improvements
Michael Beck [Thu, 21 Dec 2006 16:06:33 +0000 (16:06 +0000)]
some improvements

[r8490]

17 years agoInitial version of the automatic module init creator
Michael Beck [Thu, 21 Dec 2006 15:53:39 +0000 (15:53 +0000)]
Initial version of the automatic module init creator

[r8489]

17 years agodoxygen docu fixed
Michael Beck [Tue, 19 Dec 2006 12:40:54 +0000 (12:40 +0000)]
doxygen docu fixed

[r8480]

17 years agoremoved useles include
Michael Beck [Mon, 18 Dec 2006 16:02:21 +0000 (16:02 +0000)]
removed useles include

[r8479]

17 years agofixed doxygen output
Michael Beck [Mon, 18 Dec 2006 12:13:32 +0000 (12:13 +0000)]
fixed doxygen output

[r8478]

17 years agoFixed warnings (the bad way)
Michael Beck [Mon, 18 Dec 2006 12:13:16 +0000 (12:13 +0000)]
Fixed warnings (the bad way)

[r8477]

17 years agoFixed doxygen output
Michael Beck [Mon, 18 Dec 2006 12:12:21 +0000 (12:12 +0000)]
Fixed doxygen output

[r8476]