libfirm
19 years agowhitespace
Florian Liekweg [Fri, 5 Nov 2004 14:05:57 +0000 (14:05 +0000)]
whitespace

[r4289]

19 years agocopied comment to where it might be useful
Florian Liekweg [Fri, 5 Nov 2004 14:05:19 +0000 (14:05 +0000)]
copied comment to where it might be useful

[r4288]

19 years agoadded raise
Florian Liekweg [Fri, 5 Nov 2004 14:00:53 +0000 (14:00 +0000)]
added raise

[r4285]

19 years agobugfix. type may be null.
Götz Lindenmaier [Fri, 5 Nov 2004 12:00:29 +0000 (12:00 +0000)]
bugfix. type may be null.

[r4282]

19 years agoImproved hashing of nodes:
Michael Beck [Fri, 5 Nov 2004 09:37:48 +0000 (09:37 +0000)]
Improved hashing of nodes:

Use the intra functions to speed up calculation.
Strip all addresses
For CF nodes, hash their blocks. This especially improves Jmp nodes.

The bad news is that after CF optimization the old CF ops cannot be found and
will remain until dead node elimination.

[r4281]

19 years agoFixed address count calculation. Every Load was visited twice, so the count
Michael Beck [Fri, 5 Nov 2004 09:23:40 +0000 (09:23 +0000)]
Fixed address count calculation. Every Load was visited twice, so the count
was wrong.

[r4280]

19 years agointer_arity bugfix
FIRM Projekt Account [Fri, 5 Nov 2004 09:09:41 +0000 (09:09 +0000)]
inter_arity bugfix

[r4279]

19 years agoadded initialisation
Florian Liekweg [Thu, 4 Nov 2004 14:58:59 +0000 (14:58 +0000)]
added initialisation

[r4278]

19 years agoexpanded pto, added initialisation, added debugging printing
Florian Liekweg [Thu, 4 Nov 2004 14:58:38 +0000 (14:58 +0000)]
expanded pto, added initialisation, added debugging printing

[r4277]

19 years agofixed end block handling
Florian Liekweg [Thu, 4 Nov 2004 14:57:12 +0000 (14:57 +0000)]
fixed end block handling

[r4276]

19 years agoadded qset
Florian Liekweg [Thu, 4 Nov 2004 14:55:13 +0000 (14:55 +0000)]
added qset

[r4275]

19 years agoNicer Colors
Florian Liekweg [Thu, 4 Nov 2004 14:54:44 +0000 (14:54 +0000)]
Nicer Colors

[r4274]

19 years agoUsing the interface function now
Michael Beck [Thu, 4 Nov 2004 09:31:35 +0000 (09:31 +0000)]
Using the interface function now

[r4270]

19 years agocalculate the number of uses of every address, this allows an early exit
Michael Beck [Wed, 3 Nov 2004 14:50:04 +0000 (14:50 +0000)]
calculate the number of uses of every address, this allows an early exit
when searching for RAR and WAW

[r4269]

