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

17 years agoadd is_Store
Matthias Braun [Mon, 18 Dec 2006 10:17:30 +0000 (10:17 +0000)]
add is_Store

[r8475]

17 years agodon't use __PTR_TO_INT from obstack.h... well the code is still using obstack interna...
Matthias Braun [Mon, 18 Dec 2006 10:17:10 +0000 (10:17 +0000)]
don't use __PTR_TO_INT from obstack.h... well the code is still using obstack internals, but fixing this correctly would require alot of boring work so I leave this as an excercise for the reader :-)

[r8474]

17 years agomove edges_reroute_kind declaration to iredges.h because the edges_reroute macro...
Matthias Braun [Mon, 18 Dec 2006 10:15:29 +0000 (10:15 +0000)]
move edges_reroute_kind declaration to iredges.h because the edges_reroute macro needs it

[r8473]

17 years agoremoved some old files from project
Christian Würdig [Fri, 15 Dec 2006 14:59:19 +0000 (14:59 +0000)]
removed some old files from project
added some additional sta files

[r8472]

17 years agofirm is no c99
Matthias Braun [Fri, 15 Dec 2006 14:57:31 +0000 (14:57 +0000)]
firm is no c99

[r8471]

17 years agoupdate configure
Matthias Braun [Fri, 15 Dec 2006 14:56:51 +0000 (14:56 +0000)]
update configure

[r8470]

17 years agomissing #include config.h
Matthias Braun [Fri, 15 Dec 2006 12:48:20 +0000 (12:48 +0000)]
missing #include config.h

[r8469]

17 years ago#ifdef DEBUG_libfirm not #if DEBUG_libfirm
Matthias Braun [Fri, 15 Dec 2006 12:47:59 +0000 (12:47 +0000)]
#ifdef DEBUG_libfirm not #if DEBUG_libfirm

[r8468]

17 years agofix warning
Matthias Braun [Fri, 15 Dec 2006 12:39:33 +0000 (12:39 +0000)]
fix warning

[r8467]

17 years agofix warnings
Matthias Braun [Fri, 15 Dec 2006 12:37:40 +0000 (12:37 +0000)]
fix warnings

[r8466]

17 years agofix autoheader warnings
Matthias Braun [Fri, 15 Dec 2006 12:33:43 +0000 (12:33 +0000)]
fix autoheader warnings

[r8465]

17 years agoquad_t is defined by glibc headers (because of _GNU_SOURCE), so rename to quadruple_t
Matthias Braun [Fri, 15 Dec 2006 12:33:20 +0000 (12:33 +0000)]
quad_t is defined by glibc headers (because of _GNU_SOURCE), so rename to quadruple_t

[r8464]

17 years agofix configure.in so autoheader produces a correct config.h.in again
Matthias Braun [Fri, 15 Dec 2006 12:29:51 +0000 (12:29 +0000)]
fix configure.in so autoheader produces a correct config.h.in again

[r8463]

17 years ago- add descriptions to AC_DEFINE macros in configure.in\n- define _GNU_SOURCE so that...
Matthias Braun [Fri, 15 Dec 2006 12:17:42 +0000 (12:17 +0000)]
- add descriptions to AC_DEFINE macros in configure.in\n- define _GNU_SOURCE so that the gnu extension obstack_printf is available

[r8462]

17 years agofix warnings
Matthias Braun [Thu, 14 Dec 2006 14:45:05 +0000 (14:45 +0000)]
fix warnings

[r8461]

17 years agoadded a skip_Proj_const...
Matthias Braun [Thu, 14 Dec 2006 14:42:39 +0000 (14:42 +0000)]
added a skip_Proj_const...

[r8460]

17 years agoremoved useless includes
Michael Beck [Thu, 14 Dec 2006 12:51:13 +0000 (12:51 +0000)]
removed useless includes

[r8458]

17 years agoremoved depency of firmnet.h (which is OS dependant itself)
Michael Beck [Wed, 13 Dec 2006 20:13:37 +0000 (20:13 +0000)]
removed depency of firmnet.h (which is OS dependant itself)

[r8457]

17 years agorename type entity into ir_entity
Michael Beck [Wed, 13 Dec 2006 20:08:31 +0000 (20:08 +0000)]
rename type entity into ir_entity

[r8456]

17 years agoremoved dead declaration
Michael Beck [Wed, 13 Dec 2006 20:00:33 +0000 (20:00 +0000)]
removed dead declaration

[r8455]

17 years agorename type entity into ir_entity
Michael Beck [Wed, 13 Dec 2006 19:58:43 +0000 (19:58 +0000)]
rename type entity into ir_entity

[r8454]

17 years ago- rename type entity into ir_entity\- rename get_entity_offset_*() functions
Michael Beck [Wed, 13 Dec 2006 19:50:35 +0000 (19:50 +0000)]
- rename type entity into ir_entity\- rename get_entity_offset_*() functions

[r8453]

17 years agorename type entity into ir_entity
Michael Beck [Wed, 13 Dec 2006 19:47:34 +0000 (19:47 +0000)]
rename type entity into ir_entity

[r8452]

17 years agofixed output
Michael Beck [Wed, 13 Dec 2006 13:31:13 +0000 (13:31 +0000)]
fixed output

[r8444]

17 years ago- renamed access offset functions\n- renamed entity -> ir_entity
Michael Beck [Wed, 13 Dec 2006 13:21:40 +0000 (13:21 +0000)]
- renamed access offset functions\n- renamed entity -> ir_entity

[r8442]

17 years ago- add an extra filed for the bit offset\n- renamed access functions\n- renamed entity...
Michael Beck [Wed, 13 Dec 2006 13:20:50 +0000 (13:20 +0000)]
- add an extra filed for the bit offset\n- renamed access functions\n- renamed entity -> ir_entity

[r8441]

17 years agoused new get_entity_offset(), get_entity_offset_bits_remainder() functions
Michael Beck [Wed, 13 Dec 2006 13:18:57 +0000 (13:18 +0000)]
used new get_entity_offset(), get_entity_offset_bits_remainder() functions

[r8440]

17 years agoFixed hash function calculation
Michael Beck [Wed, 13 Dec 2006 13:17:18 +0000 (13:17 +0000)]
Fixed hash function calculation

[r8439]

17 years agorenamed entity -> ir_entity
Michael Beck [Wed, 13 Dec 2006 13:16:25 +0000 (13:16 +0000)]
renamed entity -> ir_entity

[r8438]

17 years agoFixed missing initialization
Michael Beck [Tue, 12 Dec 2006 16:12:05 +0000 (16:12 +0000)]
Fixed missing initialization

[r8437]