Home
last modified time | relevance | path

Searched refs:vec_instr (Results 1 – 3 of 3) sorted by relevance

/third_party/mesa3d/src/compiler/nir/
Dnir_worklist.h141 struct nir_instr **vec_instr = u_vector_add(&wl->instr_vec); in nir_instr_worklist_push_tail() local
142 *vec_instr = instr; in nir_instr_worklist_push_tail()
148 struct nir_instr **vec_instr = u_vector_remove(&wl->instr_vec); in nir_instr_worklist_pop_head() local
150 if (vec_instr == NULL) in nir_instr_worklist_pop_head()
153 return *vec_instr; in nir_instr_worklist_pop_head()
Dnir_builder.h746 nir_alu_instr *vec_instr = nir_alu_instr_create(b->shader, vec_op); in nir_vector_insert_imm() local
750 vec_instr->src[i].src = nir_src_for_ssa(scalar); in nir_vector_insert_imm()
751 vec_instr->src[i].swizzle[0] = 0; in nir_vector_insert_imm()
753 vec_instr->src[i].src = nir_src_for_ssa(vec); in nir_vector_insert_imm()
754 vec_instr->src[i].swizzle[0] = i; in nir_vector_insert_imm()
758 return nir_builder_alu_instr_finish_and_insert(b, vec_instr); in nir_vector_insert_imm()
/third_party/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp732 aco_ptr<Pseudo_instruction> vec_instr{create_instruction<Pseudo_instruction>( in get_alu_src() local
736 vec_instr->operands[i] = Operand{elems[i]}; in get_alu_src()
739 vec_instr->definitions[0] = Definition(dst); in get_alu_src()
740 ctx->block->instructions.emplace_back(std::move(vec_instr)); in get_alu_src()
9211 nir_alu_instr* vec_instr = nir_instr_as_alu(vec->parent_instr); in get_const_vec() local
9212 if (vec_instr->op != nir_op_vec(vec->num_components)) in get_const_vec()
9217 vec_instr->src[i].swizzle[0] == 0 ? nir_src_as_const_value(vec_instr->src[i].src) : NULL; in get_const_vec()