22#ifndef _TREE_SSA_LIVE_H
23#define _TREE_SSA_LIVE_H 1
85#define NO_PARTITION -1
107 if (
map->outofssa_p ||
map->bitint)
119 return map->num_partitions;
130 if (
map->view_to_partition)
131 i =
map->view_to_partition[
i];
132 i = partition_find (
map->var_partition,
i);
145 part = partition_find (
map->var_partition, version);
146 if (
map->partition_to_view)
147 part =
map->partition_to_view[part];
164 if (
map->partition_to_view)
165 part =
map->partition_to_view[part];
201 return map->num_basevars;
261#define LIVEDUMP_ENTRY 0x01
262#define LIVEDUMP_EXIT 0x02
263#define LIVEDUMP_ALL (LIVEDUMP_ENTRY | LIVEDUMP_EXIT)
#define ENTRY_BLOCK_PTR_FOR_FN(FN)
Definition basic-block.h:194
#define EXIT_BLOCK
Definition basic-block.h:262
#define EXIT_BLOCK_PTR_FOR_FN(FN)
Definition basic-block.h:195
#define ENTRY_BLOCK
Definition basic-block.h:261
Definition tree-ssa-live.h:330
~virtual_operand_live()
Definition tree-ssa-live.h:333
tree get_live_in(basic_block bb)
Definition tree-ssa-live.cc:1682
tree get_live_out(basic_block bb)
Definition tree-ssa-live.cc:1722
void init()
Definition tree-ssa-live.cc:1673
tree * liveout
Definition tree-ssa-live.h:346
tree get_live_on_edge(edge e)
Definition tree-ssa-live.h:341
virtual_operand_live()
Definition tree-ssa-live.h:332
bool debug
Definition collect-utils.cc:34
class edge_def * edge
Definition coretypes.h:352
class bitmap_head * bitmap
Definition coretypes.h:51
union tree_node * tree
Definition coretypes.h:97
static struct string2counter_map map[debug_counter_number_of_counters]
Definition dbgcnt.cc:39
enum dump_flag dump_flags_t
Definition dumpfile.h:209
#define cfun
Definition function.h:478
#define bitmap_bit_p(bitstring, bitno)
Definition genautomata.cc:3429
#define bitmap_set_bit(bitstring, bitno)
Definition genautomata.cc:3419
i
Definition poly-int.h:776
Definition tree-ssa-live.h:46
bool outofssa_p
Definition tree-ssa-live.h:80
vec< basic_block > vec_bbs
Definition tree-ssa-live.h:71
bitmap bmp_bbs
Definition tree-ssa-live.h:68
unsigned int num_partitions
Definition tree-ssa-live.h:55
bitmap bitint
Definition tree-ssa-live.h:75
unsigned int partition_size
Definition tree-ssa-live.h:58
int num_basevars
Definition tree-ssa-live.h:61
partition var_partition
Definition tree-ssa-live.h:48
int * partition_to_base_index
Definition tree-ssa-live.h:64
int * partition_to_view
Definition tree-ssa-live.h:51
int * view_to_partition
Definition tree-ssa-live.h:52
Definition basic-block.h:117
int index
Definition basic-block.h:147
Definition function.h:249
Definition hash-traits.h:122
Definition tree-loop-distribution.cc:257
Definition tree-ssa-live.h:236
int * stack_top
Definition tree-ssa-live.h:253
int * work_stack
Definition tree-ssa-live.h:250
bitmap_head * liveout
Definition tree-ssa-live.h:244
bitmap_obstack livein_obstack
Definition tree-ssa-live.h:256
var_map map
Definition tree-ssa-live.h:238
bitmap_head * livein
Definition tree-ssa-live.h:241
int num_blocks
Definition tree-ssa-live.h:247
bitmap_obstack liveout_obstack
Definition tree-ssa-live.h:257
#define NULL
Definition system.h:50
#define gcc_checking_assert(EXPR)
Definition system.h:821
void partition_view_normal(var_map)
Definition tree-ssa-live.cc:277
void delete_var_map(var_map)
Definition tree-ssa-live.cc:128
void remove_unused_locals(void)
Definition tree-ssa-live.cc:780
void partition_view_bitmap(var_map, bitmap)
Definition tree-ssa-live.cc:293
int num_basevars(var_map map)
Definition tree-ssa-live.h:199
void debug_scope_block(tree, dump_flags_t)
Definition tree-ssa-live.cc:752
#define NO_PARTITION
Definition tree-ssa-live.h:85
void debug_scope_blocks(dump_flags_t)
Definition tree-ssa-live.cc:772
struct tree_live_info_d * tree_live_info_p
tree var_to_partition_to_var(var_map map, tree var)
Definition tree-ssa-live.h:174
hash_map< int_hash< unsigned int, -1U >, unsigned int > live_vars_map
Definition tree-ssa-live.h:270
void dump_var_map(FILE *, var_map)
Definition tree-ssa-live.cc:1434
bitmap live_vars_at_stmt(vec< bitmap_head > &, live_vars_map *, gimple *)
Definition tree-ssa-live.cc:1409
void delete_tree_live_info(tree_live_info_p)
Definition tree-ssa-live.cc:1047
void dump_live_info(FILE *, tree_live_info_p, int)
Definition tree-ssa-live.cc:1498
int basevar_index(var_map map, int partition)
Definition tree-ssa-live.h:188
bitmap live_on_exit(tree_live_info_p live, basic_block bb)
Definition tree-ssa-live.h:295
tree_live_info_p calculate_live_ranges(var_map, bool)
Definition tree-ssa-live.cc:1258
struct _var_map * var_map
int var_to_partition(var_map map, tree var)
Definition tree-ssa-live.h:159
var_map live_var_map(tree_live_info_p live)
Definition tree-ssa-live.h:308
bool region_contains_p(var_map map, basic_block bb)
Definition tree-ssa-live.h:104
void dump_scope_blocks(FILE *, dump_flags_t)
Definition tree-ssa-live.cc:762
bitmap live_on_entry(tree_live_info_p live, basic_block bb)
Definition tree-ssa-live.h:281
vec< bitmap_head > compute_live_vars(struct function *, live_vars_map *)
Definition tree-ssa-live.cc:1360
tree version_to_var(var_map map, int version)
Definition tree-ssa-live.h:142
void destroy_live_vars(vec< bitmap_head > &)
Definition tree-ssa-live.cc:1422
void make_live_on_entry(tree_live_info_p live, basic_block bb, int p)
Definition tree-ssa-live.h:317
int var_union(var_map, tree, tree)
Definition tree-ssa-live.cc:146
tree partition_to_var(var_map map, int i)
Definition tree-ssa-live.h:127
var_map init_var_map(int, class loop *=NULL, bitmap=NULL)
Definition tree-ssa-live.cc:84
unsigned num_var_partitions(var_map map)
Definition tree-ssa-live.h:117
#define ssa_name(i)
Definition tree-ssanames.h:53
#define SSA_NAME_VERSION(NODE)
Definition tree.h:2144
#define NULL_TREE
Definition tree.h:317