Searched refs:add_instr (Results 1 – 2 of 2) sorted by relevance
/external/mesa3d/src/amd/compiler/ |
D | aco_optimizer.cpp | 77 aco_ptr<Instruction> add_instr; member 83 : add_instr(std::move(instr)), mul_temp_id(id), literal_idx(0), check_literal(false) {} in mad_info() 744 Instruction *add_instr = ctx.info[tmp.id()].instr; in parse_base_offset() local 746 switch (add_instr->opcode) { in parse_base_offset() 756 if (prevent_overflow && !add_instr->definitions[0].isNUW()) in parse_base_offset() 759 if (add_instr->usesModifiers()) in parse_base_offset() 763 if (add_instr->operands[i].isConstant()) { in parse_base_offset() 764 *offset = add_instr->operands[i].constantValue(); in parse_base_offset() 765 } else if (add_instr->operands[i].isTemp() && in parse_base_offset() 766 ctx.info[add_instr->operands[i].tempId()].is_constant_or_literal(32)) { in parse_base_offset() [all …]
|
/external/mesa3d/src/compiler/glsl/ |
D | glsl_to_nir.cpp | 85 void add_instr(nir_instr *instr, unsigned num_components, unsigned bit_size); 1763 nir_visitor::add_instr(nir_instr *instr, unsigned num_components, in add_instr() function in nir_visitor 1867 add_instr(&intrin->instr, deref->type->vector_elements, bit_size); in visit() 1889 add_instr(&intrin->instr, 1, 32); in visit() 2113 add_instr(&load->instr, ir->type->vector_elements, bit_size); in visit() 2579 add_instr(&instr->instr, nir_tex_instr_dest_size(instr), bit_size); in visit()
|