/external/mesa3d/src/compiler/glsl/ |
D | ir.h | 91 enum ir_node_type ir_type; variable 114 return ir_type == ir_type_dereference_array || in is_rvalue() 115 ir_type == ir_type_dereference_record || in is_rvalue() 116 ir_type == ir_type_dereference_variable || in is_rvalue() 117 ir_type == ir_type_constant || in is_rvalue() 118 ir_type == ir_type_expression || in is_rvalue() 119 ir_type == ir_type_swizzle || in is_rvalue() 120 ir_type == ir_type_texture; in is_rvalue() 125 return ir_type == ir_type_dereference_array || in is_dereference() 126 ir_type == ir_type_dereference_record || in is_dereference() [all …]
|
D | opt_redundant_jumps.cpp | 73 if ((last_then->ir_type != ir_type_loop_jump) in visit_leave() 74 || (last_else->ir_type != ir_type_loop_jump)) in visit_leave() 107 if (last && (last->ir_type == ir_type_loop_jump) in visit_leave()
|
D | lower_if_to_cond_assign.cpp | 123 switch (ir->ir_type) { in check_ir_node() 155 if (deref->array_index->ir_type != ir_type_constant) in check_ir_node() 178 if (ir->ir_type == ir_type_assignment) { in move_block_to_cond_assign()
|
D | lower_vector_derefs.cpp | 54 if (!ir->lhs || ir->lhs->ir_type != ir_type_dereference_array) in visit_enter() 84 if (*rv == NULL || (*rv)->ir_type != ir_type_dereference_array) in handle_rvalue()
|
D | lower_ubo_reference.cpp | 137 switch (ir->ir_type) { in interface_field_name() 177 switch (d->ir_type) { in interface_field_name() 639 if (ir->operands[i]->ir_type != ir_type_expression) in check_ssbo_unsized_array_length_expression() 654 if (!ir->rhs || ir->rhs->ir_type != ir_type_expression) in check_ssbo_unsized_array_length_assignment() 682 switch (deref->ir_type) { in calculate_unsized_array_stride() 966 assert(inst->ir_type == ir_type_dereference_variable || in lower_ssbo_atomic_intrinsic() 967 inst->ir_type == ir_type_dereference_array || in lower_ssbo_atomic_intrinsic() 968 inst->ir_type == ir_type_dereference_record || in lower_ssbo_atomic_intrinsic() 969 inst->ir_type == ir_type_swizzle); in lower_ssbo_atomic_intrinsic() 1114 if (sampler->ir_type == ir_type_dereference_record) { in visit_enter()
|
D | lower_vector.cpp | 74 switch (op->ir_type) { in is_extended_swizzle() 202 if (expr->operands[i]->ir_type == ir_type_constant) in handle_rvalue()
|
D | lower_shared_reference.cpp | 349 assert(inst->ir_type == ir_type_dereference_variable || in lower_shared_atomic_intrinsic() 350 inst->ir_type == ir_type_dereference_array || in lower_shared_atomic_intrinsic() 351 inst->ir_type == ir_type_dereference_record || in lower_shared_atomic_intrinsic() 352 inst->ir_type == ir_type_swizzle); in lower_shared_atomic_intrinsic()
|
D | opt_rebalance_tree.cpp | 222 if (ir->ir_type == ir_type_dereference_array || in is_reduction() 223 ir->ir_type == ir_type_dereference_record) { in is_reduction()
|
D | opt_dead_builtin_variables.cpp | 39 if (var->ir_type != ir_type_variable || var->data.used) in optimize_dead_builtin_variables()
|
D | lower_offset_array.cpp | 57 if (*rv == NULL || (*rv)->ir_type != ir_type_texture) in handle_rvalue()
|
D | lower_tess_level.cpp | 251 if (ir->lhs->ir_type != ir_type_expression) in fix_lhs() 261 assert(expr->operands[0]->ir_type == ir_type_dereference_variable); in fix_lhs()
|
D | lower_buffer_access.cpp | 190 switch (ir->ir_type) { in is_dereferenced_thing_row_major() 291 switch (deref->ir_type) { in setup_buffer_access()
|
D | lower_int64.cpp | 332 assert(callee != NULL && callee->ir_type == ir_type_function_signature); in handle_op() 349 if (*rvalue == NULL || (*rvalue)->ir_type != ir_type_expression) in handle_rvalue()
|
D | lower_jumps.cpp | 454 else if(ir->ir_type == ir_type_loop_jump) { in get_jump_strength() 459 } else if(ir->ir_type == ir_type_return) in get_jump_strength() 997 assert (jump->ir_type == ir_type_return); in visit()
|
D | loop_analysis.h | 40 return ir != NULL && ir->ir_type == ir_type_loop_jump && in is_break()
|
D | lower_vector_insert.cpp | 58 if (*rv == NULL || (*rv)->ir_type != ir_type_expression) in handle_rvalue()
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_get.c | 726 enum pipe_shader_ir ir_type) in get_max_threads_per_block() argument 728 if (ir_type != PIPE_SHADER_IR_TGSI) in get_max_threads_per_block() 742 enum pipe_shader_ir ir_type, in si_get_compute_param() argument 785 unsigned threads_per_block = get_max_threads_per_block(sscreen, ir_type); in si_get_compute_param() 795 *max_threads_per_block = get_max_threads_per_block(sscreen, ir_type); in si_get_compute_param() 810 si_get_compute_param(screen, ir_type, in si_get_compute_param() 881 if (ir_type == PIPE_SHADER_IR_TGSI) in si_get_compute_param()
|
D | si_compute.c | 158 program->ir_type = cso->ir_type; in si_create_compute_state() 163 cso->ir_type == PIPE_SHADER_IR_NATIVE; in si_create_compute_state() 165 if (cso->ir_type == PIPE_SHADER_IR_TGSI) { in si_create_compute_state() 234 if (program->ir_type == PIPE_SHADER_IR_TGSI) in si_bind_compute_state() 383 if (program->ir_type == PIPE_SHADER_IR_TGSI) { in si_switch_compute_shader() 809 if (program->ir_type == PIPE_SHADER_IR_TGSI && in si_launch_grid() 857 program->ir_type == PIPE_SHADER_IR_NATIVE) && in si_launch_grid() 874 if (program->ir_type == PIPE_SHADER_IR_TGSI) in si_launch_grid() 895 if (program->ir_type == PIPE_SHADER_IR_TGSI) { in si_destroy_compute()
|
D | si_compute.h | 44 unsigned ir_type; member
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | evergreen_compute.c | 423 shader->ir_type = cso->ir_type; in evergreen_create_compute_state() 425 if (shader->ir_type == PIPE_SHADER_IR_TGSI) { in evergreen_create_compute_state() 459 if (shader->ir_type == PIPE_SHADER_IR_TGSI) { in evergreen_delete_compute_state() 484 if (cstate->ir_type == PIPE_SHADER_IR_TGSI) { in evergreen_bind_compute_state() 586 if (shader->ir_type != PIPE_SHADER_IR_TGSI) in evergreen_emit_dispatch() 708 if (rctx->cs_shader_state.shader->ir_type == PIPE_SHADER_IR_TGSI) { in compute_emit_cs() 746 if (rctx->cs_shader_state.shader->ir_type == PIPE_SHADER_IR_TGSI) { in compute_emit_cs() 759 if (rctx->cs_shader_state.shader->ir_type != PIPE_SHADER_IR_TGSI) { in compute_emit_cs() 813 if (rctx->cs_shader_state.shader->ir_type == PIPE_SHADER_IR_TGSI) in compute_emit_cs() 840 if (shader->ir_type == PIPE_SHADER_IR_TGSI) { in evergreen_emit_cs_shader() [all …]
|
D | evergreen_compute_internal.h | 38 enum pipe_shader_ir ir_type; member
|
D | r600_pipe_common.c | 994 enum pipe_shader_ir ir_type) in get_max_threads_per_block() argument 996 if (ir_type != PIPE_SHADER_IR_TGSI) in get_max_threads_per_block() 1004 enum pipe_shader_ir ir_type, in r600_get_compute_param() argument 1041 unsigned threads_per_block = get_max_threads_per_block(rscreen, ir_type); in r600_get_compute_param() 1051 *max_threads_per_block = get_max_threads_per_block(rscreen, ir_type); in r600_get_compute_param() 1066 r600_get_compute_param(screen, ir_type, in r600_get_compute_param()
|
/external/mesa3d/src/compiler/glsl/tests/ |
D | lower_int64_test.cpp | 152 EXPECT_EQ(ir_type_variable, ir->ir_type); in check_instructions() 162 EXPECT_EQ(ir_type_assignment, ir->ir_type); in check_instructions() 171 EXPECT_EQ(ir_type_variable, ir->ir_type); in check_instructions() 177 EXPECT_EQ(ir_type_assignment, ir->ir_type); in check_instructions() 418 ASSERT_EQ(ir_type_dereference_variable, deref->ir_type); in TEST_F()
|
/external/mesa3d/src/gallium/drivers/trace/ |
D | tr_screen.c | 199 enum pipe_shader_ir ir_type, in trace_screen_get_compute_param() argument 209 trace_dump_arg(int, ir_type); in trace_screen_get_compute_param() 213 result = screen->get_compute_param(screen, ir_type, param, data); in trace_screen_get_compute_param()
|
/external/mesa3d/src/gallium/drivers/noop/ |
D | noop_pipe.c | 404 enum pipe_shader_ir ir_type, in noop_get_compute_param() argument 410 return screen->get_compute_param(screen, ir_type, param, ret); in noop_get_compute_param()
|