libfirm
14 years agouse barriers instead of be_Keep to keep unused nodes since we can't guarantee the...
Matthias Braun [Mon, 3 May 2010 09:10:44 +0000 (09:10 +0000)]
use barriers instead of be_Keep to keep unused nodes since we can't guarantee the rule that a keep is always right behind the definition of a value

[r27462]

14 years agominir_dumping should do something usefull now
Matthias Braun [Fri, 30 Apr 2010 16:29:48 +0000 (16:29 +0000)]
minir_dumping should do something usefull now

[r27461]

14 years agomodernize TEMPLATE backend and simplify some backend APIs
Matthias Braun [Fri, 30 Apr 2010 13:10:23 +0000 (13:10 +0000)]
modernize TEMPLATE backend and simplify some backend APIs

[r27460]

14 years agorename function
Matthias Braun [Fri, 30 Apr 2010 12:17:10 +0000 (12:17 +0000)]
rename function

[r27459]

14 years agoadjusted emitter to more current API.
Robin Redeker [Fri, 30 Apr 2010 09:48:54 +0000 (09:48 +0000)]
adjusted emitter to more current API.

[r27458]

14 years agougly cheat so the java binding generator uses the name iro_Block instead of iro_First
Matthias Braun [Thu, 29 Apr 2010 11:46:30 +0000 (11:46 +0000)]
ugly cheat so the java binding generator uses the name iro_Block instead of iro_First

[r27456]

