summaryrefslogtreecommitdiffhomepage
path: root/ir/be/belive.c
Commit message (Collapse)AuthorAge
* Remove unnecessary #include "bearch.h".Christoph Mallon2015-07-19
|
* Remove unnecessary #include "debug.h".Christoph Mallon2015-07-19
|
* cleanup: Remove unnecessary #include "beutil.h".Christoph Mallon2015-05-24
|
* belive: Replace the union for head and nodes of the liveness sets by a ↵Christoph Mallon2015-01-09
| | | | struct with a flexible array member.
* belive: Assert that the liveness sets do not contain mode_T nodes.Christoph Mallon2015-01-09
|
* ana: Remove absgraph.Christoph Mallon2014-12-31
|
* belive: Assert that a live set is valid when making an iterator for it.Christoph Mallon2014-12-30
|
* assure that liveness_{update,remove,introduce} is only called with valid ↵Matthias Braun2014-10-18
| | | | live sets
* put irg link directly into node attributsMatthias Braun2014-09-17
| | | | | | | | | The previous approach put the irg link into the block attributes, so while saving memory an extra indirection was necessary. Some testing with valgrind massif+callgrind revealed that a direct link increses peak memory usage by ~1% while also increasing runtime by ~1%. More importantly the code gets a bit simpler and some strange corner cases can be removed with the direct link.
* merge belive_t.h and belive.hMatthias Braun2014-08-21
|
* cleanup, use C99Matthias Braun2014-08-21
|
* extract be_value_live_after() from be_values_interfere()Matthias Braun2014-07-18
| | | | | | Value live_after() is a special case of the checks performed in values_interfere(). This commit extracts this code and use the new function where possible.
* bespillslots: move memory value interference check to beliveMatthias Braun2014-07-18
|
* remove lv argument from be_values_interfereMatthias Braun2014-07-18
| | | | We query liveness from the irg on demand now.
* remove beintlive_t headerMatthias Braun2014-07-18
| | | | | Move the values interfere function to belive.h, move the inline implementation into belive.c
* all: Make formatting of else clauses more consistent.Christoph Mallon2014-04-08
|
* do not include config.h anymoreMatthias Braun2013-05-04
| | | | | | It has been empty for nearly all systems. People who used to put stuff in config.h can still create a config.h on their own and inject -include (gcc) or /FI (msvc) into their CPPFLAGS.
* remove xfree(), bitset_free() and use free() insteadMatthias Braun2013-01-29
|
* belive: Inline be_lv_remove() into its only caller.Christoph Mallon2012-12-17
|
* besched: Change sched_foreach_reverse_from(sched_prev(x), y) to ↵Christoph Mallon2012-12-15
| | | | sched_foreach_reverse_before(x, y).
* remove license stuff from filesMatthias Braun2012-12-12
| | | | | Just state the copyright and the project the files belong to. You can then find the COPYING file for the whole project.
* belive: Remove the visited bitset for liveness calculation.Christoph Mallon2012-12-03
| | | | Simply check, whether any liveness bits were set before.
* belive: Directly pass the flags to set to live_end_at_block() instead of ↵Christoph Mallon2012-12-03
| | | | passing a bool.
* belive: Avoid duplicate map lookups when calculating the liveness of a node ↵Christoph Mallon2012-12-03
| | | | in a block.
* array: Add and use NEW_ARR_FZ().Christoph Mallon2012-12-02
|
* bearch: Use be_foreach_use() in more places.Christoph Mallon2012-11-28
|
* bearch: Make the register requirements an output parameter of ↵Christoph Mallon2012-11-28
| | | | be_foreach_definition().
* introduce be_lv_foreach_cls and use itMatthias Braun2012-11-28
|
* move is_liveness_node to irlivechk header and share it with beliveMatthias Braun2012-11-28
|
* rework liveness dumperMatthias Braun2012-11-28
| | | | | - some code cleanup - avoids the case where 2 dumpers are registered
* bearch: Use arch_register_req_is().Christoph Mallon2012-11-27
|
* slightly optimize liveness codeMatthias Braun2012-11-26
| | | | | | | - save ir_node* instead of irn_idx in the map (saves irn_idx_map lookups) - in liveness_transfer check register class on the inputs (which is cheaper) and only then check the operand
* remove irprintf_t.h; only unused stuff in itMatthias Braun2012-11-26
|
* cleanup: Remove unnecessary #include "beirg.h".Christoph Mallon2012-11-25
|
* cleanup: Remove unnecessary #include from belive.h.Christoph Mallon2012-11-24
|
* belive: Change be_liveness_nodes_live_at() to be_liveness_nodes_live_before().Christoph Mallon2012-11-24
| | | | The operation we want to perform is to get the live values just before a node.
* Let be_foreach_definition() declare the value variable.Christoph Mallon2012-11-13
|
* make statev API publicMatthias Braun2012-10-24
|
* use be_foreach_definition in liveness_transferMatthias Braun2012-08-21
|
* simplify + optimize be_lv_foreachMatthias Braun2012-07-16
|
* Add a wrapper macro for ir_nodehashmap_get(), which has the return type as ↵Christoph Mallon2012-07-13
| | | | additional parameter.
* Let sched_foreach_from() and sched_foreach_reverse_from() declare their ↵Christoph Mallon2012-07-13
| | | | iterator variables.
* Let foreach_out_edge_kind() and foreach_out_edge_kind_safe() declare their ↵Christoph Mallon2012-07-13
| | | | iterator variables.
* remove write-only bitsetMatthias Braun2012-07-13
|
* belive: cleanup livness assure/invalidate APIMatthias Braun2011-12-22
| | | | This also plugs liveness related memory leaks
* irlivechk: remove need to pass in a DFS structureMatthias Braun2011-12-21
|
* belive: move dumper to bedump, checker to beverifyMatthias Braun2011-12-05
|
* remove irbitset.hMatthias Braun2011-11-14
|
* remove $Id$, it doesn't work with git anywayMatthias Braun2011-11-10
|
* belive: use sparse hashmap for block->data mappingMatthias Braun2011-10-20
|