Searched refs:SSA_REG_FROM_FIXED (Results 1 – 4 of 4) sorted by relevance
607 ldst.reg = SSA_REG_FROM_FIXED(ins->src[0]) & 1; in load_store_from_instr()609 ldst.reg = SSA_REG_FROM_FIXED(ins->dest); in load_store_from_instr()618 ldst.swizzle |= (SSA_REG_FROM_FIXED(ins->src[3]) & 1 ? 1 : 0) << 2; in load_store_from_instr()622 ldst.arg_reg = SSA_REG_FROM_FIXED(ins->src[1]) - REGISTER_LDST_BASE; in load_store_from_instr()628 ldst.index_reg = SSA_REG_FROM_FIXED(ins->src[2]) - REGISTER_LDST_BASE; in load_store_from_instr()642 unsigned src1 = ins->src[1] == ~0 ? REGISTER_UNUSED : SSA_REG_FROM_FIXED(ins->src[1]); in texture_word_from_instr()645 unsigned dest = ins->dest == ~0 ? REGISTER_UNUSED : SSA_REG_FROM_FIXED(ins->dest); in texture_word_from_instr()650 .select = SSA_REG_FROM_FIXED(ins->src[2]) & 1, in texture_word_from_instr()667 unsigned offset_reg = SSA_REG_FROM_FIXED(ins->src[3]); in texture_word_from_instr()865 src2_reg = SSA_REG_FROM_FIXED(ins->src[1]); in emit_alu_bundle()[all …]
198 #define SSA_REG_FROM_FIXED(reg) ((((reg) & ~1) >> SSA_FIXED_SHIFT) - 1) macro
49 int reg = SSA_REG_FROM_FIXED(source); in mir_print_index()
89 return default_phys_reg(SSA_REG_FROM_FIXED(reg), shift); in index_to_reg()1042 unsigned idx = (23 - SSA_REG_FROM_FIXED(ins->src[i])) * 4; in mir_demote_uniforms()