Home
last modified time | relevance | path

Searched refs:basic_block (Results 1 – 25 of 27) sorted by relevance

12

/illumos-gate/usr/src/tools/smatch/src/
H A Dflowgraph.c25 struct basic_block *child; in label_postorder()
41 struct basic_block *bb; in reverse_bbs()
49 struct basic_block *bb; in debug_postorder()
88 static struct basic_block *intersect_dom(struct basic_block *doms[], in intersect_dom()
89 struct basic_block *b1, struct basic_block *b2) in intersect_dom()
120 struct basic_block **doms; in domtree_build()
121 struct basic_block *bb; in domtree_build()
138 struct basic_block *b; in domtree_build()
142 struct basic_block *p; in domtree_build()
183 struct basic_block *idom = bb->idom; in domtree_build()
[all …]
H A Dflow.c29 struct basic_block **ptr, in rewrite_branch()
30 struct basic_block *old, in rewrite_branch()
31 struct basic_block *new) in rewrite_branch()
72 static int bb_depends_on(struct basic_block *target, struct basic_block *src) in bb_depends_on()
91 static int bb_depends_on_phi(struct basic_block *target, struct basic_block *src) in bb_depends_on_phi()
259 struct basic_block *bb; in simplify_branch_nodes()
502 struct basic_block *bb; in kill_dead_stores()
582 struct basic_block *bb; in kill_unreachable_bbs()
597 static int rewrite_parent_branch(struct basic_block *bb, struct basic_block *old, struct basic_bloc… in rewrite_parent_branch()
715 struct basic_block *bb; in vrfy_flow()
[all …]
H A Dlinearize.h63 struct basic_block *target;
88 struct basic_block *bb;
98 struct basic_block *bb_true, *bb_false;
155 struct basic_block { struct
216 static inline int bb_terminated(struct basic_block *bb) in bb_terminated()
226 static inline int bb_reachable(struct basic_block *bb) in bb_reachable()
293 struct basic_block *old, struct basic_block *new, int count) in replace_bb_in_list()
303 struct basic_block *active;
309 extern void insert_branch(struct basic_block *bb, struct instruction *br, struct basic_block *targe…
325 void show_bb(struct basic_block *bb);
[all …]
H A Dliveness.c17 void (*defines)(struct basic_block *, pseudo_t)) in phi_defines() argument
32 void (*def)(struct basic_block *, pseudo_t), in asm_liveness() argument
33 void (*use)(struct basic_block *, pseudo_t)) in asm_liveness() argument
47 void (*def)(struct basic_block *, pseudo_t), in track_instruction_usage() argument
48 void (*use)(struct basic_block *, pseudo_t)) in track_instruction_usage() argument
175 struct basic_block *parent; in track_bb_liveness()
190 struct basic_block *bb; in clear_liveness()
204 struct basic_block *bb; in track_pseudo_liveness()
229 struct basic_block *child; in track_pseudo_liveness()
290 struct basic_block *child; in track_pseudo_death_bb()
[all …]
H A Ddominate.c41 static void bank_put(struct piggy *bank, struct basic_block *bb) in bank_put()
48 static inline struct basic_block *pop_bb(struct basic_block_list **list) in pop_bb()
53 static struct basic_block *bank_get(struct piggy *bank) in bank_get()
57 struct basic_block *bb = pop_bb(&bank->lists[level]); in bank_get()
72 static void visit(struct piggy *bank, struct basic_block_list **idf, struct basic_block *x, int cur… in visit()
74 struct basic_block *y; in visit()
103 struct basic_block *bb; in idf_compute()
131 struct basic_block *bb; in idf_dump()
139 struct basic_block *df; in idf_dump()
H A Dssa.c76 struct basic_block *bb = a->bb; in insn_before()
96 static void rewrite_local_var(struct basic_block *bb, pseudo_t addr, int nbr_stores, int nbr_uses) in rewrite_local_var()
173 struct basic_block *samebb = NULL; in ssa_convert_one_var()
175 struct basic_block *bb; in ssa_convert_one_var()
204 struct basic_block *bb = insn->bb; in ssa_convert_one_var()
257 static pseudo_t lookup_var(struct basic_block *bb, struct symbol *var) in lookup_var()
270 static void ssa_rename_insn(struct basic_block *bb, struct instruction *insn) in ssa_rename_insn()
309 struct basic_block *bb; in ssa_rename_insns()
338 struct basic_block *par; in ssa_rename_phi()
378 struct basic_block *bb; in ssa_convert()
H A Dstorage.h45 struct basic_block *bb;
54 extern struct storage_hash_list *gather_storage(struct basic_block *, enum inout_enum);
58 struct storage *lookup_storage(struct basic_block *, pseudo_t, enum inout_enum);
59 void add_storage(struct storage *, struct basic_block *, pseudo_t, enum inout_enum);
H A Dlinearize.c536 struct basic_block *from; in show_bb()
544 struct basic_block *to; in show_bb()
575 struct basic_block *bb; in show_entry()
667 static void remove_parent(struct basic_block *child, struct basic_block *parent) in remove_parent()
678 struct basic_block *child; in insert_branch()
1641 struct basic_block *merge; in linearize_short_conditional()
1695 struct basic_block *parent; in insert_phis()
2006 struct basic_block *bb; in linearize_fn_statement()
2029 struct basic_block *bb; in linearize_inlined_call()
2314 struct basic_block *bb; in linearize_statement()
[all …]
H A Dflowgraph.h7 struct basic_block;
11 bool domtree_dominates(struct basic_block *a, struct basic_block *b);
H A Dstorage.c24 static inline unsigned int storage_hash(struct basic_block *bb, pseudo_t pseudo, enum inout_enum in… in storage_hash()
45 struct storage_hash_list *gather_storage(struct basic_block *bb, enum inout_enum inout) in gather_storage()
88 struct storage *lookup_storage(struct basic_block *bb, pseudo_t pseudo, enum inout_enum inout) in lookup_storage()
100 void add_storage(struct storage *storage, struct basic_block *bb, pseudo_t pseudo, enum inout_enum … in add_storage()
215 static void set_up_bb_storage(struct basic_block *bb) in set_up_bb_storage()
217 struct basic_block *child; in set_up_bb_storage()
248 static void set_up_argument_storage(struct entrypoint *ep, struct basic_block *bb) in set_up_argument_storage()
269 static void combine_phi_storage(struct basic_block *bb) in combine_phi_storage()
295 struct basic_block *bb; in set_up_storage()
H A Dsparse.c43 static int context_increase(struct basic_block *bb, int entry) in context_increase()
70 static int imbalance(struct entrypoint *ep, struct basic_block *bb, int entry, int exit, const char… in imbalance()
79 static int check_bb_context(struct entrypoint *ep, struct basic_block *bb, int entry, int exit);
81 static int check_children(struct entrypoint *ep, struct basic_block *bb, int entry, int exit) in check_children()
84 struct basic_block *child; in check_children()
99 static int check_bb_context(struct entrypoint *ep, struct basic_block *bb, int entry, int exit) in check_bb_context()
235 static void check_bb_instructions(struct basic_block *bb) in check_bb_instructions()
247 struct basic_block *bb; in check_instructions()
H A Dmemops.c20 struct basic_block *bb, unsigned long generation, struct pseudo_list **dominators, in find_dominating_parents()
23 struct basic_block *parent; in find_dominating_parents()
85 static void simplify_loads(struct basic_block *bb) in simplify_loads()
149 static void kill_dominated_stores(struct basic_block *bb) in kill_dominated_stores()
192 struct basic_block *bb; in simplify_memops()
H A Dcse.c273 static struct basic_block *trivial_common_parent(struct basic_block *bb1, struct basic_block *bb2) in trivial_common_parent()
275 struct basic_block *parent; in trivial_common_parent()
292 static void add_instruction_to_end(struct instruction *insn, struct basic_block *bb) in add_instruction_to_end()
302 struct basic_block *b1, *b2, *common; in try_to_cse()
H A Dgraph.c46 struct basic_block *bb; in graph_ep()
66 struct basic_block *child; in graph_ep()
122 struct basic_block *bb; in graph_calls()
H A Dtest-unssa.c10 static void output_bb(struct basic_block *bb, unsigned long generation) in output_bb()
29 struct basic_block *bb; in output_fn()
H A Dir.c28 struct basic_block *par; in check_phi_node()
88 static int check_branch(struct entrypoint *ep, struct instruction *insn, struct basic_block *bb) in check_branch()
188 struct basic_block *bb; in ir_validate()
H A Dunssa.c117 static void rewrite_phi_bb(struct basic_block *bb) in rewrite_phi_bb()
135 struct basic_block *bb; in unssa()
H A Dlib.h72 struct basic_block;
81 DECLARE_PTR_LIST(basic_block_list, struct basic_block);
271 static inline struct basic_block *first_basic_block(struct basic_block_list *head) in first_basic_block()
H A Dsimplify.c56 static struct basic_block *phi_parent(struct basic_block *source, pseudo_t pseudo) in phi_parent()
100 struct basic_block *parents[3]; in if_convert_phi()
101 struct basic_block *bb, *bb1, *bb2, *source; in if_convert_phi()
412 struct basic_block *bb; in remove_dead_insns()
1626 struct basic_block *tmp = br->bb_true; in simplify_cond_branch()
1645 struct basic_block *bb = insn->bb; in simplify_branch()
1646 struct basic_block *target = insn->bb_false; in simplify_branch()
1679 struct basic_block *tmp = insn->bb_true; in simplify_branch()
H A Dflow.h26 extern void kill_bb(struct basic_block *);
H A Dexample.c112 static void output_bb(struct basic_block *bb, unsigned long generation);
1072 struct basic_block *target; in generate_branch()
1681 static void generate(struct basic_block *bb, struct bb_state *state) in generate()
1731 struct basic_block *bb; in generate_list()
1746 static void mark_used_registers(struct basic_block *bb, struct bb_state *state) in mark_used_registers()
1748 struct basic_block *parent; in mark_used_registers()
1764 static void output_bb(struct basic_block *bb, unsigned long generation) in output_bb()
1851 static void set_up_arch_exit(struct basic_block *bb, struct instruction *ret) in set_up_arch_exit()
1872 static void set_up_arch_switch(struct basic_block *bb, struct instruction *insn) in set_up_arch_switch()
1886 struct basic_block *bb; in arch_set_up_storage()
H A Doptimize.c32 struct basic_block *bb; in clean_up_insns()
H A Dallocate.h89 DECLARE_ALLOCATOR(basic_block);
H A Dallocate.c149 ALLOCATOR(basic_block, "basic_block");
H A Dsparse-llvm.c772 struct basic_block *def = NULL; in output_op_switch()
1118 static void output_bb(struct function *fn, struct basic_block *bb) in output_bb()
1138 struct basic_block *bb; in output_fn()

12