/third_party/mesa3d/src/compiler/glsl/ |
D | loop_unroll.cpp | 188 ir_instruction *first_ir = in simple_unroll() 189 (ir_instruction *) ir->body_instructions.get_head(); in simple_unroll() 201 ir_instruction *ir_if_last = (ir_instruction *) in simple_unroll() 211 ir_if_last = (ir_instruction *) in simple_unroll() 288 ir_instruction *ir_to_replace = ir; in complex_unroll() 305 ir_if *ir_if = ((ir_instruction *) copy_list.get_tail())->as_if(); in complex_unroll() 310 ir_if = ((ir_instruction *) first_list->get_tail())->as_if(); in complex_unroll() 357 ir_instruction *move_ir = (ir_instruction *) ir_if->get_next(); in splice_post_if_instructions() 411 ir_instruction *ir_if_last = (ir_instruction *) in visit_leave() 417 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 | 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 | lower_jumps.cpp | 301 ((ir_instruction *)ir->get_next())->remove(); in truncate_after_instruction() 306 void move_outer_block_inside(ir_instruction *ir, exec_list *inner_block) in move_outer_block_inside() 309 ir_instruction *move_ir = (ir_instruction *)ir->get_next(); in move_outer_block_inside() 344 void lower_return_unconditionally(ir_instruction *ir) in lower_return_unconditionally() 356 ir_instruction *create_lowered_break() in create_lowered_break() 371 void lower_break_unconditionally(ir_instruction *ir) in lower_break_unconditionally() 385 ir_instruction *ir = (ir_instruction *) block->get_tail(); in lower_final_breaks() 390 (ir_instruction *) ir_if->then_instructions.get_tail()); in lower_final_breaks() 392 (ir_instruction *) ir_if->else_instructions.get_tail()); in lower_final_breaks() 452 enum jump_strength get_jump_strength(ir_instruction* ir) in get_jump_strength() [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_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.h | 91 class ir_instruction : public exec_node { 101 virtual ~ir_instruction() in ~ir_instruction() 111 virtual ir_instruction *clone(void *mem_ctx, 201 virtual bool equals(const ir_instruction *ir, 205 ir_instruction(enum ir_node_type t) in ir_instruction() function 211 ir_instruction() in ir_instruction() function 221 class ir_rvalue : public ir_instruction { 422 class ir_variable : public ir_instruction { 1183 class ir_function_signature : public ir_instruction { 1332 class ir_function : public ir_instruction { [all …]
|
D | ir_hierarchical_visitor.h | 156 void call_enter_leave_callbacks(class ir_instruction *ir); 166 class ir_instruction *base_ir; 176 void (*callback_enter)(class ir_instruction *ir, void *data); 186 void (*callback_leave)(class ir_instruction *ir, void *data); 206 void visit_tree(ir_instruction *ir, 207 void (*callback_enter)(class ir_instruction *ir, void *data), 209 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 | 156 static void run(ir_instruction *ir, ir_hierarchical_visitor *v) in run() 309 dead_code_local_basic_block(ir_instruction *first, in dead_code_local_basic_block() 310 ir_instruction *last, in dead_code_local_basic_block() 313 ir_instruction *ir, *ir_next; in dead_code_local_basic_block() 323 for (ir = first, ir_next = (ir_instruction *)first->next;; in dead_code_local_basic_block() 324 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() 256 foreach_in_list(ir_instruction, inst, &ir->body) { in visit() 589 foreach_in_list(ir_instruction, inst, &ir->then_instructions) { in visit() 604 foreach_in_list(ir_instruction, inst, &ir->else_instructions) { in visit() 624 foreach_in_list(ir_instruction, inst, &ir->body_instructions) { in visit()
|
D | ir_clone.cpp | 124 foreach_in_list(ir_instruction, ir, &this->then_instructions) { in clone() 128 foreach_in_list(ir_instruction, ir, &this->else_instructions) { in clone() 140 foreach_in_list(ir_instruction, ir, &this->body_instructions) { in clone() 156 foreach_in_list(ir_instruction, ir, &this->actual_parameters) { in clone() 308 foreach_in_list(const ir_instruction, inst, &this->body) { in clone() 309 ir_instruction *const inst_copy = inst->clone(mem_ctx, ht); in clone() 430 foreach_in_list(const ir_instruction, original, in) { in clone_ir_list() 431 ir_instruction *copy = original->clone(mem_ctx, ht); in clone_ir_list()
|
D | link_functions.cpp | 153 foreach_in_list(const ir_instruction, original, &sig->parameters) { in visit_enter() 154 assert(const_cast<ir_instruction *>(original)->as_variable()); in visit_enter() 156 ir_instruction *copy = original->clone(linked, ht); in visit_enter() 165 foreach_in_list(const ir_instruction, original, &sig->body) { in visit_enter() 166 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 | loop_analysis.cpp | 54 ir_instruction *ir = (ir_instruction *) node; in find_initial_value() 231 ir_instruction *ir = (ir_instruction *) node; in incremented_before_terminator() 515 foreach_in_list(ir_instruction, node, &ir->body_instructions) { in visit_leave() 521 ir_if *if_stmt = ((ir_instruction *) node)->as_if(); in visit_leave() 841 ir_instruction *inst = (ir_instruction *) ir->then_instructions.get_tail(); in try_add_loop_terminator() 842 ir_instruction *else_inst = in try_add_loop_terminator() 843 (ir_instruction *) ir->else_instructions.get_tail(); in try_add_loop_terminator()
|
D | lower_if_to_cond_assign.cpp | 123 check_ir_node(ir_instruction *ir, void *data) in check_ir_node() 181 foreach_in_list_safe(ir_instruction, ir, instructions) { in move_block_to_cond_assign() 249 foreach_in_list(ir_instruction, then_ir, &ir->then_instructions) { in visit_leave() 254 foreach_in_list(ir_instruction, else_ir, &ir->else_instructions) { in visit_leave()
|
D | ir_function_can_inline.cpp | 70 ir_instruction *last = (ir_instruction *)callee->body.get_tail(); in can_inline()
|
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_hierarchical_visitor.cpp | 380 ir_hierarchical_visitor::call_enter_leave_callbacks(class ir_instruction *ir) in call_enter_leave_callbacks() 389 visit_tree(ir_instruction *ir, in visit_tree() 390 void (*callback_enter)(class ir_instruction *ir, void *data), in visit_tree() 392 void (*callback_leave)(class ir_instruction *ir, void *data), in visit_tree()
|
D | lower_xfb_varying.cpp | 77 foreach_in_list(ir_instruction, ir, this->instructions) { in append_instructions() 105 if (((ir_instruction*)sig->body.get_tail())->ir_type == ir_type_return) in visit_leave() 108 foreach_in_list(ir_instruction, ir, this->instructions) { in visit_leave()
|
D | ir_builder.h | 95 void emit(ir_instruction *ir); 236 ir_instruction *then_branch); 238 ir_instruction *then_branch, 239 ir_instruction *else_branch);
|
D | opt_function_inlining.cpp | 83 replace_return_with_assignment(ir_instruction *ir, void *data) in replace_return_with_assignment() 147 ir_call::generate_inline(ir_instruction *next_ir) in generate_inline() 238 foreach_in_list(ir_instruction, ir, &callee->body) { in generate_inline() 239 ir_instruction *new_ir = ir->clone(ctx, ht); in generate_inline()
|
/third_party/mesa3d/src/compiler/glsl/tests/ |
D | opt_add_neg_to_sub_test.cpp | 87 ir_instruction *const ir = (ir_instruction *) instructions.pop_head(); in TEST_F() 120 ir_instruction *const ir = (ir_instruction *) instructions.pop_head(); in TEST_F() 153 ir_instruction *const ir = (ir_instruction *) instructions.pop_head(); in TEST_F() 186 ir_instruction *const ir = (ir_instruction *) instructions.pop_head(); in TEST_F()
|
D | builtin_variable_test.cpp | 104 foreach_in_list(ir_instruction, node, &this->ir) { in names_start_with_gl() 114 foreach_in_list(ir_instruction, node, &this->ir) { in uniforms_and_system_values_dont_have_explicit_location() 128 foreach_in_list(ir_instruction, node, &this->ir) { in constants_are_constant() 143 foreach_in_list(ir_instruction, node, &this->ir) { in no_invalid_variable_modes() 180 foreach_in_list(ir_instruction, node, &this->ir) { in TEST_F() 195 foreach_in_list(ir_instruction, node, &this->ir) { in TEST_F() 248 foreach_in_list(ir_instruction, node, &this->ir) { in TEST_F() 268 foreach_in_list(ir_instruction, node, &this->ir) { in TEST_F() 319 foreach_in_list(ir_instruction, node, &this->ir) { in TEST_F() 365 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, 128 const ir_instruction *source) in check_instructions() 138 ir_instruction *ir; in check_instructions() 154 ir = (ir_instruction *) instructions->pop_head(); in check_instructions() 164 ir = (ir_instruction *) instructions->pop_head(); in check_instructions() 173 ir = (ir_instruction *) instructions->pop_head(); in check_instructions() 179 ir = (ir_instruction *) instructions->pop_head(); in check_instructions() 429 ir_instruction *ir; in TEST_F() 432 ir = (ir_instruction *) instructions.pop_head(); in TEST_F() 439 ir = (ir_instruction *) instructions.pop_head(); in TEST_F()
|