Home
last modified time | relevance | path

Searched refs:ir_type (Results 1 – 25 of 62) sorted by relevance

123

/external/mesa3d/src/compiler/glsl/
Dir.h91 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 …]
Dopt_redundant_jumps.cpp73 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()
Dlower_if_to_cond_assign.cpp123 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()
Dlower_vector_derefs.cpp54 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()
Dlower_ubo_reference.cpp137 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()
Dlower_vector.cpp74 switch (op->ir_type) { in is_extended_swizzle()
202 if (expr->operands[i]->ir_type == ir_type_constant) in handle_rvalue()
Dlower_shared_reference.cpp349 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()
Dopt_rebalance_tree.cpp222 if (ir->ir_type == ir_type_dereference_array || in is_reduction()
223 ir->ir_type == ir_type_dereference_record) { in is_reduction()
Dopt_dead_builtin_variables.cpp39 if (var->ir_type != ir_type_variable || var->data.used) in optimize_dead_builtin_variables()
Dlower_offset_array.cpp57 if (*rv == NULL || (*rv)->ir_type != ir_type_texture) in handle_rvalue()
Dlower_tess_level.cpp251 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()
Dlower_buffer_access.cpp190 switch (ir->ir_type) { in is_dereferenced_thing_row_major()
291 switch (deref->ir_type) { in setup_buffer_access()
Dlower_int64.cpp332 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()
Dlower_jumps.cpp454 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()
Dloop_analysis.h40 return ir != NULL && ir->ir_type == ir_type_loop_jump && in is_break()
Dlower_vector_insert.cpp58 if (*rv == NULL || (*rv)->ir_type != ir_type_expression) in handle_rvalue()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_get.c726 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()
Dsi_compute.c158 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()
Dsi_compute.h44 unsigned ir_type; member
/external/mesa3d/src/gallium/drivers/r600/
Devergreen_compute.c423 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 …]
Devergreen_compute_internal.h38 enum pipe_shader_ir ir_type; member
Dr600_pipe_common.c994 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/
Dlower_int64_test.cpp152 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/
Dtr_screen.c199 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/
Dnoop_pipe.c404 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()

123