libfirm
14 years agono unnecessary comments behind #include
Matthias Braun [Mon, 21 Dec 2009 18:40:30 +0000 (18:40 +0000)]
no unnecessary comments behind #include

[r26828]

14 years agoadapt to timer changes
Matthias Braun [Mon, 21 Dec 2009 18:29:23 +0000 (18:29 +0000)]
adapt to timer changes

[r26827]

14 years agoadapt to timer changes
Matthias Braun [Mon, 21 Dec 2009 18:25:59 +0000 (18:25 +0000)]
adapt to timer changes

[r26826]

14 years agokeep timer interface simple - no names and descriptions for timers anymore, you shoul...
Matthias Braun [Mon, 21 Dec 2009 17:43:35 +0000 (17:43 +0000)]
keep timer interface simple - no names and descriptions for timers anymore, you should do that bookkeeping externally

[r26821]

14 years agoremove some unused code
Matthias Braun [Mon, 21 Dec 2009 15:48:39 +0000 (15:48 +0000)]
remove some unused code

[r26820]

14 years agofix
Matthias Braun [Mon, 21 Dec 2009 12:35:13 +0000 (12:35 +0000)]
fix

[r26819]

14 years agomove iropt_dbg to private API (it had wrong includes too and didn't work as public...
Matthias Braun [Mon, 21 Dec 2009 12:32:38 +0000 (12:32 +0000)]
move iropt_dbg to private API (it had wrong includes too and didn't work as public API)

[r26818]

14 years agoget_tarval_P_void doesn't exist anymore
Matthias Braun [Mon, 21 Dec 2009 12:28:19 +0000 (12:28 +0000)]
get_tarval_P_void doesn't exist anymore

[r26817]

14 years agorename opt_sync to opt_parallelize_mem
Matthias Braun [Mon, 21 Dec 2009 12:26:57 +0000 (12:26 +0000)]
rename opt_sync to opt_parallelize_mem

[r26816]

14 years agodon't include old_fctnames.h in firm.h - don't #define size in old_fctnames.h
Matthias Braun [Mon, 21 Dec 2009 12:26:22 +0000 (12:26 +0000)]
don't include old_fctnames.h in firm.h - don't #define size in old_fctnames.h

[r26815]

14 years agomove phiclass from public to private API
Matthias Braun [Mon, 21 Dec 2009 12:20:39 +0000 (12:20 +0000)]
move phiclass from public to private API

[r26814]

14 years agomove irlivechk from public to private
Matthias Braun [Mon, 21 Dec 2009 12:17:38 +0000 (12:17 +0000)]
move irlivechk from public to private

[r26813]

14 years agomake dfs.h private API
Matthias Braun [Mon, 21 Dec 2009 12:15:03 +0000 (12:15 +0000)]
make dfs.h private API

[r26812]

14 years agomake absgraph.h a private API (it never worked in the public anyway because of a...
Matthias Braun [Mon, 21 Dec 2009 12:13:24 +0000 (12:13 +0000)]
make absgraph.h a private API (it never worked in the public anyway because of a wrong include)

[r26811]

14 years agofirm.h was missing timing.h (and maybe others) - convert it to a simpler style
Matthias Braun [Mon, 21 Dec 2009 12:03:58 +0000 (12:03 +0000)]
firm.h was missing timing.h (and maybe others) - convert it to a simpler style

[r26810]

14 years agoremove lots of commented code
Matthias Braun [Mon, 21 Dec 2009 11:41:06 +0000 (11:41 +0000)]
remove lots of commented code

[r26809]

14 years agoRemoved C99 features and fixed 2 wrong assertions.
Michael Beck [Sat, 19 Dec 2009 02:00:34 +0000 (02:00 +0000)]
Removed C99 features and fixed 2 wrong assertions.

[r26808]

14 years agoC99 features removed.
Michael Beck [Sat, 19 Dec 2009 01:59:46 +0000 (01:59 +0000)]
C99 features removed.

[r26807]

14 years agoAdd stdint.h and inttypes.h from <http://msinttypes.googlecode.com/svn/>, but libFirm...
Michael Beck [Sat, 19 Dec 2009 01:58:42 +0000 (01:58 +0000)]
Add stdint.h and inttypes.h from <msinttypes.googlecode.com/svn/>, but libFirm should build WITHOUT C99 headers!

[r26806]

14 years agoDeleted generated files from svn, there are (re-)created by sparc_spec.pl.
Michael Beck [Sat, 19 Dec 2009 01:36:45 +0000 (01:36 +0000)]
Deleted generated files from svn, there are (re-)created by sparc_spec.pl.

[r26805]

14 years agoCorrect typo in comment.
Christoph Mallon [Fri, 18 Dec 2009 10:00:06 +0000 (10:00 +0000)]
Correct typo in comment.

[r26803]

14 years agorename straight alloc to pref alloc to match the name of the paper
Matthias Braun [Fri, 18 Dec 2009 09:14:16 +0000 (09:14 +0000)]
rename straight alloc to pref alloc to match the name of the paper

[r26802]

14 years agocompile sparc backend
Matthias Braun [Fri, 18 Dec 2009 09:10:49 +0000 (09:10 +0000)]
compile sparc backend

[r26801]

14 years agoreformat/reindent to common style
Matthias Braun [Fri, 18 Dec 2009 09:01:04 +0000 (09:01 +0000)]
reformat/reindent to common style

[r26800]

14 years ago- remove some more of the optimisation flags inside firm. Enabling/Disabling
Matthias Braun [Wed, 16 Dec 2009 16:10:00 +0000 (16:10 +0000)]
- remove some more of the optimisation flags inside firm. Enabling/Disabling
  an optimization should be decided simply on wether the frontend calls
  it or not.

[r26798]

14 years agofix compilation of endless loops which don't use memory
Matthias Braun [Wed, 16 Dec 2009 15:38:26 +0000 (15:38 +0000)]
fix compilation of endless loops which don't use memory

[r26797]

14 years agoconsider all interference edges for reverse perfect elimination oder
Thomas Bersch [Wed, 16 Dec 2009 14:36:46 +0000 (14:36 +0000)]
consider all interference edges for reverse perfect elimination oder
(also all edges which are not inserted because of optimization)

[r26796]

14 years agoput optimisation module init function declarations into firm_init.h; make loop invers...
Matthias Braun [Wed, 16 Dec 2009 13:21:16 +0000 (13:21 +0000)]
put optimisation module init function declarations into firm_init.h; make loop inversion and loop peeling available in the public API.

[r26795]

14 years agoLoop peeling and inversion functional but with errors in combination.
Christian Helmer [Tue, 15 Dec 2009 17:41:52 +0000 (17:41 +0000)]
Loop peeling and inversion functional but with errors in combination.

[r26794]

14 years agoinitaler checkin SPARC backend
Hannes Rapp [Tue, 15 Dec 2009 14:43:15 +0000 (14:43 +0000)]
initaler checkin SPARC backend

[r26793]

14 years agoLoop peeling and loop inversion functioning but still errors in combination.
Christian Helmer [Mon, 14 Dec 2009 15:32:53 +0000 (15:32 +0000)]
Loop peeling and loop inversion functioning but still errors in combination.

[r26792]

14 years agodon't setup copymin data structures if no copymin is want
Thomas Bersch [Mon, 14 Dec 2009 15:04:36 +0000 (15:04 +0000)]
don't setup copymin data structures if no copymin is want

[r26791]

14 years agoexec_freq support added
Thomas Bersch [Mon, 14 Dec 2009 14:00:00 +0000 (14:00 +0000)]
exec_freq support added

[r26789]

14 years agodon't rewire keep_alive edges as they often violate SSA dominance properties
Matthias Braun [Mon, 14 Dec 2009 13:55:34 +0000 (13:55 +0000)]
don't rewire keep_alive edges as they often violate SSA dominance properties

[r26788]

14 years agoremove the concept of M_except, we always use the normal M proj now
Matthias Braun [Fri, 11 Dec 2009 16:19:45 +0000 (16:19 +0000)]
remove the concept of M_except, we always use the normal M proj now

[r26778]

14 years agoAdd a skip_Id() to make the following assert happy
Michael Beck [Wed, 2 Dec 2009 15:09:24 +0000 (15:09 +0000)]
Add a skip_Id() to make the following assert happy

[r26770]

14 years agoBugFix: Fixed off-by-one error introduced by r26724.
Michael Beck [Wed, 2 Dec 2009 01:12:05 +0000 (01:12 +0000)]
BugFix: Fixed off-by-one error introduced by r26724.

[r26768]

14 years agoBugFix: Cast is an Unop
Michael Beck [Wed, 2 Dec 2009 00:38:21 +0000 (00:38 +0000)]
BugFix: Cast is an Unop

[r26766]

14 years ago- removed C99 features
Michael Beck [Tue, 1 Dec 2009 17:52:14 +0000 (17:52 +0000)]
- removed C99 features

[r26763]

14 years agochange debug printing of firm nodes: add a space between opcode and mode - so beginne...
Matthias Braun [Tue, 1 Dec 2009 15:30:16 +0000 (15:30 +0000)]
change debug printing of firm nodes: add a space between opcode and mode - so beginners catch that it is 2 things

[r26762]

14 years agoComments and file header added.
Thomas Bersch [Fri, 27 Nov 2009 13:51:40 +0000 (13:51 +0000)]
Comments and file header added.

[r26759]

14 years agoout comment function removed.
Thomas Bersch [Fri, 27 Nov 2009 13:37:20 +0000 (13:37 +0000)]
out comment function removed.

[r26758]

14 years agoComments and file header added.
Thomas Bersch [Fri, 27 Nov 2009 13:35:32 +0000 (13:35 +0000)]
Comments and file header added.

[r26757]

14 years agopbqp is only available if FIRM_KAPS is defined
Matthias Braun [Fri, 27 Nov 2009 13:02:28 +0000 (13:02 +0000)]
pbqp is only available if FIRM_KAPS is defined

[r26756]

14 years agoonly compile pbqpcoloring when FIRM_KAPS is enabled
Matthias Braun [Fri, 27 Nov 2009 13:00:56 +0000 (13:00 +0000)]
only compile pbqpcoloring when FIRM_KAPS is enabled

[r26755]

14 years agoChange bechordal_constraints.h to bechordal_common.h
Thomas Bersch [Fri, 27 Nov 2009 09:41:27 +0000 (09:41 +0000)]
Change bechordal_constraints.h to bechordal_common.h

[r26753]

14 years agoInit functions for bechordal_common.c and bepbqpcoloring.c added
Thomas Bersch [Fri, 27 Nov 2009 09:40:46 +0000 (09:40 +0000)]
Init functions for bechordal_common.c and bepbqpcoloring.c added

[r26752]

14 years agoOption for coloring algorithm added.
Thomas Bersch [Fri, 27 Nov 2009 09:39:43 +0000 (09:39 +0000)]
Option for coloring algorithm added.

[r26751]

14 years agoSome functions moved to bechordal_common.c
Thomas Bersch [Fri, 27 Nov 2009 09:37:43 +0000 (09:37 +0000)]
Some functions moved to bechordal_common.c

[r26750]

14 years agoInitial Version
Thomas Bersch [Fri, 27 Nov 2009 09:36:10 +0000 (09:36 +0000)]
Initial Version
This File contains common functions for bechordal.c and bepbqpcoloring.c

[r26749]

14 years agoInitial Version of pbqp coloring algorithm
Thomas Bersch [Fri, 27 Nov 2009 09:22:33 +0000 (09:22 +0000)]
Initial Version of pbqp coloring algorithm

[r26748]

14 years agochange style of braces
Matthias Braun [Fri, 27 Nov 2009 08:53:15 +0000 (08:53 +0000)]
change style of braces

[r26746]

14 years agoInterference matrix is now initialized faster
Thomas Bersch [Thu, 26 Nov 2009 11:43:47 +0000 (11:43 +0000)]
Interference matrix is now initialized faster

[r26745]

14 years agovfnodes supporting addressmode did not keep to res, flags, M standards for outputs
Matthias Braun [Wed, 25 Nov 2009 17:37:18 +0000 (17:37 +0000)]
vfnodes supporting addressmode did not keep to res, flags, M standards for outputs

[r26742]

14 years agonon 32-bit divisions need upconvs
Matthias Braun [Wed, 25 Nov 2009 15:46:43 +0000 (15:46 +0000)]
non 32-bit divisions need upconvs

[r26741]

14 years ago1. Now only one dump for each pbqp instance
Thomas Bersch [Wed, 25 Nov 2009 08:13:19 +0000 (08:13 +0000)]
1. Now only one dump for each pbqp instance
2. Unknown nodes are now identified correctly

[r26740]

14 years agoLoop peeling refactored.
Christian Helmer [Mon, 23 Nov 2009 15:29:48 +0000 (15:29 +0000)]
Loop peeling refactored.

[r26739]

14 years agoInitial version of loop peeling
Christian Helmer [Fri, 20 Nov 2009 09:52:24 +0000 (09:52 +0000)]
Initial version of loop peeling

[r26729]

14 years agomemset is needed by some macros and defined in string.h
Matthias Braun [Thu, 19 Nov 2009 13:21:05 +0000 (13:21 +0000)]
memset is needed by some macros and defined in string.h

[r26728]

14 years agothis test is only needed for interprocedural view
Matthias Braun [Tue, 17 Nov 2009 09:49:31 +0000 (09:49 +0000)]
this test is only needed for interprocedural view

[r26726]

14 years agocleanup beabi so it doesn't need its own obstack anymore
Matthias Braun [Mon, 9 Nov 2009 14:01:55 +0000 (14:01 +0000)]
cleanup beabi so it doesn't need its own obstack anymore

[r26724]

14 years agobe robust against anchor in outedges in skip_barrier peephole
Matthias Braun [Mon, 9 Nov 2009 13:05:35 +0000 (13:05 +0000)]
be robust against anchor in outedges in skip_barrier peephole

[r26723]

14 years agosmall cleanup
Matthias Braun [Fri, 6 Nov 2009 12:58:10 +0000 (12:58 +0000)]
small cleanup

[r26722]

14 years agocleanup beabi a bit and use module constructor/global debug context
Matthias Braun [Fri, 6 Nov 2009 12:57:06 +0000 (12:57 +0000)]
cleanup beabi a bit and use module constructor/global debug context

[r26721]

14 years agomore robust detection of start nodes in listsched; add debug info to be_Start node...
Matthias Braun [Fri, 6 Nov 2009 12:51:30 +0000 (12:51 +0000)]
more robust detection of start nodes in listsched; add debug info to be_Start node constructor

[r26720]

14 years agofix warning
Matthias Braun [Fri, 6 Nov 2009 12:44:26 +0000 (12:44 +0000)]
fix warning

[r26719]

14 years agopmap which contains all used ir_nodes not longer needed
Thomas Bersch [Thu, 5 Nov 2009 13:13:32 +0000 (13:13 +0000)]
pmap which contains all used ir_nodes not longer needed

[r26718]

14 years agopmap which contains all used ir_nodes not longer needed
Thomas Bersch [Thu, 5 Nov 2009 13:13:22 +0000 (13:13 +0000)]
pmap which contains all used ir_nodes not longer needed

[r26717]

14 years agodocument the algorithm a bit
Matthias Braun [Wed, 4 Nov 2009 11:37:48 +0000 (11:37 +0000)]
document the algorithm a bit

[r26713]

14 years agoa first implementation of an algorithm to determine near/far jumps in a binary emitte...
Matthias Braun [Wed, 4 Nov 2009 11:32:23 +0000 (11:32 +0000)]
a first implementation of an algorithm to determine near/far jumps in a binary emitter (not tested yet)

[r26712]

14 years agoAdd a tail_call attribute the Call nodes to mark possible tail calls.
Michael Beck [Tue, 3 Nov 2009 23:34:29 +0000 (23:34 +0000)]
Add a tail_call attribute the Call nodes to mark possible tail calls.
No analysis for this case yet.

[r26711]

14 years ago- removed C99 features
Michael Beck [Tue, 3 Nov 2009 21:49:55 +0000 (21:49 +0000)]
- removed C99 features

[r26709]

14 years agoPBQP Matrices are copied now
Thomas Bersch [Mon, 2 Nov 2009 14:57:27 +0000 (14:57 +0000)]
PBQP Matrices are copied now

[r26708]

14 years agotypos
Sebastian Buchwald [Mon, 12 Oct 2009 15:07:08 +0000 (15:07 +0000)]
typos

[r26691]

14 years agoTimer for time measurement added
Thomas Bersch [Mon, 12 Oct 2009 07:49:00 +0000 (07:49 +0000)]
Timer for time measurement added

[r26690]

14 years ago- refactoring of backend generator scripts: You can create multiple constructors
Matthias Braun [Thu, 1 Oct 2009 16:43:13 +0000 (16:43 +0000)]
- refactoring of backend generator scripts: You can create multiple constructors
  (with different arguments and register constraints for the same node now)
- Lots of cleanups/changes in the arm backend. We can represent all
  "shifter operands" now (but the code selection isn't optimal yet)
- More fixes all over the place - arm backend handles 164.gzip now

[r26673]

14 years agoRestricted nodes are now correctly inserted before not restricted Nodes in reverse...
Thomas Bersch [Thu, 1 Oct 2009 10:11:40 +0000 (10:11 +0000)]
Restricted nodes are now correctly inserted before not restricted Nodes in reverse perfect elimination order

[r26671]

14 years agoproperty name in _pbqp_co_t structure changed
Thomas Bersch [Thu, 1 Oct 2009 10:09:31 +0000 (10:09 +0000)]
property name in _pbqp_co_t structure changed

[r26670]

14 years agoCorrect binary emission of TLS entities.
Christoph Mallon [Tue, 29 Sep 2009 13:15:20 +0000 (13:15 +0000)]
Correct binary emission of TLS entities.

[r26663]

14 years agoSimplify relative binary emission of entities.
Christoph Mallon [Tue, 29 Sep 2009 13:04:37 +0000 (13:04 +0000)]
Simplify relative binary emission of entities.

[r26662]

14 years agoNew ordering in reverse perfect elimination order
Thomas Bersch [Tue, 29 Sep 2009 12:36:41 +0000 (12:36 +0000)]
New ordering in reverse perfect elimination order

[r26661]

14 years agoBitset added to pbqp_co_t data structure.
Thomas Bersch [Tue, 29 Sep 2009 12:33:11 +0000 (12:33 +0000)]
Bitset added to pbqp_co_t data structure.
Bitset contain's information if node has register constraints or not

[r26660]

14 years agoImplement binary emitter for Minus64Bit.
Christoph Mallon [Tue, 29 Sep 2009 12:17:37 +0000 (12:17 +0000)]
Implement binary emitter for Minus64Bit.

[r26659]

14 years agoget_mode_size_bits() returns the size in bits, not bytes.
Christoph Mallon [Tue, 29 Sep 2009 11:21:56 +0000 (11:21 +0000)]
get_mode_size_bits() returns the size in bits, not bytes.

[r26658]

14 years agoImplement semi-binary emitter for SwitchJmp.
Christoph Mallon [Tue, 29 Sep 2009 11:15:10 +0000 (11:15 +0000)]
Implement semi-binary emitter for SwitchJmp.

[r26657]

14 years agoCorrect typo in comment.
Christoph Mallon [Tue, 29 Sep 2009 10:05:30 +0000 (10:05 +0000)]
Correct typo in comment.

[r26656]

14 years agoCorrect error in bemit_ldtls(): the register index must be mapped to the machine...
Christoph Mallon [Fri, 25 Sep 2009 15:05:37 +0000 (15:05 +0000)]
Correct error in bemit_ldtls(): the register index must be mapped to the machine index.

[r26652]

14 years ago- bring arm backend back to shape: cleanup and fix lots of stuff
Matthias Braun [Thu, 24 Sep 2009 13:41:56 +0000 (13:41 +0000)]
- bring arm backend back to shape: cleanup and fix lots of stuff
  disabled some broken transformers. (Queens, Quicksort and several other stuff from the
  testsuite work, but still lots of stuff broken)

[r26649]

14 years agojumps have a special irn flag now so beirgmod can identify them
Matthias Braun [Thu, 24 Sep 2009 13:39:53 +0000 (13:39 +0000)]
jumps have a special irn flag now so beirgmod can identify them

[r26648]

14 years ago.word has different size on different architecutres, use .short
Matthias Braun [Thu, 24 Sep 2009 13:38:34 +0000 (13:38 +0000)]
.word has different size on different architecutres, use .short

[r26647]

14 years agospill preparation needs liveness
Matthias Braun [Thu, 24 Sep 2009 13:37:19 +0000 (13:37 +0000)]
spill preparation needs liveness

[r26646]

14 years agofix register constraints for MemPerm nodes
Matthias Braun [Thu, 24 Sep 2009 13:36:55 +0000 (13:36 +0000)]
fix register constraints for MemPerm nodes

[r26645]

14 years agoRemove one unnecessary malloc() when emitting switches.
Christoph Mallon [Wed, 23 Sep 2009 17:10:08 +0000 (17:10 +0000)]
Remove one unnecessary malloc() when emitting switches.

[r26643]

14 years agoImplement binary emitter for fabs.
Christoph Mallon [Wed, 23 Sep 2009 14:36:41 +0000 (14:36 +0000)]
Implement binary emitter for fabs.

[r26642]

14 years agoImplement binary emitter for Leave.
Christoph Mallon [Wed, 23 Sep 2009 14:30:28 +0000 (14:30 +0000)]
Implement binary emitter for Leave.

[r26641]

14 years agoImplement binary emitters for Fucomi and Fucomip.
Christoph Mallon [Wed, 23 Sep 2009 14:23:05 +0000 (14:23 +0000)]
Implement binary emitters for Fucomi and Fucomip.

[r26640]

14 years agobemit_cmp() must handle 16bit compares.
Christoph Mallon [Wed, 23 Sep 2009 14:22:24 +0000 (14:22 +0000)]
bemit_cmp() must handle 16bit compares.

[r26639]

14 years agoImplement binary emitter for Test8Bit.
Christoph Mallon [Wed, 23 Sep 2009 11:50:42 +0000 (11:50 +0000)]
Implement binary emitter for Test8Bit.

[r26638]

14 years agoConsistently use the source AM form for register-register copies.
Christoph Mallon [Wed, 23 Sep 2009 11:37:44 +0000 (11:37 +0000)]
Consistently use the source AM form for register-register copies.

[r26637]

14 years agoImplement binary emitter for CMov.
Christoph Mallon [Wed, 23 Sep 2009 11:05:27 +0000 (11:05 +0000)]
Implement binary emitter for CMov.

[r26636]