/external/mesa3d/src/compiler/glsl/ |
D | loop_unroll.cpp | 183 ir_instruction *first_ir = in simple_unroll() 184 (ir_instruction *) ir->body_instructions.get_head(); in simple_unroll() 196 ir_instruction *ir_if_last = (ir_instruction *) in simple_unroll() 206 ir_if_last = (ir_instruction *) in simple_unroll() 282 ir_instruction *ir_to_replace = ir; in complex_unroll() 299 ir_if *ir_if = ((ir_instruction *) copy_list.get_tail())->as_if(); in complex_unroll() 304 ir_if = ((ir_instruction *) first_list->get_tail())->as_if(); in complex_unroll() 351 ir_instruction *move_ir = (ir_instruction *) ir_if->get_next(); in splice_post_if_instructions() 412 ir_instruction *ir_if_last = (ir_instruction *) in visit_leave() 418 assert(is_break((ir_instruction *) in visit_leave() [all …]
|
D | ir_equals.cpp | 31 possibly_null_equals(const ir_instruction *a, const ir_instruction *b, in possibly_null_equals() 45 ir_instruction::equals(const ir_instruction *, enum ir_node_type) const in equals() argument 51 ir_constant::equals(const ir_instruction *ir, enum ir_node_type) const in equals() 74 ir_dereference_variable::equals(const ir_instruction *ir, in equals() 85 ir_dereference_array::equals(const ir_instruction *ir, in equals() 105 ir_swizzle::equals(const ir_instruction *ir, in equals() 128 ir_texture::equals(const ir_instruction *ir, enum ir_node_type ignore) const in equals() 193 ir_expression::equals(const ir_instruction *ir, enum ir_node_type ignore) const in equals()
|
D | lower_jumps.cpp | 299 ((ir_instruction *)ir->get_next())->remove(); in truncate_after_instruction() 304 void move_outer_block_inside(ir_instruction *ir, exec_list *inner_block) in move_outer_block_inside() 307 ir_instruction *move_ir = (ir_instruction *)ir->get_next(); in move_outer_block_inside() 342 void lower_return_unconditionally(ir_instruction *ir) in lower_return_unconditionally() 354 ir_instruction *create_lowered_break() in create_lowered_break() 369 void lower_break_unconditionally(ir_instruction *ir) in lower_break_unconditionally() 383 ir_instruction *ir = (ir_instruction *) block->get_tail(); in lower_final_breaks() 388 (ir_instruction *) ir_if->then_instructions.get_tail()); in lower_final_breaks() 390 (ir_instruction *) ir_if->else_instructions.get_tail()); in lower_final_breaks() 450 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() 316 ir_instruction *bb_last) in try_tree_grafting() 326 for (ir_instruction *ir = (ir_instruction *)start->next; in try_tree_grafting() 328 ir = (ir_instruction *)ir->next) { in try_tree_grafting() 345 tree_grafting_basic_block(ir_instruction *bb_first, in tree_grafting_basic_block() 346 ir_instruction *bb_last, in tree_grafting_basic_block() 350 ir_instruction *ir, *next; in tree_grafting_basic_block() [all …]
|
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.h | 89 class ir_instruction : public exec_node { 99 virtual ~ir_instruction() in ~ir_instruction() 109 virtual ir_instruction *clone(void *mem_ctx, 199 virtual bool equals(const ir_instruction *ir, 203 ir_instruction(enum ir_node_type t) in ir_instruction() function 209 ir_instruction() in ir_instruction() function 219 class ir_rvalue : public ir_instruction { 420 class ir_variable : public ir_instruction { 1149 class ir_function_signature : public ir_instruction { 1291 class ir_function : public ir_instruction { [all …]
|
D | ir_basic_block.cpp | 51 void (*callback)(ir_instruction *first, in call_for_basic_blocks() 52 ir_instruction *last, in call_for_basic_blocks() 56 ir_instruction *leader = NULL; in call_for_basic_blocks() 57 ir_instruction *last = NULL; in call_for_basic_blocks() 59 foreach_in_list(ir_instruction, ir, instructions) { in call_for_basic_blocks()
|
D | ir_hierarchical_visitor.h | 158 class ir_instruction *base_ir; 168 void (*callback_enter)(class ir_instruction *ir, void *data); 178 void (*callback_leave)(class ir_instruction *ir, void *data); 198 void visit_tree(ir_instruction *ir, 199 void (*callback_enter)(class ir_instruction *ir, void *data), 201 void (*callback_leave)(class ir_instruction *ir, void *data) = NULL,
|
D | ir_expression_flattening.cpp | 40 ir_expression_flattening_visitor(bool (*predicate)(ir_instruction *ir)) in ir_expression_flattening_visitor() 51 bool (*predicate)(ir_instruction *ir); 56 bool (*predicate)(ir_instruction *ir)) in do_expression_flattening() 60 foreach_in_list(ir_instruction, ir, instructions) { in do_expression_flattening()
|
D | opt_dead_code_local.cpp | 154 static void run(ir_instruction *ir, ir_hierarchical_visitor *v) in run() 307 dead_code_local_basic_block(ir_instruction *first, in dead_code_local_basic_block() 308 ir_instruction *last, in dead_code_local_basic_block() 311 ir_instruction *ir, *ir_next; in dead_code_local_basic_block() 321 for (ir = first, ir_next = (ir_instruction *)first->next;; in dead_code_local_basic_block() 322 ir = ir_next, ir_next = (ir_instruction *)ir->next) { in dead_code_local_basic_block()
|
D | ir_print_visitor.cpp | 34 ir_instruction::print(void) const in print() 40 ir_instruction::fprint(FILE *f) const in fprint() 42 ir_instruction *deconsted = const_cast<ir_instruction *>(this); in fprint() 71 foreach_in_list(ir_instruction, ir, instructions) { in _mesa_print_ir() 82 const ir_instruction *ir = (const ir_instruction *)instruction; in fprint_ir() 258 foreach_in_list(ir_instruction, inst, &ir->body) { in visit() 574 foreach_in_list(ir_instruction, inst, &ir->then_instructions) { in visit() 589 foreach_in_list(ir_instruction, inst, &ir->else_instructions) { in visit() 609 foreach_in_list(ir_instruction, inst, &ir->body_instructions) { in visit()
|
D | ir_clone.cpp | 118 foreach_in_list(ir_instruction, ir, &this->then_instructions) { in clone() 122 foreach_in_list(ir_instruction, ir, &this->else_instructions) { in clone() 134 foreach_in_list(ir_instruction, ir, &this->body_instructions) { in clone() 150 foreach_in_list(ir_instruction, ir, &this->actual_parameters) { in clone() 301 foreach_in_list(const ir_instruction, inst, &this->body) { in clone() 302 ir_instruction *const inst_copy = inst->clone(mem_ctx, ht); in clone() 422 foreach_in_list(const ir_instruction, original, in) { in clone_ir_list() 423 ir_instruction *copy = original->clone(mem_ctx, ht); in clone_ir_list()
|
D | loop_analysis.cpp | 54 ir_instruction *ir = (ir_instruction *) node; in find_initial_value() 185 ir_instruction *ir = (ir_instruction *) node; in incremented_before_terminator() 469 foreach_in_list(ir_instruction, node, &ir->body_instructions) { in visit_leave() 475 ir_if *if_stmt = ((ir_instruction *) node)->as_if(); in visit_leave() 795 ir_instruction *inst = (ir_instruction *) ir->then_instructions.get_tail(); in try_add_loop_terminator() 796 ir_instruction *else_inst = in try_add_loop_terminator() 797 (ir_instruction *) ir->else_instructions.get_tail(); in try_add_loop_terminator()
|
D | link_functions.cpp | 155 foreach_in_list(const ir_instruction, original, &sig->parameters) { in visit_enter() 156 assert(const_cast<ir_instruction *>(original)->as_variable()); in visit_enter() 158 ir_instruction *copy = original->clone(linked, ht); in visit_enter() 167 foreach_in_list(const ir_instruction, original, &sig->body) { in visit_enter() 168 ir_instruction *copy = original->clone(linked, ht); in visit_enter()
|
D | ir_basic_block.h | 28 void (*callback)(ir_instruction *first, 29 ir_instruction *last,
|
D | lower_if_to_cond_assign.cpp | 119 check_ir_node(ir_instruction *ir, void *data) in check_ir_node() 177 foreach_in_list_safe(ir_instruction, ir, instructions) { in move_block_to_cond_assign() 245 foreach_in_list(ir_instruction, then_ir, &ir->then_instructions) { in visit_leave() 250 foreach_in_list(ir_instruction, else_ir, &ir->else_instructions) { in visit_leave()
|
D | lower_int64.cpp | 60 ir_rvalue *lower_op_to_function_call(ir_instruction *base_ir, 79 foreach_in_list(ir_instruction, node, instructions) { in lower_64bit_visitor() 141 ir_instruction *first_inst = (ir_instruction *) instructions->get_head_raw(); in lower_64bit_integer_instructions() 255 lower_64bit::lower_op_to_function_call(ir_instruction *base_ir, in lower_op_to_function_call()
|
D | ir_function_can_inline.cpp | 70 ir_instruction *last = (ir_instruction *)callee->body.get_tail(); in can_inline()
|
D | opt_function_inlining.cpp | 83 replace_return_with_assignment(ir_instruction *ir, void *data) in replace_return_with_assignment() 135 ir_call::generate_inline(ir_instruction *next_ir) in generate_inline() 230 foreach_in_list(ir_instruction, ir, &callee->body) { in generate_inline() 231 ir_instruction *new_ir = ir->clone(ctx, ht); in generate_inline()
|
D | link_interface_blocks.cpp | 300 foreach_in_list(ir_instruction, node, shader_list[i]->ir) { in validate_intrastage_interface_blocks() 397 foreach_in_list(ir_instruction, node, producer->ir) { in validate_interstage_inout_blocks() 406 foreach_in_list(ir_instruction, node, consumer->ir) { in validate_interstage_inout_blocks() 447 foreach_in_list(ir_instruction, node, stage->ir) { in validate_interstage_uniform_blocks()
|
D | ir_builder.h | 92 void emit(ir_instruction *ir); 233 ir_instruction *then_branch); 235 ir_instruction *then_branch, 236 ir_instruction *else_branch);
|
/external/mesa3d/src/compiler/glsl/tests/ |
D | opt_add_neg_to_sub_test.cpp | 83 ir_instruction *const ir = (ir_instruction *) instructions.pop_head(); in TEST_F() 116 ir_instruction *const ir = (ir_instruction *) instructions.pop_head(); in TEST_F() 149 ir_instruction *const ir = (ir_instruction *) instructions.pop_head(); in TEST_F() 182 ir_instruction *const ir = (ir_instruction *) instructions.pop_head(); in TEST_F()
|
D | builtin_variable_test.cpp | 100 foreach_in_list(ir_instruction, node, &this->ir) { in names_start_with_gl() 110 foreach_in_list(ir_instruction, node, &this->ir) { in uniforms_and_system_values_dont_have_explicit_location() 124 foreach_in_list(ir_instruction, node, &this->ir) { in constants_are_constant() 139 foreach_in_list(ir_instruction, node, &this->ir) { in no_invalid_variable_modes() 176 foreach_in_list(ir_instruction, node, &this->ir) { in TEST_F() 191 foreach_in_list(ir_instruction, node, &this->ir) { in TEST_F() 244 foreach_in_list(ir_instruction, node, &this->ir) { in TEST_F() 264 foreach_in_list(ir_instruction, node, &this->ir) { in TEST_F() 315 foreach_in_list(ir_instruction, node, &this->ir) { in TEST_F() 361 foreach_in_list(ir_instruction, node, &this->ir) { in TEST_F()
|
D | lower_int64_test.cpp | 41 ir_rvalue *lower_op_to_function_call(ir_instruction *base_ir, 124 const ir_instruction *source) in check_instructions() 134 ir_instruction *ir; in check_instructions() 150 ir = (ir_instruction *) instructions->pop_head(); in check_instructions() 160 ir = (ir_instruction *) instructions->pop_head(); in check_instructions() 169 ir = (ir_instruction *) instructions->pop_head(); in check_instructions() 175 ir = (ir_instruction *) instructions->pop_head(); in check_instructions() 425 ir_instruction *ir; in TEST_F() 428 ir = (ir_instruction *) instructions.pop_head(); in TEST_F() 435 ir = (ir_instruction *) instructions.pop_head(); in TEST_F()
|
/external/mesa3d/src/mesa/program/ |
D | ir_to_mesa.cpp | 157 ir_instruction *ir; 227 void reladdr_to_temp(ir_instruction *ir, src_reg *reg, int *num_reladdr); 273 ir_to_mesa_instruction *emit(ir_instruction *ir, enum prog_opcode op); 275 ir_to_mesa_instruction *emit(ir_instruction *ir, enum prog_opcode op, 278 ir_to_mesa_instruction *emit(ir_instruction *ir, enum prog_opcode op, 281 ir_to_mesa_instruction *emit(ir_instruction *ir, enum prog_opcode op, 288 ir_to_mesa_instruction * emit_dp(ir_instruction *ir, 294 void emit_scalar(ir_instruction *ir, enum prog_opcode op, 297 void emit_scalar(ir_instruction *ir, enum prog_opcode op, 353 ir_to_mesa_visitor::emit(ir_instruction *ir, enum prog_opcode op, in emit() [all …]
|