19 years agoreplaced all recursive computed_value calls ba value_of()
Michael Beck [Wed, 3 Nov 2004 14:48:49 +0000 (14:48 +0000)]
replaced all recursive computed_value calls ba value_of()
tarval_bad cannot asked for get_tarval_null :-(

[r4268]

19 years agoremoved gloval intraprocedural_view variable and replaced by get_*() set_*() functions
Michael Beck [Wed, 3 Nov 2004 14:47:39 +0000 (14:47 +0000)]
removed gloval intraprocedural_view variable and replaced by get_*() set_*() functions

[r4267]

19 years agoremoved gloval intraprocedural_view variable and replaced by get_*() set_*() functions
Michael Beck [Wed, 3 Nov 2004 14:47:32 +0000 (14:47 +0000)]
removed gloval intraprocedural_view variable and replaced by get_*() set_*() functions
added reassociation

[r4266]

19 years agoFixed some border cases:
Michael Beck [Wed, 3 Nov 2004 14:31:01 +0000 (14:31 +0000)]
Fixed some border cases:
 - do not access Bad nodes, these will be killed later
 - beware of self loopes, happen in dead code
 - Address calculation may have Iu + (P + Is) resulting in Iu + Is,
 - handle this case gracefully

[r4265]

19 years agoAdded needed include of trouts.h
Michael Beck [Wed, 3 Nov 2004 13:59:35 +0000 (13:59 +0000)]
Added needed include of trouts.h

[r4264]

19 years agoRe-allow multi-input join
Florian Liekweg [Tue, 2 Nov 2004 14:30:56 +0000 (14:30 +0000)]
Re-allow multi-input join

[r4263]

19 years agofixed multi-input join (thx, Boris) --flo
Florian Liekweg [Tue, 2 Nov 2004 14:30:31 +0000 (14:30 +0000)]
fixed multi-input join (thx, Boris) --flo

[r4262]

19 years agoout edges for entities and types
Götz Lindenmaier [Tue, 2 Nov 2004 07:32:09 +0000 (07:32 +0000)]
out edges for entities and types

[r4260]

19 years agobugfix
FIRM Projekt Account [Mon, 1 Nov 2004 15:42:21 +0000 (15:42 +0000)]
bugfix

[r4259]

19 years ago(mostly) generic timimg
Florian Liekweg [Fri, 29 Oct 2004 18:55:52 +0000 (18:55 +0000)]
(mostly) generic timimg

[r4258]

19 years agoAdded c_name for debugging
Florian Liekweg [Fri, 29 Oct 2004 18:54:53 +0000 (18:54 +0000)]
Added c_name for debugging

[r4257]

19 years agoAllow only two values for join
Florian Liekweg [Fri, 29 Oct 2004 18:52:32 +0000 (18:52 +0000)]
Allow only two values for join

[r4256]

19 years agoAdded Join
Florian Liekweg [Fri, 29 Oct 2004 18:51:53 +0000 (18:51 +0000)]
Added Join

[r4255]

19 years ago** Allow store ::= ((valref|select),valref)
Florian Liekweg [Fri, 29 Oct 2004 18:38:36 +0000 (18:38 +0000)]
** Allow store ::= ((valref|select),valref)

[r4252]

19 years agoadded more type dumping, fixed typeo
FIRM Projekt Account [Fri, 29 Oct 2004 09:14:06 +0000 (09:14 +0000)]
added more type dumping, fixed typeo

[r4247]

19 years agoRemoved last changes
Michael Beck [Fri, 29 Oct 2004 09:04:28 +0000 (09:04 +0000)]
Removed last changes

[r4246]

19 years agoRemoved last change, did not work with fltcalc
Michael Beck [Fri, 29 Oct 2004 09:03:09 +0000 (09:03 +0000)]
Removed last change, did not work with fltcalc

[r4245]

19 years agoadapted to new function name in irtypeinfo,
Götz Lindenmaier [Fri, 29 Oct 2004 07:58:04 +0000 (07:58 +0000)]
adapted to new function name in irtypeinfo,
output of ana data as csv

[r4244]

19 years agoprogram name handling
Götz Lindenmaier [Fri, 29 Oct 2004 07:55:57 +0000 (07:55 +0000)]
program name handling

[r4243]

19 years agooptimize cast nodes
Götz Lindenmaier [Fri, 29 Oct 2004 07:54:59 +0000 (07:54 +0000)]
optimize cast nodes

[r4242]

19 years agotype for SymConst
Götz Lindenmaier [Fri, 29 Oct 2004 07:54:18 +0000 (07:54 +0000)]
type for SymConst

[r4241]

19 years agoadded routine to read flag
Götz Lindenmaier [Fri, 29 Oct 2004 07:53:35 +0000 (07:53 +0000)]
added routine to read flag

[r4240]

19 years agonew Const constructor
Götz Lindenmaier [Fri, 29 Oct 2004 07:52:39 +0000 (07:52 +0000)]
new Const constructor

[r4239]

19 years agoconsider also calls: disptab
Götz Lindenmaier [Fri, 29 Oct 2004 07:51:22 +0000 (07:51 +0000)]
consider also calls: disptab

[r4238]

19 years agomodified function name, SymConst supprot
Götz Lindenmaier [Fri, 29 Oct 2004 07:51:08 +0000 (07:51 +0000)]
modified function name, SymConst supprot

[r4237]

19 years agorenames access rouitne, SymConst support
Götz Lindenmaier [Fri, 29 Oct 2004 07:50:35 +0000 (07:50 +0000)]
renames access rouitne, SymConst support

[r4236]

19 years agotypedef needed for C++
Götz Lindenmaier [Fri, 29 Oct 2004 07:48:47 +0000 (07:48 +0000)]
typedef needed for C++

[r4235]

19 years agocopying consts with type support
Götz Lindenmaier [Fri, 29 Oct 2004 07:47:19 +0000 (07:47 +0000)]
copying consts with type support

[r4234]

19 years agoverify primitives
Götz Lindenmaier [Fri, 29 Oct 2004 07:45:06 +0000 (07:45 +0000)]
verify primitives

[r4233]

19 years agocomment
Götz Lindenmaier [Fri, 29 Oct 2004 07:44:29 +0000 (07:44 +0000)]
comment

[r4232]

19 years agoImproved Sub rule
Michael Beck [Thu, 28 Oct 2004 13:29:07 +0000 (13:29 +0000)]
Improved Sub rule

[r4231]

19 years agoLets zeor/sign extend sc_val_to_long()
Michael Beck [Thu, 28 Oct 2004 12:19:40 +0000 (12:19 +0000)]
Lets zeor/sign extend sc_val_to_long()

[r4228]

19 years agoAdapted linux kernel list implementation for use in Firm.
Sebastian Hack [Wed, 27 Oct 2004 15:48:45 +0000 (15:48 +0000)]
Adapted linux kernel list implementation for use in Firm.

[r4225]

19 years agoia32 bitsets make now use of sse.
Sebastian Hack [Wed, 27 Oct 2004 15:48:21 +0000 (15:48 +0000)]
ia32 bitsets make now use of sse.
Bitsets were extended a little.

[r4224]

19 years agoClear the ir_op after creation, so all operations get initialized with NULL
Michael Beck [Wed, 27 Oct 2004 08:48:15 +0000 (08:48 +0000)]
Clear the ir_op after creation, so all operations get initialized with NULL

[r4219]

19 years agoAdded operation for reassociation
Michael Beck [Wed, 27 Oct 2004 08:47:45 +0000 (08:47 +0000)]
Added operation for reassociation

[r4218]

19 years agoFixed calculation of remainder
Michael Beck [Wed, 27 Oct 2004 08:39:23 +0000 (08:39 +0000)]
Fixed calculation of remainder
Removed soem useless alloca()
add some doxygen docu

[r4217]

19 years agoReassociation added
Michael Beck [Tue, 26 Oct 2004 14:39:38 +0000 (14:39 +0000)]
Reassociation added

[r4215]

19 years agoReassoiation optimization added
Michael Beck [Tue, 26 Oct 2004 14:38:59 +0000 (14:38 +0000)]
Reassoiation optimization added

[r4214]

19 years agohandling some "unknown_type"-stuff
Boris Boesler [Mon, 25 Oct 2004 13:53:06 +0000 (13:53 +0000)]
handling some "unknown_type"-stuff

[r4203]

19 years agoseperated read.h (public interface) and read_t.h (types)
Boris Boesler [Mon, 25 Oct 2004 13:52:24 +0000 (13:52 +0000)]
seperated read.h (public interface) and read_t.h (types)

[r4202]

19 years agominor changes like owner
Boris Boesler [Mon, 25 Oct 2004 13:51:32 +0000 (13:51 +0000)]
minor changes like owner

[r4201]

19 years agoCopy Only works
Florian Liekweg [Mon, 25 Oct 2004 11:59:45 +0000 (11:59 +0000)]
Copy Only works

[r4200]

19 years agobugfix
Götz Lindenmaier [Mon, 25 Oct 2004 07:55:44 +0000 (07:55 +0000)]
bugfix

[r4199]

19 years agomoved utils to pto_util
Florian Liekweg [Fri, 22 Oct 2004 15:10:51 +0000 (15:10 +0000)]
moved utils to pto_util

[r4197]

19 years agoexecute 'pre' for a change. Also, add CVS log
Florian Liekweg [Fri, 22 Oct 2004 14:41:12 +0000 (14:41 +0000)]
execute 'pre' for a change.  Also, add CVS log

[r4196]

19 years agoprohibit inlining of pseudo ir_graphs
Boris Boesler [Fri, 22 Oct 2004 13:51:35 +0000 (13:51 +0000)]
prohibit inlining of pseudo ir_graphs

[r4194]

19 years agotypo fixed
Michael Beck [Fri, 22 Oct 2004 13:50:47 +0000 (13:50 +0000)]
typo fixed

[r4193]

19 years agochanged constant names
Michael Beck [Fri, 22 Oct 2004 13:34:49 +0000 (13:34 +0000)]
changed constant names

[r4192]

19 years agochanged architecture dependant function names
Michael Beck [Fri, 22 Oct 2004 13:16:38 +0000 (13:16 +0000)]
changed architecture dependant function names

[r4191]

19 years agoUsed new arch_dep names
Michael Beck [Fri, 22 Oct 2004 13:14:57 +0000 (13:14 +0000)]
Used new arch_dep names

Added a pattern for (a >> c1) >> c2

[r4190]

19 years agoAdded Division by constant elimination algorithm from
Michael Beck [Fri, 22 Oct 2004 13:14:18 +0000 (13:14 +0000)]
Added Division by constant elimination algorithm from
"Hacker's Delight"

[r4189]

19 years ago*** empty log message ***
Boris Boesler [Fri, 22 Oct 2004 13:13:55 +0000 (13:13 +0000)]
*** empty log message ***

[r4188]

19 years agonew test: is_pseudo_ir_graph()
Boris Boesler [Fri, 22 Oct 2004 13:13:49 +0000 (13:13 +0000)]
new test: is_pseudo_ir_graph()

[r4186]

19 years agoreplaced char* by idents, minor fix in Firm codegen for call
Boris Boesler [Fri, 22 Oct 2004 13:13:27 +0000 (13:13 +0000)]
replaced char* by idents, minor fix in Firm codegen for call

[r4185]

19 years agominor change for pseudo graphs
Boris Boesler [Fri, 22 Oct 2004 13:12:41 +0000 (13:12 +0000)]
minor change for pseudo graphs

[r4184]

19 years agoCorrectly handle proj_args
Florian Liekweg [Fri, 22 Oct 2004 09:53:10 +0000 (09:53 +0000)]
Correctly handle proj_args

[r4180]

19 years agominor changes
Boris Boesler [Thu, 21 Oct 2004 15:32:21 +0000 (15:32 +0000)]
minor changes

[r4179]

19 years agoadded lots of stuff:
Boris Boesler [Thu, 21 Oct 2004 15:31:55 +0000 (15:31 +0000)]
added lots of stuff:
- build abstract syntax trees
- build Firm graphs for many effects, still todos

[r4178]

19 years agostrdup fix
Florian Liekweg [Thu, 21 Oct 2004 11:12:11 +0000 (11:12 +0000)]
strdup fix

[r4177]

19 years agowhitespace fix
Florian Liekweg [Thu, 21 Oct 2004 11:11:21 +0000 (11:11 +0000)]
whitespace fix

[r4176]

19 years agoMoved memwalk stuf into irmemwalk
Florian Liekweg [Thu, 21 Oct 2004 11:09:37 +0000 (11:09 +0000)]
Moved memwalk stuf into irmemwalk
Moved lset stuff into lset
Moved typalise stuff into typalise

[r4175]

19 years agocomments
Götz Lindenmaier [Thu, 21 Oct 2004 07:23:34 +0000 (07:23 +0000)]
comments

[r4172]

19 years agoAdded Goetz' proposal to replace loads of constant entities by their constants
Michael Beck [Thu, 21 Oct 2004 07:23:21 +0000 (07:23 +0000)]
Added Goetz' proposal to replace loads of constant entities by their constants
Improved Store optimization
Fixed an exception case

[r4171]

19 years agoadd ana2
Florian Liekweg [Wed, 20 Oct 2004 15:00:44 +0000 (15:00 +0000)]
add ana2

[r4168]

19 years agomove ecg from ana to ana2
Florian Liekweg [Wed, 20 Oct 2004 15:00:24 +0000 (15:00 +0000)]
move ecg from ana to ana2

[r4167]

19 years agoAdded ana2, added ecg and pto
Florian Liekweg [Wed, 20 Oct 2004 14:59:42 +0000 (14:59 +0000)]
Added ana2, added ecg and pto

[r4166]

19 years agoRemoved ecg
Florian Liekweg [Wed, 20 Oct 2004 14:59:27 +0000 (14:59 +0000)]
Removed ecg

[r4165]

19 years agodoxygen comments extended
Michael Beck [Wed, 20 Oct 2004 13:51:01 +0000 (13:51 +0000)]
doxygen comments extended
added various const where appropriated
make is_const_value() more "generic"

[r4164]

19 years agoLoad optimization extended: searches now Loads in the memory chain, not only the...
Michael Beck [Tue, 19 Oct 2004 14:01:55 +0000 (14:01 +0000)]
Load optimization extended: searches now Loads in the memory chain, not only the direct
predecessor.

[r4161]

19 years agoFixed get_irn_pinned() after wrong repair
Michael Beck [Tue, 19 Oct 2004 10:59:37 +0000 (10:59 +0000)]
Fixed get_irn_pinned() after wrong repair

[r4154]

19 years agoAdded overflow mode for interger operations (was already implemented, but had no IF)
Michael Beck [Tue, 19 Oct 2004 10:58:44 +0000 (10:58 +0000)]
Added overflow mode for interger operations (was already implemented, but had no IF)
added tarval_carry() to access the carry flag of the last tarval Operation (was already implemented
by no IF)

BEWARE: tarval implementation is buggy because it uses always 68bit arithmentic, even for Div/Shr ...

[r4153]

19 years agoAdded carry flag to ADD, make alignment calculation branchless
Michael Beck [Tue, 19 Oct 2004 10:55:03 +0000 (10:55 +0000)]
Added carry flag to ADD, make alignment calculation branchless

[r4152]

19 years agoSet the pinned state to float if we can detect that no exception can arise
Michael Beck [Tue, 19 Oct 2004 10:53:39 +0000 (10:53 +0000)]
Set the pinned state to float if we can detect that no exception can arise

[r4151]

19 years agoAdded the new state pin_state_exc_pinned t some Operations
Michael Beck [Tue, 19 Oct 2004 10:52:43 +0000 (10:52 +0000)]
Added the new state pin_state_exc_pinned t some Operations

[r4150]

19 years agoUsed now get_type_size_bits() and get_type_alignment_bits() instead of using values...
Michael Beck [Tue, 19 Oct 2004 10:50:14 +0000 (10:50 +0000)]
Used now get_type_size_bits() and get_type_alignment_bits() instead of using values from the type mode

[r4149]

19 years agoAdded a alignment to types.
Michael Beck [Tue, 19 Oct 2004 10:49:11 +0000 (10:49 +0000)]
Added a alignment to types.
Added a lot of const where appropriate

[r4148]

19 years agoremoved the align attribute
Michael Beck [Tue, 19 Oct 2004 10:47:34 +0000 (10:47 +0000)]
removed the align attribute
find_double_bits_int_mode() added

[r4147]

19 years agoset_opt_fragile_ops() function added
Michael Beck [Tue, 19 Oct 2004 10:46:16 +0000 (10:46 +0000)]
set_opt_fragile_ops() function added

[r4146]

19 years agoset_opt_fragile_ops() added
Michael Beck [Tue, 19 Oct 2004 10:45:23 +0000 (10:45 +0000)]
set_opt_fragile_ops() added

[r4145]

19 years agoremoved superfluous mentioning of mode Tuple in opcodes
FIRM Projekt Account [Tue, 19 Oct 2004 07:33:44 +0000 (07:33 +0000)]
removed superfluous mentioning of mode Tuple in opcodes

[r4144]

19 years agolibfirm.so removed from default target
Götz Lindenmaier [Tue, 19 Oct 2004 07:31:24 +0000 (07:31 +0000)]
libfirm.so removed from default target

[r4143]

19 years agoavoid warning
Florian Liekweg [Mon, 18 Oct 2004 12:48:38 +0000 (12:48 +0000)]
avoid warning

[r4142]

19 years agominor fix
Florian Liekweg [Mon, 18 Oct 2004 12:47:46 +0000 (12:47 +0000)]
minor fix

[r4141]

19 years agobrackets
Götz Lindenmaier [Mon, 18 Oct 2004 11:01:03 +0000 (11:01 +0000)]
brackets

[r4140]

19 years agoadded new pinned flag for fragile ops
Michael Beck [Mon, 18 Oct 2004 10:58:24 +0000 (10:58 +0000)]
added new pinned flag for fragile ops

[r4139]