Home
last modified time | relevance | path

Searched refs:FOR_EACH_PTR (Results 1 – 25 of 46) sorted by relevance

12

/third_party/ltp/tools/sparse/sparse-src/
Dliveness.c20 FOR_EACH_PTR(phi_node->phi_list, phi) { in phi_defines()
37 FOR_EACH_PTR(insn->asm_rules->inputs, entry) { in asm_liveness()
41 FOR_EACH_PTR(insn->asm_rules->outputs, entry) { in asm_liveness()
120 FOR_EACH_PTR(insn->arguments, pseudo) { in track_instruction_usage()
175 FOR_EACH_PTR(bb->needs, needs) { in track_bb_liveness()
177 FOR_EACH_PTR(bb->parents, parent) { in track_bb_liveness()
193 FOR_EACH_PTR(ep->bbs, bb) { in clear_liveness()
208 FOR_EACH_PTR(ep->bbs, bb) { in track_pseudo_liveness()
210 FOR_EACH_PTR(bb->insns, insn) { in track_pseudo_liveness()
227 FOR_EACH_PTR(ep->bbs, bb) { in track_pseudo_liveness()
[all …]
Dflow.c36 FOR_EACH_PTR(old->insns, insn) { in remove_phisources()
46 FOR_EACH_PTR(insn->phi_list, phi) { in remove_phisources()
75 FOR_EACH_PTR(list, jmp) { in remove_other_phisources()
138 FOR_EACH_PTR(src->defines, pseudo) { in bb_depends_on()
156 FOR_EACH_PTR(src->insns, insn) { in bb_depends_on_phi()
174 FOR_EACH_PTR(bb->insns, insn) { in bb_is_forwarder()
200 FOR_EACH_PTR(node->phi_list, phi) { in phi_check()
237 FOR_EACH_PTR(first->phi_list, phi) { in try_to_simplify_bb()
274 FOR_EACH_PTR(bb->insns, insn) { in bb_has_side_effects()
369 FOR_EACH_PTR(ep->bbs, bb) { in simplify_branch_nodes()
[all …]
Dgraph.c65 FOR_EACH_PTR(ep->bbs, bb) { in graph_ep()
76 FOR_EACH_PTR(bb->insns, insn) { in graph_ep()
107 FOR_EACH_PTR(bb->children, child) { in graph_ep()
128 FOR_EACH_PTR(ep->bbs, bb) { in graph_calls()
134 FOR_EACH_PTR(bb->insns, insn) { in graph_calls()
179 FOR_EACH_PTR(filelist, file) { in main()
184 FOR_EACH_PTR(fsyms, sym) { in main()
189 FOR_EACH_PTR(fsyms, sym) { in main()
199 FOR_EACH_PTR(all_syms, sym) { in main()
Dssa.c40 FOR_EACH_PTR(type->symbol_list, member) { in is_promotable()
60 FOR_EACH_PTR(type->symbol_list, member) { in is_promotable()
104 FOR_EACH_PTR(bb->insns, insn) { in rewrite_local_var()
162 FOR_EACH_PTR(addr->users, pu) { in ssa_convert_one_var()
201 FOR_EACH_PTR(idf, bb) { in ssa_convert_one_var()
294 FOR_EACH_PTR(ep->bbs, bb) { in ssa_rename_insns()
296 FOR_EACH_PTR(bb->insns, insn) { in ssa_rename_insns()
329 FOR_EACH_PTR(insn->bb->parents, par) { in ssa_rename_phi()
346 FOR_EACH_PTR(phis_all, phi) { in ssa_rename_phis()
353 FOR_EACH_PTR(phis_used, phi) { in ssa_rename_phis()
[all …]
Dstorage.c53 FOR_EACH_PTR(storage_hash_table[i], hash) { in gather_storage()
61 FOR_EACH_PTR(list, entry) { in gather_storage()
79 FOR_EACH_PTR(storage_hash_table[i], hash) { in name_storage()
93 FOR_EACH_PTR(list, hash) { in lookup_storage()
137 FOR_EACH_PTR(*listp, entry) { in vrfy_storage()
203 FOR_EACH_PTR(src->users, usep) { in combine_storage()
219 FOR_EACH_PTR(bb->children, child) { in set_up_bb_storage()
221 FOR_EACH_PTR(child->needs, pseudo) { in set_up_bb_storage()
252 FOR_EACH_PTR(bb->needs, arg) { in set_up_argument_storage()
272 FOR_EACH_PTR(ep->bbs, bb) { in set_up_storage()
Dflowgraph.c52 FOR_EACH_PTR(ep->bbs, bb) { in debug_postorder()
110 FOR_EACH_PTR(ep->bbs, bb) { in debug_domtree()
141 FOR_EACH_PTR(ep->bbs, b) { in domtree_build()
149 FOR_EACH_PTR(b->parents, p) { in domtree_build()
169 FOR_EACH_PTR(ep->bbs, bb) { in domtree_build()
174 FOR_EACH_PTR(ep->bbs, bb) { in domtree_build()
186 FOR_EACH_PTR(ep->bbs, bb) { in domtree_build()
Ddominate.c77 FOR_EACH_PTR(x->children, y) { in visit()
92 FOR_EACH_PTR(x->doms, y) { in visit()
111 FOR_EACH_PTR(ep->bbs, bb) { in idf_compute()
117 FOR_EACH_PTR(alpha, bb) { in idf_compute()
136 FOR_EACH_PTR(ep->bbs, bb) { in idf_dump()
145 FOR_EACH_PTR(idf, df) { in idf_dump()
Dunssa.c44 FOR_EACH_PTR(phi->phi_list, src) { in simplify_phi_node()
55 FOR_EACH_PTR(target->users, pu) { in simplify_phi_node()
77 FOR_EACH_PTR(phi->phi_list, p) { in replace_phi_node()
124 FOR_EACH_PTR(bb->insns, insn) { in rewrite_phi_bb()
137 FOR_EACH_PTR(ep->bbs, bb) { in unssa()
Dmemops.c29 FOR_EACH_PTR(dominators, phi) { in rewrite_load_instruction()
42 FOR_EACH_PTR(dominators, phi) { in rewrite_load_instruction()
62 FOR_EACH_PTR(bb->parents, parent) { in find_dominating_parents()
106 FOR_EACH_PTR(pseudo->users, pu) { in address_taken()
189 FOR_EACH_PTR(dominators, phi) { in simplify_loads()
251 FOR_EACH_PTR(bb->parents, par) { in kill_dominated_stores()
255 FOR_EACH_PTR(par->insns, dom) { in kill_dominated_stores()
285 FOR_EACH_PTR(ep->accesses, pseudo) { in simplify_memops()
Dsparse.c48 FOR_EACH_PTR(bb->insns, insn) { in context_increase()
92 FOR_EACH_PTR(bb->children, child) { in check_children()
227 FOR_EACH_PTR(bb->insns, insn) { in check_bb_instructions()
237 FOR_EACH_PTR(ep->bbs, bb) { in check_instructions()
251 FOR_EACH_PTR(ep->entry->bb->needs, pseudo) { in check_context()
260 FOR_EACH_PTR(sym->ctype.contexts, context) { in check_context()
302 FOR_EACH_PTR(list, sym) { in check_symbols()
331 FOR_EACH_PTR(filelist, file) { in main()
Dtest-unssa.c17 FOR_EACH_PTR(bb->insns, insn) { in output_bb()
41 FOR_EACH_PTR(ep->bbs, bb) { in output_fn()
61 FOR_EACH_PTR(list, sym) { in compile()
83 FOR_EACH_PTR(filelist, file) { in main()
Dir.c17 FOR_EACH_PTR(insn->phi_list, p) { in nbr_phi_operands()
44 FOR_EACH_PTR(insn->phi_list, phi) { in check_phi_node()
101 FOR_EACH_PTR(insn->multijmp_list, jmp) { in check_switch()
195 FOR_EACH_PTR(ep->bbs, bb) { in ir_validate()
197 FOR_EACH_PTR(bb->insns, insn) { in ir_validate()
Dinline.c71 FOR_EACH_PTR(src, sym) { in copy_symbol_list()
213 FOR_EACH_PTR(list, arg) { in copy_expression()
225 FOR_EACH_PTR(list, entry) { in copy_expression()
296 FOR_EACH_PTR(in, old) { in copy_asm_operands()
326 FOR_EACH_PTR(list, sym) { in unset_replace_list()
342 FOR_EACH_PTR(stmt->declaration, sym) { in copy_one_statement()
479 FOR_EACH_PTR(src->stmts, stmt) { in copy_statement()
506 FOR_EACH_PTR(src, sym) { in create_symbol_list()
540 FOR_EACH_PTR(arg_list, arg) { in inline_function()
577 FOR_EACH_PTR(arg_list, p) { in uninline()
Doptimize.c27 FOR_EACH_PTR(ep->accesses, pseudo) { in clear_symbol_pseudos()
37 FOR_EACH_PTR(ep->bbs, bb) { in clean_up_insns()
39 FOR_EACH_PTR(bb->insns, insn) { in clean_up_insns()
Dctags.c91 FOR_EACH_PTR(list, sym) { in show_tags()
116 FOR_EACH_PTR(list, sym) { in examine_members()
208 FOR_EACH_PTR(list, sym) { in examine_symbol_list()
219 FOR_EACH_PTR(filelist, file) { in main()
Dlinearize.c285 FOR_EACH_PTR(list, entry) { in show_asm_constraints()
388 FOR_EACH_PTR(insn->multijmp_list, jmp) { in show_instruction()
401 FOR_EACH_PTR(insn->multijmp_list, jmp) { in show_instruction()
418 FOR_EACH_PTR(insn->phi_list, phi) { in show_instruction()
438 FOR_EACH_PTR(insn->arguments, arg) { in show_instruction()
516 FOR_EACH_PTR(bb->needs, needs) { in show_bb()
524 FOR_EACH_PTR(def->phi_list, phi) { in show_bb()
534 FOR_EACH_PTR(bb->defines, defines) { in show_bb()
540 FOR_EACH_PTR(bb->parents, from) { in show_bb()
548 FOR_EACH_PTR(bb->children, to) { in show_bb()
[all …]
Dtest-show-type.c11 FOR_EACH_PTR(list, sym) { in show_symbols()
23 FOR_EACH_PTR(filelist, file) { in main()
Dtest-linearize.c45 FOR_EACH_PTR(list, sym) { in clean_up_symbols()
63 FOR_EACH_PTR(filelist, file) { in main()
Dtest-inspect.c23 FOR_EACH_PTR(list, sym) { in expand_symbols()
37 FOR_EACH_PTR(filelist, file) { in main()
Dobfuscate.c60 FOR_EACH_PTR(list, sym) { in emit_symbol_list()
72 FOR_EACH_PTR(filelist, file) { in main()
Dtest-parsing.c46 FOR_EACH_PTR(list, sym) { in clean_up_symbols()
67 FOR_EACH_PTR(filelist, file) { in main()
Dcompile.c48 FOR_EACH_PTR(list, sym) { in clean_up_symbols()
62 FOR_EACH_PTR(filelist, file) { in main()
Dexample.c214 FOR_EACH_PTR(list, entry) { in find_storage_hash()
1122 FOR_EACH_PTR(insn->arguments, arg) { in generate_call()
1256 FOR_EACH_PTR(list, entry) { in generate_asm_inputs()
1298 FOR_EACH_PTR(list, entry) { in generate_asm_outputs()
1649 FOR_EACH_PTR(state->outputs, entry) { in generate_output_storage()
1678 FOR_EACH_PTR(state->outputs, entry) { in generate_output_storage()
1696 FOR_EACH_PTR(state->inputs, entry) { in generate()
1708 FOR_EACH_PTR(bb->insns, insn) { in generate()
1716 FOR_EACH_PTR(state->inputs, entry) { in generate()
1720 FOR_EACH_PTR(state->internal, entry) { in generate()
[all …]
Dsparse-llvm.c43 FOR_EACH_PTR(sym->arguments, arg) { in sym_func_type()
83 FOR_EACH_PTR(sym->symbol_list, member) { in sym_struct_type()
776 FOR_EACH_PTR(insn->multijmp_list, jmp) { in output_op_switch()
787 FOR_EACH_PTR(insn->multijmp_list, jmp) { in output_op_switch()
815 FOR_EACH_PTR(insn->arguments, arg) { in output_op_call()
1107 FOR_EACH_PTR(bb->insns, insn) { in output_bb()
1145 FOR_EACH_PTR(ep->bbs, bb) { in output_fn()
1157 FOR_EACH_PTR(ep->bbs, bb) { in output_fn()
1164 FOR_EACH_PTR(ep->bbs, bb) { // complete the OP_PHIs in output_fn()
1167 FOR_EACH_PTR(bb->insns, insn) { in output_fn()
[all …]
/third_party/ltp/tools/sparse/
Dsparse-ltp.c67 FOR_EACH_PTR(bb->insns, insn) { in do_basicblock_checks()
80 FOR_EACH_PTR(ep->bbs, bb) { in do_entrypoint_checks()
229 FOR_EACH_PTR(init->expr_list, entry) { in check_test_struct()
265 FOR_EACH_PTR(list, sym) { in process_symbols()
318 FOR_EACH_PTR(filelist, file) { in main()

12