libfirm
17 years agoadded strictly_dominate functions
Michael Beck [Wed, 13 Jun 2007 12:51:28 +0000 (12:51 +0000)]
added strictly_dominate functions

[r14459]

17 years agoFixed the last fix: need rewire of old proj's
Michael Beck [Wed, 13 Jun 2007 11:12:45 +0000 (11:12 +0000)]
Fixed the last fix: need rewire of old proj's

[r14457]

17 years agoinvalidate outs in condeval and convopt
Matthias Braun [Wed, 13 Jun 2007 10:03:16 +0000 (10:03 +0000)]
invalidate outs in condeval and convopt

[r14456]

17 years agoFixed the Phi optimize case: after fixing CSE for Phi nodes, it was broken
Michael Beck [Wed, 13 Jun 2007 09:39:52 +0000 (09:39 +0000)]
Fixed the Phi optimize case: after fixing CSE for Phi nodes, it was broken
additionally use kill_node()

[r14455]

17 years agoAdded a kill_node() function to support the out edges
Michael Beck [Wed, 13 Jun 2007 09:38:57 +0000 (09:38 +0000)]
Added a kill_node() function to support the out edges

[r14454]

17 years agofehler18
Matthias Braun [Wed, 13 Jun 2007 09:28:19 +0000 (09:28 +0000)]
fehler18

[r14453]

17 years agoMade the DEBUG_ONLY macro a little nicer (at least for me)
Sebastian Hack [Wed, 13 Jun 2007 08:15:28 +0000 (08:15 +0000)]
Made the DEBUG_ONLY macro a little nicer (at least for me)

[r14452]

17 years agoFiddled around some more
Sebastian Hack [Wed, 13 Jun 2007 08:11:29 +0000 (08:11 +0000)]
Fiddled around some more

[r14451]

17 years agoForgot to check in...
Sebastian Hack [Wed, 13 Jun 2007 08:10:31 +0000 (08:10 +0000)]
Forgot to check in...

[r14450]

17 years agoMade it more sensible concerning endless loops
Sebastian Hack [Tue, 12 Jun 2007 19:03:14 +0000 (19:03 +0000)]
Made it more sensible concerning endless loops

[r14449]

17 years agocbtw does NOT upcast 8 to 32 bits
Matthias Braun [Tue, 12 Jun 2007 14:47:28 +0000 (14:47 +0000)]
cbtw does NOT upcast 8 to 32 bits

[r14438]

17 years agofix some llvm tests not return 0 on successfull runs
Matthias Braun [Tue, 12 Jun 2007 09:37:34 +0000 (09:37 +0000)]
fix some llvm tests not return 0 on successfull runs

[r14428]

17 years agoslightly increase hashset iterator speed
Matthias Braun [Tue, 12 Jun 2007 09:27:40 +0000 (09:27 +0000)]
slightly increase hashset iterator speed

[r14425]

17 years agostart with smaller nodesets by default
Matthias Braun [Tue, 12 Jun 2007 09:27:00 +0000 (09:27 +0000)]
start with smaller nodesets by default

[r14424]

17 years agoworkaround problems when comparing bitfield types
Matthias Braun [Tue, 12 Jun 2007 09:20:45 +0000 (09:20 +0000)]
workaround problems when comparing bitfield types

[r14423]

17 years agofix totally broken code for doubling memory of block liveness lists
Matthias Braun [Tue, 12 Jun 2007 09:19:25 +0000 (09:19 +0000)]
fix totally broken code for doubling memory of block liveness lists

[r14422]

17 years agofix bad proj optimisation, fix loads missing the result proj
Matthias Braun [Mon, 11 Jun 2007 23:01:50 +0000 (23:01 +0000)]
fix bad proj optimisation, fix loads missing the result proj

[r14421]

17 years agofehler 17
Matthias Braun [Mon, 11 Jun 2007 18:40:02 +0000 (18:40 +0000)]
fehler 17

[r14420]

17 years agofix wrong flavors
Matthias Braun [Mon, 11 Jun 2007 14:51:42 +0000 (14:51 +0000)]
fix wrong flavors

[r14413]

17 years agoDo not generate a Copy node for an operand if the is already a Copy node.
Christoph Mallon [Mon, 11 Jun 2007 14:11:45 +0000 (14:11 +0000)]
Do not generate a Copy node for an operand if the is already a Copy node.

[r14411]

17 years agoFixed generation of attr = get_*_attr()
Michael Beck [Mon, 11 Jun 2007 14:11:06 +0000 (14:11 +0000)]
Fixed generation of attr = get_*_attr()

