Lines Matching refs:scdf
40 struct _scdf_ctx *scdf, zend_op *opline, zend_ssa_op *ssa_op);
42 struct _scdf_ctx *scdf, zend_ssa_phi *phi);
44 struct _scdf_ctx *scdf, int block_num, zend_basic_block *block,
49 void scdf_init(zend_optimizer_ctx *ctx, scdf_ctx *scdf, zend_op_array *op_array, zend_ssa *ssa);
50 void scdf_solve(scdf_ctx *scdf, const char *name);
52 int scdf_remove_unreachable_blocks(scdf_ctx *scdf);
55 static inline void scdf_add_to_worklist(scdf_ctx *scdf, int var_num) { in scdf_add_to_worklist() argument
56 zend_ssa *ssa = scdf->ssa; in scdf_add_to_worklist()
61 zend_bitset_incl(scdf->instr_worklist, use); in scdf_add_to_worklist()
64 zend_bitset_incl(scdf->phi_var_worklist, phi->ssa_var); in scdf_add_to_worklist()
69 static inline void scdf_add_def_to_worklist(scdf_ctx *scdf, int var_num) { in scdf_add_def_to_worklist() argument
70 zend_ssa_var *var = &scdf->ssa->vars[var_num]; in scdf_add_def_to_worklist()
72 zend_bitset_incl(scdf->instr_worklist, var->definition); in scdf_add_def_to_worklist()
74 zend_bitset_incl(scdf->phi_var_worklist, var_num); in scdf_add_def_to_worklist()
92 static inline zend_bool scdf_is_edge_feasible(scdf_ctx *scdf, int from, int to) { in scdf_is_edge_feasible() argument
93 uint32_t edge = scdf_edge(&scdf->ssa->cfg, from, to); in scdf_is_edge_feasible()
94 return zend_bitset_in(scdf->feasible_edges, edge); in scdf_is_edge_feasible()
97 void scdf_mark_edge_feasible(scdf_ctx *scdf, int from, int to);