/external/mesa3d/src/glsl/ |
D | loop_unroll.cpp | 47 is_break(ir_instruction *ir) in is_break() 123 ir_instruction *last_ir = (ir_instruction *) ir->body_instructions.get_tail(); in visit_leave() 137 ir_instruction *break_ir = NULL; in visit_leave() 142 ir_instruction *cur_ir = (ir_instruction *) node; in visit_leave() 154 ir_instruction *ir_if_last = in visit_leave() 155 (ir_instruction *) ir_if->then_instructions.get_tail(); in visit_leave() 163 (ir_instruction *) ir_if->else_instructions.get_tail(); in visit_leave() 179 ir_instruction *move_ir = (ir_instruction *) ir_if->get_next(); in visit_leave() 193 ir_instruction *ir_to_replace = ir; in visit_leave() 201 ir_if = ((ir_instruction *) copy_list.get_tail())->as_if(); in visit_leave()
|
D | lower_jumps.cpp | 292 ((ir_instruction *)ir->get_next())->remove(); in truncate_after_instruction() 297 void move_outer_block_inside(ir_instruction *ir, exec_list *inner_block) in move_outer_block_inside() 300 ir_instruction *move_ir = (ir_instruction *)ir->get_next(); in move_outer_block_inside() 335 void lower_return_unconditionally(ir_instruction *ir) in lower_return_unconditionally() 347 ir_instruction *create_lowered_break() in create_lowered_break() 363 void lower_break_unconditionally(ir_instruction *ir) in lower_break_unconditionally() 377 ir_instruction *ir = (ir_instruction *) block->get_tail(); in lower_final_breaks() 382 (ir_instruction *) ir_if->then_instructions.get_tail()); in lower_final_breaks() 384 (ir_instruction *) ir_if->else_instructions.get_tail()); in lower_final_breaks() 444 enum jump_strength get_jump_strength(ir_instruction* ir) in get_jump_strength() [all …]
|
D | opt_tree_grafting.cpp | 81 ir_visitor_status check_graft(ir_instruction *ir, ir_variable *var); 96 dereferences_variable_callback(ir_instruction *ir, void *data) in dereferences_variable_callback() 106 dereferences_variable(ir_instruction *ir, ir_variable *var) in dereferences_variable() 163 ir_tree_grafting_visitor::check_graft(ir_instruction *ir, ir_variable *var) in check_graft() 305 ir_instruction *bb_last) in try_tree_grafting() 315 for (ir_instruction *ir = (ir_instruction *)start->next; in try_tree_grafting() 317 ir = (ir_instruction *)ir->next) { in try_tree_grafting() 334 tree_grafting_basic_block(ir_instruction *bb_first, in tree_grafting_basic_block() 335 ir_instruction *bb_last, in tree_grafting_basic_block() 339 ir_instruction *ir, *next; in tree_grafting_basic_block() [all …]
|
D | ir_basic_block.cpp | 53 void (*callback)(ir_instruction *first, in call_for_basic_blocks() 54 ir_instruction *last, in call_for_basic_blocks() 58 ir_instruction *leader = NULL; in call_for_basic_blocks() 59 ir_instruction *last = NULL; in call_for_basic_blocks() 62 ir_instruction *ir = (ir_instruction *)iter.get(); in call_for_basic_blocks()
|
D | opt_redundant_jumps.cpp | 65 ir_instruction *const last_then = in visit_leave() 66 (ir_instruction *) ir->then_instructions.get_tail(); in visit_leave() 67 ir_instruction *const last_else = in visit_leave() 68 (ir_instruction *) ir->else_instructions.get_tail(); in visit_leave() 104 ir_instruction *const last = in visit_leave() 105 (ir_instruction *) ir->body_instructions.get_tail(); in visit_leave()
|
D | ir_print_visitor.cpp | 32 ir_instruction::print(void) const in print() 34 ir_instruction *deconsted = const_cast<ir_instruction *>(this); in print() 63 ir_instruction *ir = (ir_instruction *)iter.get(); in _mesa_print_ir() 192 ir_instruction *const inst = (ir_instruction *) iter.get(); in visit() 416 ir_instruction *const inst = (ir_instruction *) iter.get(); in visit() 463 ir_instruction *const inst = (ir_instruction *) iter.get(); in visit() 480 ir_instruction *const inst = (ir_instruction *) iter.get(); in visit() 514 ir_instruction *const inst = (ir_instruction *) iter.get(); in visit()
|
D | ir_expression_flattening.cpp | 42 ir_expression_flattening_visitor(bool (*predicate)(ir_instruction *ir)) in ir_expression_flattening_visitor() 53 bool (*predicate)(ir_instruction *ir); 58 bool (*predicate)(ir_instruction *ir)) in do_expression_flattening() 63 ir_instruction *ir = (ir_instruction *)iter.get(); in do_expression_flattening()
|
D | ir_clone.cpp | 133 ir_instruction *ir = (ir_instruction *)iter.get(); in clone() 138 ir_instruction *ir = (ir_instruction *)iter.get(); in clone() 159 ir_instruction *ir = (ir_instruction *)iter.get(); in clone() 177 ir_instruction *ir = (ir_instruction *)iter.get(); in clone() 311 const ir_instruction *const inst = (const ir_instruction *) node; in clone() 313 ir_instruction *const inst_copy = inst->clone(mem_ctx, ht); in clone() 432 const ir_instruction *const original = (ir_instruction *) node; in clone_ir_list() 433 ir_instruction *copy = original->clone(mem_ctx, ht); in clone_ir_list()
|
D | lower_if_to_cond_assign.cpp | 93 check_control_flow(ir_instruction *ir, void *data) in check_control_flow() 116 ir_instruction *ir = (ir_instruction *) node; in move_block_to_cond_assign() 178 ir_instruction *then_ir = (ir_instruction *)then_iter.get(); in visit_leave() 182 ir_instruction *else_ir = (ir_instruction *)else_iter.get(); in visit_leave()
|
D | opt_function_inlining.cpp | 78 replace_return_with_assignment(ir_instruction *ir, void *data) in replace_return_with_assignment() 99 ir_call::generate_inline(ir_instruction *next_ir) in generate_inline() 165 ir_instruction *ir = (ir_instruction *)iter.get(); in generate_inline() 166 ir_instruction *new_ir = ir->clone(ctx, ht); in generate_inline() 178 ir_instruction *const param = (ir_instruction *) param_iter.get(); in generate_inline() 201 ir_instruction *const param = (ir_instruction *) param_iter.get(); in generate_inline()
|
D | link_functions.cpp | 147 const ir_instruction *const original = (ir_instruction *) node; in visit_enter() 148 assert(const_cast<ir_instruction *>(original)->as_variable()); in visit_enter() 150 ir_instruction *copy = original->clone(linked, ht); in visit_enter() 157 const ir_instruction *const original = (ir_instruction *) node; in visit_enter() 159 ir_instruction *copy = original->clone(linked, ht); in visit_enter()
|
D | opt_if_simplification.cpp | 93 ir_instruction *then_ir = (ir_instruction *)then_iter.get(); in visit_leave() 98 ir_instruction *else_ir = (ir_instruction *)else_iter.get(); in visit_leave()
|
D | ir.h | 88 class ir_instruction : public exec_node { 98 virtual ~ir_instruction() in ~ir_instruction() 107 virtual ir_instruction *clone(void *mem_ctx, 136 ir_instruction() in ir_instruction() function 146 class ir_rvalue : public ir_instruction { 306 class ir_variable : public ir_instruction { 523 class ir_function_signature : public ir_instruction { 640 class ir_function : public ir_instruction { 715 class ir_if : public ir_instruction { 748 class ir_loop : public ir_instruction { [all …]
|
D | ir_hierarchical_visitor.h | 153 class ir_instruction *base_ir; 163 void (*callback)(class ir_instruction *ir, void *data); 178 void visit_tree(ir_instruction *ir, 179 void (*callback)(class ir_instruction *ir, void *data),
|
D | opt_dead_code_local.cpp | 134 static void run(ir_instruction *ir, ir_hierarchical_visitor *v) in run() 277 dead_code_local_basic_block(ir_instruction *first, in dead_code_local_basic_block() 278 ir_instruction *last, in dead_code_local_basic_block() 281 ir_instruction *ir, *ir_next; in dead_code_local_basic_block() 289 for (ir = first, ir_next = (ir_instruction *)first->next;; in dead_code_local_basic_block() 290 ir = ir_next, ir_next = (ir_instruction *)ir->next) { in dead_code_local_basic_block()
|
D | ir_basic_block.h | 25 void (*callback)(ir_instruction *first, 26 ir_instruction *last,
|
D | ir_function_can_inline.cpp | 71 ir_instruction *last = (ir_instruction *)callee->body.get_tail(); in can_inline()
|
D | ast_function.cpp | 664 ir_instruction *assignment = new(ctx) ir_assignment(lhs, rhs, NULL); in process_array_constructor() 682 ir_constant *constant = ((ir_instruction *) node)->as_constant(); in constant_record_constructor() 746 ir_instruction *inst = new(ctx) ir_assignment(lhs, rhs, NULL, mask); in emit_inline_vector_constructor() 808 ir_instruction *inst = in emit_inline_vector_constructor() 838 ir_instruction *inst = in emit_inline_vector_constructor() 865 ir_instruction * 946 ir_instruction *inst = in emit_inline_matrix_constructor() 1038 ir_instruction *inst = new(ctx) ir_assignment(lhs, rhs, NULL); in emit_inline_matrix_constructor() 1055 ir_instruction *const inst = in emit_inline_matrix_constructor() 1091 ir_instruction *inst = in emit_inline_matrix_constructor() [all …]
|
D | linker.cpp | 207 ir_variable *const var = ((ir_instruction *) node)->as_variable(); in link_invalidate_variable_locations() 402 ir_variable *const var = ((ir_instruction *) node)->as_variable(); in cross_validate_globals() 642 ir_variable *const var = ((ir_instruction *) node)->as_variable(); in cross_validate_outputs_to_inputs() 659 ir_variable *const input = ((ir_instruction *) node)->as_variable(); in cross_validate_outputs_to_inputs() 757 ir_instruction *const inst = (ir_instruction *) node; in populate_symbol_table() 790 remap_variables(ir_instruction *inst, struct gl_shader *target, in remap_variables() 874 ir_instruction *inst = (ir_instruction *) node; in move_non_declarations() 1002 ir_function *const f = ((ir_instruction *) node)->as_function(); in link_intrastage_shaders() 1163 ir_variable *const var = ((ir_instruction *) node)->as_variable(); in update_array_sizes() 1184 ir_variable *other_var = ((ir_instruction *) node2)->as_variable(); in update_array_sizes() [all …]
|
D | opt_dead_code.cpp | 135 ir_instruction *ir = (ir_instruction *)iter.get(); in do_dead_code_unlinked()
|
D | opt_dead_functions.cpp | 141 ir_instruction *ir = (ir_instruction *)iter.get(); in do_dead_functions()
|
D | loop_analysis.cpp | 244 if (((ir_instruction *) node)->as_variable()) in visit_leave() 247 ir_if *if_stmt = ((ir_instruction *) node)->as_if(); in visit_leave() 506 ir_instruction *const inst = in is_loop_terminator() 507 (ir_instruction *) ir->then_instructions.get_head(); in is_loop_terminator()
|
/external/mesa3d/src/mesa/main/ |
D | shader_query.cpp | 106 const ir_variable *const var = ((ir_instruction *) node)->as_variable(); in _mesa_GetActiveAttribARB() 161 const ir_variable *const var = ((ir_instruction *) node)->as_variable(); in _mesa_GetAttribLocationARB() 197 const ir_variable *const var = ((ir_instruction *) node)->as_variable(); in _mesa_count_active_attribs() 223 const ir_variable *const var = ((ir_instruction *) node)->as_variable(); in _mesa_longest_attribute_name_length() 325 const ir_variable *const var = ((ir_instruction *) node)->as_variable(); in _mesa_GetFragDataIndex() 381 const ir_variable *const var = ((ir_instruction *) node)->as_variable(); in _mesa_GetFragDataLocation()
|
/external/mesa3d/src/mesa/program/ |
D | ir_to_mesa.cpp | 169 ir_instruction *ir; 240 void reladdr_to_temp(ir_instruction *ir, src_reg *reg, int *num_reladdr); 283 ir_to_mesa_instruction *emit(ir_instruction *ir, enum prog_opcode op); 285 ir_to_mesa_instruction *emit(ir_instruction *ir, enum prog_opcode op, 288 ir_to_mesa_instruction *emit(ir_instruction *ir, enum prog_opcode op, 291 ir_to_mesa_instruction *emit(ir_instruction *ir, enum prog_opcode op, 298 ir_to_mesa_instruction * emit_dp(ir_instruction *ir, 304 void emit_scalar(ir_instruction *ir, enum prog_opcode op, 307 void emit_scalar(ir_instruction *ir, enum prog_opcode op, 310 void emit_scs(ir_instruction *ir, enum prog_opcode op, [all …]
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_vec4.h | 194 ir_instruction *ir; 237 ir_instruction *base_ir; 261 void reladdr_to_temp(ir_instruction *ir, src_reg *reg, int *num_reladdr); 395 void emit_scalar(ir_instruction *ir, enum prog_opcode op, 398 void emit_scalar(ir_instruction *ir, enum prog_opcode op, 401 void emit_scs(ir_instruction *ir, enum prog_opcode op,
|