14 years agoadded amd64 backend code (which doesn't do much yet).
Robin Redeker [Thu, 29 Apr 2010 11:02:22 +0000 (11:02 +0000)]
added amd64 backend code (which doesn't do much yet).

[r27454]

14 years ago- added emit_section_sparc to begnuas
Hannes Rapp [Tue, 27 Apr 2010 14:13:33 +0000 (14:13 +0000)]
- added emit_section_sparc to begnuas
- fixed register spilling & register specs

[r27450]

14 years agoimprove ia32_Asm register pressure faithfullness stuff (still broken but better than...
Matthias Braun [Mon, 26 Apr 2010 15:00:11 +0000 (15:00 +0000)]
improve ia32_Asm register pressure faithfullness stuff (still broken but better than before)

[r27447]

14 years agos/full\>/ful/.
Christoph Mallon [Mon, 26 Apr 2010 10:24:18 +0000 (10:24 +0000)]
s/full\>/ful/.

[r27442]

14 years agoaccidently enable debug code
Matthias Braun [Mon, 26 Apr 2010 08:39:33 +0000 (08:39 +0000)]
accidently enable debug code

[r27441]

14 years agoadd a note so the next person doesn't have to dig so long anymore
Matthias Braun [Mon, 26 Apr 2010 08:28:43 +0000 (08:28 +0000)]
add a note so the next person doesn't have to dig so long anymore

[r27440]

14 years agoC99 feature removed.
Michael Beck [Sat, 24 Apr 2010 21:45:19 +0000 (21:45 +0000)]
C99 feature removed.

[r27436]

14 years agodon't hardcode 31
Matthias Braun [Mon, 19 Apr 2010 14:07:55 +0000 (14:07 +0000)]
don't hardcode 31

[r27419]

14 years agobitset size calcuation was broken (uhoh)
Matthias Braun [Mon, 19 Apr 2010 14:00:16 +0000 (14:00 +0000)]
bitset size calcuation was broken (uhoh)

[r27418]

14 years ago- Bugfix: Barrier nodes have an effect like a Keep for unused inputs. So we
Matthias Braun [Mon, 19 Apr 2010 08:26:03 +0000 (08:26 +0000)]
- Bugfix: Barrier nodes have an effect like a Keep for unused inputs. So we
  have to construct explicit Keep nodes when killing barriers.
  This should fix the no-omit-frame-pointer missing IncSP problems.

[r27415]

14 years agoFixed release build.
Michael Beck [Sat, 17 Apr 2010 09:53:53 +0000 (09:53 +0000)]
Fixed release build.

[r27412]

14 years agoUpdated Win32 version number to 1.18
Michael Beck [Fri, 16 Apr 2010 12:39:23 +0000 (12:39 +0000)]
Updated Win32 version number to 1.18

[r27411]

14 years agoReverted r27394 on iropt.c, there is not need to keep this in sync with
Michael Beck [Fri, 16 Apr 2010 12:38:20 +0000 (12:38 +0000)]
Reverted r27394 on iropt.c, there is not need to keep this in sync with
combo, just combo's evaluators must be synced between compute_Cmp() and
compute_Proj_Cmp().

[r27410]

14 years agogas on cygwin doesn't like section type (althought that's not what the docu says...
Matthias Braun [Thu, 15 Apr 2010 14:17:45 +0000 (14:17 +0000)]
gas on cygwin doesn't like section type (althought that's not what the docu says IMO)

[r27408]

14 years agoavoid excessive use of alloca -- it doesn't work on cygwin
Matthias Braun [Thu, 15 Apr 2010 13:47:35 +0000 (13:47 +0000)]
avoid excessive use of alloca -- it doesn't work on cygwin

[r27407]

14 years agoauto* updates
Matthias Braun [Thu, 15 Apr 2010 11:22:45 +0000 (11:22 +0000)]
auto* updates

[r27402]

14 years agoonly compile statev code if enabled
Matthias Braun [Thu, 15 Apr 2010 10:55:18 +0000 (10:55 +0000)]
only compile statev code if enabled

[r27401]

14 years agofixed indentation
Michael Beck [Wed, 14 Apr 2010 12:17:57 +0000 (12:17 +0000)]
fixed indentation

[r27395]

14 years agocombos constant dataflow analysis has to be consistent with the localopt; this should...
Matthias Braun [Wed, 14 Apr 2010 12:10:12 +0000 (12:10 +0000)]
combos constant dataflow analysis has to be consistent with the localopt; this should fix 300.twolf

[r27394]

14 years agoCreate the in array before the node is constructed instead of copying the in array...
Sebastian Buchwald [Tue, 13 Apr 2010 17:02:27 +0000 (17:02 +0000)]
Create the in array before the node is constructed instead of copying the in array an set the operands afterwards.

[r27393]

14 years ago- fixed: new_r_Proj/new_rd_Proj args changed
Hannes Rapp [Tue, 13 Apr 2010 13:54:28 +0000 (13:54 +0000)]
- fixed: new_r_Proj/new_rd_Proj args changed

[r27392]

14 years agoCreate a new node with the right mode instead of changing the mode.
Sebastian Buchwald [Tue, 13 Apr 2010 13:42:54 +0000 (13:42 +0000)]
Create a new node with the right mode instead of changing the mode.

[r27391]

14 years ago- various updates to sparc backend
Hannes Rapp [Tue, 13 Apr 2010 13:35:54 +0000 (13:35 +0000)]
- various updates to sparc backend
- extende beabi so you can specify different registers at the call site
  and the beginning of a called function
- adapt all backends for API changes

[r27390]

14 years agofix bug in default ifconv handler
Hannes Rapp [Tue, 13 Apr 2010 13:32:50 +0000 (13:32 +0000)]
fix bug in default ifconv handler

[r27389]

14 years agoLoop inversion: Fixed bug in find_condition_chain and construct_ssa, which prevented...
Christian Helmer [Tue, 13 Apr 2010 12:05:15 +0000 (12:05 +0000)]
Loop inversion: Fixed bug in find_condition_chain and construct_ssa, which prevented SPEC/perlbmk to compile.

[r27388]

14 years agoSlightly improve documentation.
Matthias Braun [Tue, 13 Apr 2010 08:06:08 +0000 (08:06 +0000)]
Slightly improve documentation.

[r27387]

14 years agoSome improvements:
Michael Beck [Tue, 13 Apr 2010 07:07:46 +0000 (07:07 +0000)]
Some improvements:
- use Phi list to speed up algo
- initially clear the links of all nodes (block walker visits only initially reachable ones)
- track resources
- invalidate analysis info at end

[r27386]

14 years agoSlightly improved documentation.
Michael Beck [Tue, 13 Apr 2010 06:54:16 +0000 (06:54 +0000)]
Slightly improved documentation.

[r27385]

14 years agoAdd missing break.
Christoph Mallon [Mon, 12 Apr 2010 19:34:28 +0000 (19:34 +0000)]
Add missing break.

[r27384]

14 years agoCorrect bug in Mux-case of fixpoint VRP: This z must be an o.
Christoph Mallon [Mon, 12 Apr 2010 19:29:34 +0000 (19:29 +0000)]
Correct bug in Mux-case of fixpoint VRP: This z must be an o.

[r27383]

14 years agoAdd pass constructor C99 feature removed.
Michael Beck [Mon, 12 Apr 2010 19:00:58 +0000 (19:00 +0000)]
Add pass constructor C99 feature removed.

[r27381]

14 years agoAdd minimal fixpoint VRP.
Christoph Mallon [Mon, 12 Apr 2010 12:43:10 +0000 (12:43 +0000)]
Add minimal fixpoint VRP.

[r27377]

14 years agoIgnore Id's that arise because we modify the graph before visiting it
Michael Beck [Sat, 10 Apr 2010 11:55:21 +0000 (11:55 +0000)]
Ignore Id's that arise because we modify the graph before visiting it
...

[r27374]

14 years agoReverted r27368, needed for propagation of changed nodes ...
Michael Beck [Sat, 10 Apr 2010 11:34:42 +0000 (11:34 +0000)]
Reverted r27368, needed for propagation of changed nodes ...

[r27373]

14 years agoAdd missing debug module initialization ...
Michael Beck [Sat, 10 Apr 2010 11:32:42 +0000 (11:32 +0000)]
Add missing debug module initialization ...

[r27372]

14 years agoUpdated version.
Michael Beck [Sat, 10 Apr 2010 10:49:37 +0000 (10:49 +0000)]
Updated version.

[r27371]

14 years agoUpdated for new libFirm.
Michael Beck [Sat, 10 Apr 2010 10:49:18 +0000 (10:49 +0000)]
Updated for new libFirm.

[r27370]

14 years agoRenamed ia32 Push0 to PushEax (because this is the generated instruction).
Michael Beck [Sat, 10 Apr 2010 10:47:59 +0000 (10:47 +0000)]
Renamed ia32 Push0 to PushEax (because this is the generated instruction).

[r27369]

14 years agoProbably compute_Cmp() can ge removed at all, compute_Proj_Cmp() does the interesting...
Michael Beck [Sat, 10 Apr 2010 05:31:32 +0000 (05:31 +0000)]
Probably compute_Cmp() can ge removed at all, compute_Proj_Cmp() does the interesting work.

[r27368]

14 years agoBugfix: add missing NaN handling for Cmp nodes inside combo.
Michael Beck [Fri, 9 Apr 2010 15:34:33 +0000 (15:34 +0000)]
Bugfix: add missing NaN handling for Cmp nodes inside combo.
This fixes testsuite/backend/floatset.c ...

[r27367]

14 years agoanother case fo missing statistics/missing outedge invalidation in confirm construction
Matthias Braun [Fri, 9 Apr 2010 14:17:17 +0000 (14:17 +0000)]
another case fo missing statistics/missing outedge invalidation in confirm construction

[r27366]

14 years agofix consconfirm missing nodes in its statistics and worse not invalidating out-edges...
Matthias Braun [Fri, 9 Apr 2010 14:03:51 +0000 (14:03 +0000)]
fix consconfirm missing nodes in its statistics and worse not invalidating out-edges because of that

[r27365]

14 years agoPartly undo r27277 and add a prototype for (formally undocumented) find_value(),...
Michael Beck [Fri, 9 Apr 2010 12:40:01 +0000 (12:40 +0000)]
Partly undo r27277 and add a prototype for (formally undocumented) find_value(), needed by the edgjfe FE.

[r27363]

14 years agoAdd a type_dbg_info_ptr type, just like all others.
Michael Beck [Fri, 9 Apr 2010 12:38:55 +0000 (12:38 +0000)]
Add a type_dbg_info_ptr type, just like all others.

[r27362]

14 years agoNEWS update
Matthias Braun [Wed, 7 Apr 2010 16:11:51 +0000 (16:11 +0000)]
NEWS update

[r27360]

14 years agoallocate memory for peephole values on heap; us DB instead of DBG
Matthias Braun [Wed, 7 Apr 2010 16:11:36 +0000 (16:11 +0000)]
allocate memory for peephole values on heap; us DB instead of DBG

[r27359]

14 years agofix the sub esp,4 => push peephole optimisation
Matthias Braun [Wed, 7 Apr 2010 14:20:34 +0000 (14:20 +0000)]
fix the sub esp,4 => push peephole optimisation

[r27356]

14 years agoC99 feature removed.
Michael Beck [Wed, 7 Apr 2010 06:45:26 +0000 (06:45 +0000)]
C99 feature removed.

[r27352]

14 years agorevert accidental commit which disable node number and index dumping
Matthias Braun [Tue, 6 Apr 2010 14:53:06 +0000 (14:53 +0000)]
revert accidental commit which disable node number and index dumping

[r27350]

14 years agoadd a bitset_copy_into function and use it in belive.c to avoid assertion failures
Matthias Braun [Tue, 6 Apr 2010 14:37:06 +0000 (14:37 +0000)]
add a bitset_copy_into function and use it in belive.c to avoid assertion failures

[r27348]

14 years agomodel Unknowns as own nodes (but not in form of an unknown register)
Matthias Braun [Tue, 6 Apr 2010 13:33:13 +0000 (13:33 +0000)]
model Unknowns as own nodes (but not in form of an unknown register)

[r27347]

14 years agoremove get_XXX_attr type functions
Matthias Braun [Tue, 6 Apr 2010 13:32:33 +0000 (13:32 +0000)]
remove get_XXX_attr type functions

[r27346]

14 years agoFixed typo
Sebastian Buchwald [Wed, 31 Mar 2010 08:13:27 +0000 (08:13 +0000)]
Fixed typo

[r27333]

14 years agoir_node already has a loop field
Sebastian Buchwald [Wed, 31 Mar 2010 07:25:48 +0000 (07:25 +0000)]
ir_node already has a loop field

[r27332]

14 years agodebug output wasn't always initialized properly
Matthias Braun [Tue, 30 Mar 2010 12:42:39 +0000 (12:42 +0000)]
debug output wasn't always initialized properly

[r27330]

14 years agoautomatically generate most getter/setter functions of firm nodes
Matthias Braun [Mon, 29 Mar 2010 16:19:56 +0000 (16:19 +0000)]
automatically generate most getter/setter functions of firm nodes

[r27328]

14 years agoremove _GNU_SOURCE define again and add AC_FUNC_STRTOLD autoconf macro
Michael Beck [Mon, 29 Mar 2010 14:13:30 +0000 (14:13 +0000)]
remove _GNU_SOURCE define again and add AC_FUNC_STRTOLD autoconf macro

[r27325]

14 years agoloop inversion: Fixed bug, that prevented compilation of SPEC/perlbmk.
Christian Helmer [Fri, 26 Mar 2010 15:24:12 +0000 (15:24 +0000)]
loop inversion: Fixed bug, that prevented compilation of SPEC/perlbmk.

[r27324]

14 years agoReverted r27289, since it brokes a lot of tests on some architectures.
Sebastian Buchwald [Thu, 25 Mar 2010 13:50:14 +0000 (13:50 +0000)]
Reverted r27289, since it brokes a lot of tests on some architectures.

[r27323]

14 years agoLoop inversion is more elegant and cleaned up now by using phases. Testsuite runs...
Christian Helmer [Wed, 24 Mar 2010 10:11:50 +0000 (10:11 +0000)]
Loop inversion is more elegant and cleaned up now by using phases. Testsuite runs successfully with loop inversion.

[r27321]

14 years agoset a few more variables to const to prevent bugs
Jonas Fietz [Thu, 18 Mar 2010 01:32:07 +0000 (01:32 +0000)]
set a few more variables to const to prevent bugs

[r27318]

14 years agofix warning about unused variable
Jonas Fietz [Thu, 18 Mar 2010 01:32:07 +0000 (01:32 +0000)]
fix warning about unused variable

[r27317]

14 years agoAdd temporary fix for conv-problems
Jonas Fietz [Thu, 18 Mar 2010 01:32:06 +0000 (01:32 +0000)]
Add temporary fix for conv-problems

[r27316]

14 years agoremove ir_printf and replace with DBG
Jonas Fietz [Thu, 18 Mar 2010 01:32:05 +0000 (01:32 +0000)]
remove ir_printf and replace with DBG

[r27315]

14 years agofix a few subtle bugs in vrp
Jonas Fietz [Thu, 18 Mar 2010 01:32:04 +0000 (01:32 +0000)]
fix a few subtle bugs in vrp

[r27314]

14 years agoVRP: Adapt meaning of bits_not_set
Jonas Fietz [Thu, 18 Mar 2010 01:32:04 +0000 (01:32 +0000)]
VRP: Adapt meaning of bits_not_set

now, a 0 means that a 0 is set for sure

[r27313]

14 years agoFix bug left over from seperating merging and derivation of info
Jonas Fietz [Thu, 18 Mar 2010 01:32:03 +0000 (01:32 +0000)]
Fix bug left over from seperating merging and derivation of info

[r27312]

14 years agoFix bug, where only partial information was set for confirm nodes
Jonas Fietz [Wed, 17 Mar 2010 20:16:29 +0000 (20:16 +0000)]
Fix bug, where only partial information was set for confirm nodes

[r27311]

14 years agoinvalidate phase info before starting the code selection; temporary disable freeing...
Matthias Braun [Wed, 17 Mar 2010 15:14:59 +0000 (15:14 +0000)]
invalidate phase info before starting the code selection; temporary disable freeing of old phases in dead code elimination to avoid problems

[r27309]

14 years agoSet svn:keywords property.
Michael Beck [Tue, 16 Mar 2010 22:50:42 +0000 (22:50 +0000)]
Set svn:keywords property.

[r27308]

14 years agoFixed immediate range (hint: never use decimals for that ...).
Michael Beck [Tue, 16 Mar 2010 22:49:24 +0000 (22:49 +0000)]
Fixed immediate range (hint: never use decimals for that ...).

[r27307]

14 years agoC99 feature removed, svn properties added.
Michael Beck [Tue, 16 Mar 2010 22:45:46 +0000 (22:45 +0000)]
C99 feature removed, svn properties added.

[r27306]

14 years agoC99 feature removed, fixed indentation.
Michael Beck [Tue, 16 Mar 2010 22:41:30 +0000 (22:41 +0000)]
C99 feature removed, fixed indentation.

[r27305]

14 years agoFix coding style
Jonas Fietz [Tue, 16 Mar 2010 22:18:51 +0000 (22:18 +0000)]
Fix coding style

[r27304]

14 years agoallow unnamed structs
Matthias Braun [Tue, 16 Mar 2010 15:59:39 +0000 (15:59 +0000)]
allow unnamed structs

[r27303]

14 years agoFixed some warnings related to FIRM_KAPS.
Sebastian Buchwald [Mon, 15 Mar 2010 15:39:30 +0000 (15:39 +0000)]
Fixed some warnings related to FIRM_KAPS.

[r27302]

14 years agoI accidentally committed my minir hooks, oh well let's add the unfinished dumper too
Matthias Braun [Mon, 15 Mar 2010 15:23:03 +0000 (15:23 +0000)]
I accidentally committed my minir hooks, oh well let's add the unfinished dumper too

[r27301]

14 years agofix various warnings reported by cparser
Matthias Braun [Mon, 15 Mar 2010 15:17:41 +0000 (15:17 +0000)]
fix various warnings reported by cparser

[r27300]

14 years agokill the concept of an unknown register - it just heavily complicates code for nearly...
Matthias Braun [Mon, 15 Mar 2010 14:29:13 +0000 (14:29 +0000)]
kill the concept of an unknown register - it just heavily complicates code for nearly no gain

[r27297]

14 years agoremove unused vars
Matthias Braun [Mon, 15 Mar 2010 08:32:26 +0000 (08:32 +0000)]
remove unused vars

[r27295]

14 years agorework bitset to use raw_bitset
Matthias Braun [Fri, 12 Mar 2010 19:04:19 +0000 (19:04 +0000)]
rework bitset to use raw_bitset

[r27293]

14 years agorename popcnt to popcount; avoid inline assembly in favor of gcc builtin functions
Matthias Braun [Fri, 12 Mar 2010 12:38:02 +0000 (12:38 +0000)]
rename popcnt to popcount; avoid inline assembly in favor of gcc builtin functions

[r27291]

14 years agoupdate jinja version
Matthias Braun [Fri, 12 Mar 2010 12:36:56 +0000 (12:36 +0000)]
update jinja version

[r27290]

14 years agono need for obstack_printf from libc (we provide our own); no need to explicitely...
Matthias Braun [Thu, 11 Mar 2010 17:40:59 +0000 (17:40 +0000)]
no need for obstack_printf from libc (we provide our own); no need to explicitely check for C89 function strerror

[r27289]

14 years ago- fixed off-by-one error after phase refactoring
Michael Beck [Thu, 11 Mar 2010 09:00:23 +0000 (09:00 +0000)]
- fixed off-by-one error after phase refactoring
- deleted header file of already gone irdump_grgen.c

[r27287]

14 years agofix stupid error in my last commit
Matthias Braun [Wed, 10 Mar 2010 17:45:14 +0000 (17:45 +0000)]
fix stupid error in my last commit

[r27286]

14 years ago- fix most of the -Wunreachable-code and -Wlogical-op warnings
Matthias Braun [Wed, 10 Mar 2010 17:25:21 +0000 (17:25 +0000)]
- fix most of the -Wunreachable-code and -Wlogical-op warnings
- rework ir_phase API
(sorry for mixing these 2 things into 1 commit)

[r27285]

14 years agomake firm (mostly) -Wmissing-prototypes clean
Matthias Braun [Tue, 9 Mar 2010 21:14:15 +0000 (21:14 +0000)]
make firm (mostly) -Wmissing-prototypes clean

[r27277]

14 years agonot used anymore (you can revive it from svn if needed)
Matthias Braun [Tue, 9 Mar 2010 19:54:04 +0000 (19:54 +0000)]
not used anymore (you can revive it from svn if needed)

[r27276]

14 years agonoone was using these _verbose flags
Matthias Braun [Tue, 9 Mar 2010 19:51:50 +0000 (19:51 +0000)]
noone was using these _verbose flags

[r27275]

14 years agofix doxygen errors and warnings; add some missing declarations
Matthias Braun [Tue, 9 Mar 2010 15:38:51 +0000 (15:38 +0000)]
fix doxygen errors and warnings; add some missing declarations

[r27274]

14 years agomerge common graph copying code; move dead code elimination into an own file
Matthias Braun [Sun, 7 Mar 2010 22:21:24 +0000 (22:21 +0000)]
merge common graph copying code; move dead code elimination into an own file

[r27271]

14 years agoexchange (brain damaged) defines with inline functions
Matthias Braun [Sun, 7 Mar 2010 22:20:43 +0000 (22:20 +0000)]
exchange (brain damaged) defines with inline functions

[r27270]

14 years agoforgot to check for dead blocks in 1 case
Matthias Braun [Sun, 7 Mar 2010 20:21:31 +0000 (20:21 +0000)]
forgot to check for dead blocks in 1 case

[r27268]