Michael Beck [Mon, 20 Mar 2006 00:41:41 +0000 (00:41 +0000)]
is_ir_extbb() added
extended basic block now contains no internal jump (as expected) and is equivalent to TriMedia tree
extblk walker fixed
[r7479]
Michael Beck [Mon, 20 Mar 2006 00:40:00 +0000 (00:40 +0000)]
is_ir_extbb() added
[r7478]
Michael Beck [Mon, 20 Mar 2006 00:38:32 +0000 (00:38 +0000)]
cosmetic fixes
[r7477]
Michael Beck [Mon, 20 Mar 2006 00:37:14 +0000 (00:37 +0000)]
the extended blocks now uses the block visited flag, so increase this for marking
[r7476]
Michael Beck [Sun, 19 Mar 2006 11:57:50 +0000 (11:57 +0000)]
remove dependency of irnode.h
[r7475]
Michael Beck [Sun, 19 Mar 2006 11:56:56 +0000 (11:56 +0000)]
Add optmitizations for the following cases:
And(x, C) == C ==> And(x, C) != 0
And(x, C) != C ==> And(X, C) == 0
This helps the ia32 backend to create test instructions and might be useful for other backends
as well
[r7474]
Michael Beck [Sat, 18 Mar 2006 21:27:01 +0000 (21:27 +0000)]
Fixed extbb construction (why it was damaged ?)
Add walker for extbb's
[r7473]
Michael Beck [Sat, 18 Mar 2006 12:13:52 +0000 (12:13 +0000)]
added computed_value for Carry and Borrow
added equivalent_node_Syn()
[r7472]
Michael Beck [Sat, 18 Mar 2006 12:12:12 +0000 (12:12 +0000)]
added Carry and Borrow opcodes
[r7471]
Michael Beck [Sat, 18 Mar 2006 12:10:48 +0000 (12:10 +0000)]
added constructors for Carry and Borrow nodes, use macros to shorten the implementation
[r7470]
Michael Beck [Sat, 18 Mar 2006 12:06:15 +0000 (12:06 +0000)]
DBG_OPT_SYNC added
[r7469]
Michael Beck [Sat, 18 Mar 2006 12:05:11 +0000 (12:05 +0000)]
HOOK_OPT_SYNC added
[r7468]
Michael Beck [Sat, 18 Mar 2006 12:03:03 +0000 (12:03 +0000)]
tarval_init_1() expects now the null_value. Bad things might happen if this is not 0l yet, so we did not allow
it to be changed for the moment ...
[r7467]
Michael Beck [Sat, 18 Mar 2006 12:01:59 +0000 (12:01 +0000)]
tarval_P_void is removed now, map old functions and values
[r7466]
Michael Beck [Sat, 18 Mar 2006 12:01:12 +0000 (12:01 +0000)]
removed tarval_P_void, every reference mode now has it's own NULL tarval
which is created from the null_value given at initialization.
This also solves the problem the new_tarval_from_str() and new_tarval_from_long() returned different
tarvals for the same values.
Reference modes are handled like integer modes, however, convert is only supported for NULL pointer (which might be wrong if null_value != 0)
[r7465]
Michael Beck [Fri, 17 Mar 2006 13:36:19 +0000 (13:36 +0000)]
handle a call of an absolute address
[r7464]
Sebastian Hack [Fri, 17 Mar 2006 10:44:49 +0000 (10:44 +0000)]
Fixed a subtle bug
[r7462]
Michael Beck [Wed, 15 Mar 2006 18:29:51 +0000 (18:29 +0000)]
added some macros for easier decoding of ptr_access
[r7461]
Michael Beck [Wed, 15 Mar 2006 17:34:08 +0000 (17:34 +0000)]
Improved doxygen docu
fixed memory leak
removed useless transport of Call links
[r7459]
Michael Beck [Wed, 15 Mar 2006 17:32:25 +0000 (17:32 +0000)]
Improved doxygen documentation.
Added a default value.
[r7458]
FIRM Projekt Account [Wed, 15 Mar 2006 16:44:51 +0000 (16:44 +0000)]
ir/lower include dir added
[r7456]
Rubino Geiß [Wed, 15 Mar 2006 13:49:40 +0000 (13:49 +0000)]
fixed const mismatch
[r7454]
Michael Beck [Wed, 15 Mar 2006 13:31:39 +0000 (13:31 +0000)]
added missing const
[r7452]
Michael Beck [Wed, 15 Mar 2006 12:55:47 +0000 (12:55 +0000)]
opt_frame.h added
[r7449]
Michael Beck [Wed, 15 Mar 2006 12:53:46 +0000 (12:53 +0000)]
opt_frame.[ch] added
[r7448]
Sebastian Hack [Wed, 15 Mar 2006 12:50:17 +0000 (12:50 +0000)]
Moved survive dce stuff here.
[r7447]
Sebastian Hack [Wed, 15 Mar 2006 12:49:57 +0000 (12:49 +0000)]
Moved the survive dce stuff to irgopt.[ch]
[r7446]
Michael Beck [Wed, 15 Mar 2006 12:23:39 +0000 (12:23 +0000)]
removed dependency of irnode.h
[r7445]
Sebastian Hack [Tue, 14 Mar 2006 17:51:53 +0000 (17:51 +0000)]
Back to the old version. Perhaps bitset_next() works now
[r7443]
Michael Beck [Tue, 14 Mar 2006 17:23:09 +0000 (17:23 +0000)]
added missing include, removed warning
[r7442]
Sebastian Hack [Tue, 14 Mar 2006 17:21:26 +0000 (17:21 +0000)]
Fixed some typos
[r7441]
Daniel Grund [Tue, 14 Mar 2006 17:18:51 +0000 (17:18 +0000)]
*** empty log message ***
[r7440]
Sebastian Hack [Tue, 14 Mar 2006 17:15:52 +0000 (17:15 +0000)]
Backported from libcore
[r7439]
Michael Beck [Tue, 14 Mar 2006 15:24:37 +0000 (15:24 +0000)]
more that one entry can map the same op (needed for different modes)
run local_optimize() to remove tuple
[r7438]
Michael Beck [Tue, 14 Mar 2006 14:34:05 +0000 (14:34 +0000)]
BugFix
[r7437]
Michael Beck [Fri, 10 Mar 2006 23:50:39 +0000 (23:50 +0000)]
instruction mapper implemented
[r7434]
Sebastian Hack [Fri, 10 Mar 2006 17:10:23 +0000 (17:10 +0000)]
Added survive dce
[r7433]
Sebastian Hack [Fri, 10 Mar 2006 15:54:58 +0000 (15:54 +0000)]
Added small helper function
[r7432]
Michael Beck [Fri, 10 Mar 2006 12:06:17 +0000 (12:06 +0000)]
missing break added
[r7431]
Christian Würdig [Thu, 9 Mar 2006 09:57:13 +0000 (09:57 +0000)]
added function to reset the generic function pointer for all opcodes
[r7429]
Beyhan [Tue, 7 Mar 2006 18:01:36 +0000 (18:01 +0000)]
Implementation completed. The documentation must be completed and the code must be structured.
[r7428]
Michael Beck [Tue, 7 Mar 2006 16:27:31 +0000 (16:27 +0000)]
all available opcodes are now stored in an irp list
[r7427]
Sebastian Hack [Tue, 7 Mar 2006 15:21:06 +0000 (15:21 +0000)]
Added subst hook in dead node elimination
[r7426]
Michael Beck [Tue, 7 Mar 2006 15:17:16 +0000 (15:17 +0000)]
WITH_ILP switch added
[r7425]
Christian Würdig [Tue, 7 Mar 2006 15:02:13 +0000 (15:02 +0000)]
added new optimization cases
[r7424]
Christian Würdig [Tue, 7 Mar 2006 14:57:09 +0000 (14:57 +0000)]
added WITH_ILP switch
[r7423]
Michael Beck [Tue, 7 Mar 2006 14:27:54 +0000 (14:27 +0000)]
Hidden parameters can be returned instead of the compound
Add flags for handling compound arguments (NYI)
[r7421]
Michael Beck [Tue, 7 Mar 2006 10:09:41 +0000 (10:09 +0000)]
recurse into ir/lower
[r7420]
Michael Beck [Mon, 6 Mar 2006 17:29:03 +0000 (17:29 +0000)]
missing include directory added
[r7419]
Michael Beck [Mon, 6 Mar 2006 16:37:01 +0000 (16:37 +0000)]
ir\lower\lower_calls.h added
[r7418]
Sebastian Hack [Mon, 6 Mar 2006 15:16:38 +0000 (15:16 +0000)]
Added dead code elimination survival facility
[r7417]
Sebastian Hack [Mon, 6 Mar 2006 15:16:13 +0000 (15:16 +0000)]
Added hook fir node substitution during dead node elimination
[r7416]
Michael Beck [Sun, 5 Mar 2006 01:19:41 +0000 (01:19 +0000)]
used xmalloc instead of malloc
[r7415]
Michael Beck [Sun, 5 Mar 2006 01:18:58 +0000 (01:18 +0000)]
use xmalloc instead of malloc, safe one allocation
[r7414]
Michael Beck [Sun, 5 Mar 2006 01:17:21 +0000 (01:17 +0000)]
clean up a bit
[r7413]
Michael Beck [Sun, 5 Mar 2006 01:08:48 +0000 (01:08 +0000)]
clean up code
[r7412]
Michael Beck [Sun, 5 Mar 2006 01:06:42 +0000 (01:06 +0000)]
CopyB projs are now independent of Call projs
[r7411]
Michael Beck [Sun, 5 Mar 2006 01:05:27 +0000 (01:05 +0000)]
new edge type detection: can handle unknown nodes gracefully and simplefies code
[r7410]
Michael Beck [Sun, 5 Mar 2006 01:03:52 +0000 (01:03 +0000)]
Fully implemented call lowering for methods with compound return values
[r7409]
Michael Beck [Fri, 3 Mar 2006 17:14:55 +0000 (17:14 +0000)]
used new is_*() functions
[r7405]
Michael Beck [Fri, 3 Mar 2006 17:14:30 +0000 (17:14 +0000)]
renamed variable new to nn
used new is_*() functions
[r7404]
Michael Beck [Fri, 3 Mar 2006 16:59:01 +0000 (16:59 +0000)]
used new is_Sel()
[r7401]
Michael Beck [Fri, 3 Mar 2006 16:58:34 +0000 (16:58 +0000)]
used new is_return
[r7400]
Michael Beck [Fri, 3 Mar 2006 16:57:30 +0000 (16:57 +0000)]
newest implementation
[r7399]
Michael Beck [Fri, 3 Mar 2006 16:56:57 +0000 (16:56 +0000)]
used new is_Call()
[r7398]
Michael Beck [Fri, 3 Mar 2006 16:56:39 +0000 (16:56 +0000)]
lower_calls added
[r7397]
Michael Beck [Fri, 3 Mar 2006 16:56:22 +0000 (16:56 +0000)]
used new is_Return()
[r7396]
Michael Beck [Fri, 3 Mar 2006 16:55:16 +0000 (16:55 +0000)]
used new is_call()
[r7395]
Michael Beck [Fri, 3 Mar 2006 16:54:28 +0000 (16:54 +0000)]
included lowerering files
[r7394]
Michael Beck [Fri, 3 Mar 2006 16:54:07 +0000 (16:54 +0000)]
some doxygen comments added
[r7393]
Michael Beck [Fri, 3 Mar 2006 16:52:39 +0000 (16:52 +0000)]
used new is_Call() and is_Sel()
[r7392]
Michael Beck [Fri, 3 Mar 2006 16:51:59 +0000 (16:51 +0000)]
used new is_Sel(), is_Call()
[r7391]
Michael Beck [Fri, 3 Mar 2006 16:51:28 +0000 (16:51 +0000)]
new is_call() used
[r7390]
Michael Beck [Fri, 3 Mar 2006 16:50:07 +0000 (16:50 +0000)]
is_Return, is_Call and is_Sel implemented
[r7389]
Michael Beck [Fri, 3 Mar 2006 16:48:48 +0000 (16:48 +0000)]
First implementation of lowering for calls with compound return values
[r7388]
Michael Beck [Fri, 3 Mar 2006 12:55:21 +0000 (12:55 +0000)]
replaced old panic module by newer error module
[r7387]
Michael Beck [Fri, 3 Mar 2006 12:53:59 +0000 (12:53 +0000)]
replaced old panic module by newer error module
add necessary include
[r7386]
Michael Beck [Fri, 3 Mar 2006 12:53:22 +0000 (12:53 +0000)]
replaced old panic module by newer error handling module
[r7385]
Michael Beck [Fri, 3 Mar 2006 12:10:07 +0000 (12:10 +0000)]
BugFix: = was erronously used instead of ==
[r7384]
Sebastian Hack [Sat, 25 Feb 2006 16:58:43 +0000 (16:58 +0000)]
bitset dumping
[r7381]
Sebastian Hack [Sat, 25 Feb 2006 16:57:47 +0000 (16:57 +0000)]
Added dumper for bipartite graphs
[r7380]
Michael Beck [Fri, 24 Feb 2006 17:17:49 +0000 (17:17 +0000)]
BugFix: in newer Firm, keep-alives may be other than Block & Phi
restructured for easier debugging
[r7379]
Michael Beck [Wed, 22 Feb 2006 15:58:24 +0000 (15:58 +0000)]
added firm version number
[r7373]
Beyhan [Wed, 22 Feb 2006 15:31:47 +0000 (15:31 +0000)]
A new alternative of scalar_replacement. The implementation isn't completed."
nnnnn----------------------------------------------------------------------
[r7372]
Michael Beck [Wed, 22 Feb 2006 14:41:49 +0000 (14:41 +0000)]
Added a work around for reassociations that are "translated" back
by normal optimizations
[r7370]
Daniel Grund [Wed, 22 Feb 2006 14:17:57 +0000 (14:17 +0000)]
*** empty log message ***
[r7369]
Michael Beck [Tue, 21 Feb 2006 14:02:11 +0000 (14:02 +0000)]
fixed the type of the entity number
[r7368]
Michael Beck [Tue, 21 Feb 2006 14:01:26 +0000 (14:01 +0000)]
fixed the type of the type number
made the get_*_nr() function 64bit safe
some typos fixed
[r7367]
Michael Beck [Tue, 21 Feb 2006 13:59:59 +0000 (13:59 +0000)]
made get_entity_nr() 64bit safe
get_entity_nr() now returns the casted address, like all other *_nr() functions
[r7366]
Michael Beck [Tue, 21 Feb 2006 13:58:17 +0000 (13:58 +0000)]
made get_irp_new_node_nr() inline
[r7365]
Michael Beck [Tue, 21 Feb 2006 13:56:34 +0000 (13:56 +0000)]
fixed the type of node_nr
[r7364]
Michael Beck [Tue, 21 Feb 2006 13:55:48 +0000 (13:55 +0000)]
make get_irn_node_nr() 64bit safe
[r7363]
Michael Beck [Tue, 21 Feb 2006 13:55:04 +0000 (13:55 +0000)]
fix the type of the graph number
[r7362]
Michael Beck [Tue, 21 Feb 2006 13:54:26 +0000 (13:54 +0000)]
make get_irg_graph_nr() 64-bit save
[r7361]
Michael Beck [Tue, 21 Feb 2006 13:53:01 +0000 (13:53 +0000)]
fixed the type of the loop number
[r7360]
Christian Würdig [Tue, 21 Feb 2006 13:50:30 +0000 (13:50 +0000)]
added missing include
[r7359]
Michael Beck [Mon, 20 Feb 2006 10:19:15 +0000 (10:19 +0000)]
added missing initialization
[r7348]
Michael Beck [Tue, 14 Feb 2006 16:08:54 +0000 (16:08 +0000)]
typo fixed
[r7343]
Michael Beck [Tue, 14 Feb 2006 13:08:20 +0000 (13:08 +0000)]
add type flags replacing old frame_type and type state fields
added lowered type support
[r7342]
Michael Beck [Tue, 14 Feb 2006 10:17:17 +0000 (10:17 +0000)]
fixed memory handling
added clean functionality
handle more cases, but still not perfectly working
last version before new value table implementation
[r7341]