Searched refs:literal_idx (Results 1 – 3 of 3) sorted by relevance
79 uint16_t literal_idx; member83 : add_instr(std::move(instr)), mul_temp_id(id), literal_idx(0), check_literal(false) {} in mad_info()3045 uint32_t literal_idx = 0; in select_instruction() local3060 literal_idx = i; in select_instruction()3070 literal_idx = i; in select_instruction()3081 if (literal_uses < threshold || literal_idx == 2) { in select_instruction()3082 ctx.uses[instr->operands[literal_idx].tempId()]--; in select_instruction()3084 mad_info->literal_idx = literal_idx; in select_instruction()3212 (ctx.uses[instr->operands[info->literal_idx].tempId()] == 0 || info->literal_idx == 2)) { in apply_literals()3215 … aco_opcode new_op = info->literal_idx == 2 ? aco_opcode::v_madak_f32 : aco_opcode::v_madmk_f32; in apply_literals()[all …]
103 const int literal_idx = VALUES_IN_BYTE + NUM_LENGTH_CODES + idx; in GetCacheCost() local104 return m->literal_[literal_idx]; in GetCacheCost()
4625 - aco: Initialize mad_info member literal_idx.