[r14410]

17 years agoremoved dangerous get_nodes_block()
Michael Beck [Mon, 11 Jun 2007 14:09:31 +0000 (14:09 +0000)]
removed dangerous get_nodes_block()

[r14409]

17 years agofixed signed/unsigned type mismatch
Michael Beck [Mon, 11 Jun 2007 14:08:40 +0000 (14:08 +0000)]
fixed signed/unsigned type mismatch

[r14408]

17 years agodon't cound backwards with size_t variables
Matthias Braun [Mon, 11 Jun 2007 13:29:09 +0000 (13:29 +0000)]
don't cound backwards with size_t variables

[r14405]

17 years agoC99 features removed
Michael Beck [Mon, 11 Jun 2007 11:11:10 +0000 (11:11 +0000)]
C99 features removed

[r14403]

17 years agoRemoved functions for accessing VProj nodes
Andreas Schösser [Mon, 11 Jun 2007 09:10:42 +0000 (09:10 +0000)]
Removed functions for accessing VProj nodes

[r14401]

17 years agoRemoved functions for accessing VProj nodes
Andreas Schösser [Mon, 11 Jun 2007 09:09:35 +0000 (09:09 +0000)]
Removed functions for accessing VProj nodes

[r14400]

17 years agoFixed a typo
Sebastian Hack [Sun, 10 Jun 2007 13:52:07 +0000 (13:52 +0000)]
Fixed a typo

[r14398]

17 years ago"docu" enhanced
Michael Beck [Sun, 10 Jun 2007 09:14:16 +0000 (09:14 +0000)]
"docu" enhanced

[r14397]

17 years agoFixed some ugly "const" code
Michael Beck [Sun, 10 Jun 2007 09:13:38 +0000 (09:13 +0000)]
Fixed some ugly "const" code
split arm attributes
fixed "SymConst get combined" Bug, HelloWorld runs now ;-)

[r14396]

17 years agorenamed inline into INLINE
Michael Beck [Sun, 10 Jun 2007 06:18:35 +0000 (06:18 +0000)]
renamed inline into INLINE

[r14395]

17 years agodaemel spiller seems to work now (tests, gzip and bzip2 work now)
Matthias Braun [Sat, 9 Jun 2007 15:31:50 +0000 (15:31 +0000)]
daemel spiller seems to work now (tests, gzip and bzip2 work now)

[r14394]

17 years agowe can use const
Matthias Braun [Sat, 9 Jun 2007 14:48:24 +0000 (14:48 +0000)]
we can use const

[r14393]

17 years agocleanup regparam code even more
Matthias Braun [Sat, 9 Jun 2007 14:47:24 +0000 (14:47 +0000)]
cleanup regparam code even more

[r14392]

17 years agodon't use xmm register in calling conventions when sse is not available, simplified...
Matthias Braun [Sat, 9 Jun 2007 14:13:01 +0000 (14:13 +0000)]
don't use xmm register in calling conventions when sse is not available, simplified and cleaned up map_param code

[r14391]

17 years agodon't use xmm register in calling conventions when sse is not available, simplified...
Matthias Braun [Sat, 9 Jun 2007 14:12:45 +0000 (14:12 +0000)]
don't use xmm register in calling conventions when sse is not available, simplified and cleaned up map_param code

[r14390]

17 years agodon't use xmm register in calling conventions when sse is not available, simplified...
Matthias Braun [Sat, 9 Jun 2007 14:04:38 +0000 (14:04 +0000)]
don't use xmm register in calling conventions when sse is not available, simplified and cleaned up map_param code

[r14389]

17 years agofix wrong panic
Matthias Braun [Fri, 8 Jun 2007 18:25:57 +0000 (18:25 +0000)]
fix wrong panic

[r14386]

17 years agowe temporarily need registers for reloaded values
Matthias Braun [Fri, 8 Jun 2007 18:15:33 +0000 (18:15 +0000)]
we temporarily need registers for reloaded values

[r14384]

17 years agocorrectly? handle phi spilling in daemelspiller
Matthias Braun [Fri, 8 Jun 2007 17:27:10 +0000 (17:27 +0000)]
correctly? handle phi spilling in daemelspiller

[r14383]

17 years agoremove unnecessary function
Matthias Braun [Fri, 8 Jun 2007 17:26:45 +0000 (17:26 +0000)]
remove unnecessary function

[r14382]

17 years agosome new testcases from llvm
Matthias Braun [Fri, 8 Jun 2007 16:00:24 +0000 (16:00 +0000)]
some new testcases from llvm

[r14381]

17 years agooptimize next_use calculation (quadratic in number of outs not number of nodes in...
Matthias Braun [Fri, 8 Jun 2007 15:20:51 +0000 (15:20 +0000)]
optimize next_use calculation (quadratic in number of outs not number of nodes in block

[r14380]

17 years agono need to call update_liveness for initial live in scheduler
Matthias Braun [Fri, 8 Jun 2007 15:20:11 +0000 (15:20 +0000)]
no need to call update_liveness for initial live in scheduler

[r14379]

17 years agodon't shrink a set below its minimum size
Matthias Braun [Fri, 8 Jun 2007 12:19:58 +0000 (12:19 +0000)]
don't shrink a set below its minimum size

[r14378]

17 years agoSet correct block on Projs in place_late().
Christoph Mallon [Fri, 8 Jun 2007 10:04:00 +0000 (10:04 +0000)]
Set correct block on Projs in place_late().

[r14377]

17 years agofixed mode_T nodes not moved by code placement
Matthias Braun [Thu, 7 Jun 2007 18:32:34 +0000 (18:32 +0000)]
fixed mode_T nodes not moved by code placement

[r14375]

17 years agoremoved the exc_region again,
Michael Beck [Wed, 6 Jun 2007 12:55:27 +0000 (12:55 +0000)]
removed the exc_region again,
fixed some DIv/Mod/DivMod code (add the X_regular case)

[r14369]

17 years agoswitched of debug mask
Michael Beck [Wed, 6 Jun 2007 12:38:04 +0000 (12:38 +0000)]
switched of debug mask

[r14368]

17 years agoBugFix: when register parameter are used the mode must be the mode of the parameters!
Michael Beck [Wed, 6 Jun 2007 12:35:40 +0000 (12:35 +0000)]
BugFix: when register parameter are used the mode must be the mode of the parameters!
Add conv's for that purpose.

[r14367]

17 years agolittle bugfix ...
Michael Beck [Wed, 6 Jun 2007 12:22:26 +0000 (12:22 +0000)]
little bugfix ...

[r14366]

17 years agosigned/unsigned warning fixed
Michael Beck [Wed, 6 Jun 2007 12:17:57 +0000 (12:17 +0000)]
signed/unsigned warning fixed

[r14365]

17 years agoadded cast to suppress warning
Michael Beck [Wed, 6 Jun 2007 12:11:31 +0000 (12:11 +0000)]
added cast to suppress warning

[r14364]

17 years agofixed signed/unsigned warning
Michael Beck [Wed, 6 Jun 2007 12:10:56 +0000 (12:10 +0000)]
fixed signed/unsigned warning

[r14363]

17 years agofixed signed/unsigned warning
Michael Beck [Wed, 6 Jun 2007 12:10:25 +0000 (12:10 +0000)]
fixed signed/unsigned warning

[r14362]

17 years agoremoved the exc_region attribute: not needed anymore
Michael Beck [Wed, 6 Jun 2007 12:06:50 +0000 (12:06 +0000)]
removed the exc_region attribute: not needed anymore

[r14361]

17 years agoremoved the exc_region attribute: not needed anymore
Michael Beck [Wed, 6 Jun 2007 12:05:39 +0000 (12:05 +0000)]
removed the exc_region attribute: not needed anymore

[r14360]

17 years agoremoved the exc_region attribute: not needed anymore
Michael Beck [Wed, 6 Jun 2007 12:04:53 +0000 (12:04 +0000)]
removed the exc_region attribute: not needed anymore

[r14359]

17 years agoAdded some casts to remove warnings
Michael Beck [Wed, 6 Jun 2007 12:03:09 +0000 (12:03 +0000)]
Added some casts to remove warnings

[r14358]

17 years agoremoved be_init_arch_TEMPLATE() and add a comment so it should not be inserted again...
Michael Beck [Wed, 6 Jun 2007 09:38:40 +0000 (09:38 +0000)]
removed be_init_arch_TEMPLATE() and add a comment so it should not be inserted again :-) */

[r14349]

17 years agobe_params initialization updated
Michael Beck [Wed, 6 Jun 2007 09:36:33 +0000 (09:36 +0000)]
be_params initialization updated

[r14348]

17 years agoadded prefer_fastcall
Michael Beck [Wed, 6 Jun 2007 09:36:07 +0000 (09:36 +0000)]
added prefer_fastcall

[r14347]

17 years agoadd prefer_fastcall
Michael Beck [Wed, 6 Jun 2007 09:35:33 +0000 (09:35 +0000)]
add prefer_fastcall

[r14346]

17 years agoremoved mips_register_from_name() callback
Michael Beck [Wed, 6 Jun 2007 09:35:01 +0000 (09:35 +0000)]
removed mips_register_from_name() callback
add prefer_fastcall

[r14345]

17 years agoremoved ppc32_register_from_name() callback
Michael Beck [Wed, 6 Jun 2007 09:34:20 +0000 (09:34 +0000)]
removed ppc32_register_from_name() callback
add prefer_fastcall

[r14344]

17 years agoremoved arm_register_from_name() callback
Michael Beck [Wed, 6 Jun 2007 09:33:41 +0000 (09:33 +0000)]
removed arm_register_from_name() callback
add prefer_fastcall

[r14343]

17 years agoremoved ia32_register_from_name() callback
Michael Beck [Wed, 6 Jun 2007 09:32:58 +0000 (09:32 +0000)]
removed ia32_register_from_name() callback
add prefer_fastcall

[r14342]

17 years agoremoved the get_register_from_name() callback
Michael Beck [Wed, 6 Jun 2007 09:31:45 +0000 (09:31 +0000)]
removed the get_register_from_name() callback
added a prefer_fastcall bit

[r14341]

17 years agoinitial version of calling convention optimization
Michael Beck [Tue, 5 Jun 2007 22:00:22 +0000 (22:00 +0000)]
initial version of calling convention optimization

[r14339]

17 years agocalculates now the address_taken flag for methods, needed for the calling convention...
Michael Beck [Tue, 5 Jun 2007 21:59:08 +0000 (21:59 +0000)]
calculates now the address_taken flag for methods, needed for the calling convention optimization

[r14338]

17 years agoopt_change_calling_conventions() added
Michael Beck [Tue, 5 Jun 2007 21:57:57 +0000 (21:57 +0000)]
opt_change_calling_conventions() added

[r14337]

17 years agoSlimified the bitset implementation a little bit
Sebastian Hack [Tue, 5 Jun 2007 15:25:37 +0000 (15:25 +0000)]
Slimified the bitset implementation a little bit

[r14335]

17 years agomake it possible to have different compare functions for different backend node attri...
Matthias Braun [Tue, 5 Jun 2007 14:43:59 +0000 (14:43 +0000)]
make it possible to have different compare functions for different backend node attributes

[r14334]

17 years agoAdded compiler.h for compiler hints, etc.
Sebastian Hack [Mon, 4 Jun 2007 15:38:07 +0000 (15:38 +0000)]
Added compiler.h for compiler hints, etc.
Removed that stuff from util.h
Adapted dependent files.

[r14331]

17 years agonew ia32_asm_attr attribute, beware: attribute comparison does not take asm_attr...
Matthias Braun [Mon, 4 Jun 2007 15:14:42 +0000 (15:14 +0000)]
new ia32_asm_attr attribute, beware: attribute comparison does not take asm_attr into account yet

[r14330]

17 years agoChanged the implementation of nlz in bitfiddle.
Sebastian Hack [Mon, 4 Jun 2007 15:03:21 +0000 (15:03 +0000)]
Changed the implementation of nlz in bitfiddle.
The new one is probably faster since it does not call popcnt.

Fixed the bugs in bitset_ia32.h. It can now be used.

[r14329]

17 years agofinish support for custom backend node attributes, separate x87 attributes from norma...
Matthias Braun [Mon, 4 Jun 2007 14:57:00 +0000 (14:57 +0000)]
finish support for custom backend node attributes, separate x87 attributes from normal ia32 attributes to test this

[r14328]

17 years ago- Allocate register slots array separately on obstack
Matthias Braun [Mon, 4 Jun 2007 13:49:48 +0000 (13:49 +0000)]
- Allocate register slots array separately on obstack
- "Fix" TEMPLATE backend
- Load TEMPLATE backend in bemodules
- fix ppc32 not scheduling alot of nodes

[r14319]

17 years agosome doxygen comments added
Michael Beck [Sun, 3 Jun 2007 17:15:32 +0000 (17:15 +0000)]
some doxygen comments added
indentation changed

[r14308]

17 years agoBugFix: Cmp is NOT pinned :-(
Michael Beck [Sun, 3 Jun 2007 17:14:55 +0000 (17:14 +0000)]
BugFix: Cmp is NOT pinned :-(

[r14307]

17 years agoindentation changed
Michael Beck [Sun, 3 Jun 2007 14:42:46 +0000 (14:42 +0000)]
indentation changed

[r14305]

17 years agoused new ir_exc_region_t type
Michael Beck [Sun, 3 Jun 2007 14:42:27 +0000 (14:42 +0000)]
used new ir_exc_region_t type

[r14304]

17 years agoused new ir_exc_region_t type
Michael Beck [Sun, 3 Jun 2007 14:33:38 +0000 (14:33 +0000)]
used new ir_exc_region_t type

[r14303]

17 years agoused new ir_exc_region_t type
Michael Beck [Sun, 3 Jun 2007 14:33:13 +0000 (14:33 +0000)]
used new ir_exc_region_t type

[r14302]

17 years agohonor new Confirm exception region attributes
Michael Beck [Sun, 3 Jun 2007 14:32:56 +0000 (14:32 +0000)]
honor new Confirm exception region attributes
fixed some comments

[r14301]

17 years agoused new ir_exc_region_t type
Michael Beck [Sun, 3 Jun 2007 14:31:49 +0000 (14:31 +0000)]
used new ir_exc_region_t type

[r14300]

17 years agoadded constructors for bounded Confirms
Michael Beck [Sun, 3 Jun 2007 14:31:30 +0000 (14:31 +0000)]
added constructors for bounded Confirms

[r14299]

17 years agoused new ir_exc_region_t type
Michael Beck [Sun, 3 Jun 2007 14:30:58 +0000 (14:30 +0000)]
used new ir_exc_region_t type

[r14298]

17 years agoadded constructors for bounded Confirms
Michael Beck [Sun, 3 Jun 2007 14:30:34 +0000 (14:30 +0000)]
added constructors for bounded Confirms

[r14297]

17 years agoadd explicit types for the visited flag and the exception regions
Michael Beck [Sun, 3 Jun 2007 14:26:03 +0000 (14:26 +0000)]
add explicit types for the visited flag and the exception regions

[r14296]

17 years agoConfirm optimizations honor the exception region attribute.
Michael Beck [Sun, 3 Jun 2007 14:08:39 +0000 (14:08 +0000)]
Confirm optimizations honor the exception region attribute.

[r14295]

17 years agoAdded next_region_nr attribute to the ir_prog.
Michael Beck [Sun, 3 Jun 2007 14:07:32 +0000 (14:07 +0000)]
Added next_region_nr attribute to the ir_prog.

[r14294]

17 years agoAdded next_region_nr attribute to the ir_prog.
Michael Beck [Sun, 3 Jun 2007 14:07:06 +0000 (14:07 +0000)]
Added next_region_nr attribute to the ir_prog.

[r14293]

17 years agoAdded exception region attribute to blocks and confirm nodes.
Michael Beck [Sun, 3 Jun 2007 14:06:30 +0000 (14:06 +0000)]
Added exception region attribute to blocks and confirm nodes.
Added is_Tuple().
Fixed some doxygen comments.

[r14292]

17 years agoAdded exception region attribute to blocks and confirm nodes.
Michael Beck [Sun, 3 Jun 2007 14:04:05 +0000 (14:04 +0000)]
Added exception region attribute to blocks and confirm nodes.
Added is_Tuple().

[r14291]

17 years agoSet the exc_label for Load and Store nodes.
Michael Beck [Sun, 3 Jun 2007 14:03:02 +0000 (14:03 +0000)]
Set the exc_label for Load and Store nodes.
C99 features removed.

[r14290]

17 years agoadd comment about strange regalloc behaviour
Matthias Braun [Sun, 3 Jun 2007 13:25:49 +0000 (13:25 +0000)]
add comment about strange regalloc behaviour

[r14289]

17 years agomore missing constraints
Matthias Braun [Sun, 3 Jun 2007 12:57:34 +0000 (12:57 +0000)]
more missing constraints

[r14288]

17 years agosame_as constraints in assembler nodes work now
Matthias Braun [Sun, 3 Jun 2007 12:53:44 +0000 (12:53 +0000)]
same_as constraints in assembler nodes work now

[r14287]

17 years agoTurn the ia32_transform_env_t transformation environment into a static global variabl...
Christoph Mallon [Sun, 3 Jun 2007 12:08:51 +0000 (12:08 +0000)]
Turn the ia32_transform_env_t transformation environment into a static global variable. This removes lots of parameters which are all the same and should save quite a bit of stack in the deep transformation recursion.

[r14286]