Searched refs:has_alu_flag (Results 1 – 10 of 10) sorted by relevance
64 if (instr->has_alu_flag(alu_is_trans)) { in add_instruction()74 if (add_vec_instructions(instr) && !instr->has_alu_flag(alu_is_trans)) { in add_instruction()76 if (!instr->has_alu_flag(alu_is_lds) && is_kill(instr->opcode())) in add_instruction()105 if (instr->has_alu_flag(alu_is_lds)) in add_trans_instructions()119 if (!instr->has_alu_flag(alu_is_trans) && !m_slots[instr->dest_chan()]) { in add_trans_instructions()142 if (!instr->has_alu_flag(alu_is_trans) && !m_slots[instr->dest_chan()]) in add_trans_instructions()166 yes = (alu->alu_slots() == 1 || alu->has_alu_flag(alu_is_cayman_trans)); in visit()331 if (m_slots[i] && m_slots[i]->has_alu_flag(alu_lds_group_end)) in has_lds_group_end()
235 if (alu->has_alu_flag(alu_src0_abs)) in visit()237 if (alu->has_alu_flag(alu_src1_abs)) in visit()240 if (alu->has_alu_flag(alu_src0_neg)) in visit()243 if (alu->has_alu_flag(alu_src1_neg)) in visit()
148 if (m_dest && has_alu_flag(alu_write)) { in update_uses()220 if (has_alu_flag(alu_is_lds)) { in do_print()226 if (has_alu_flag(alu_dst_clamp)) in do_print()230 if (has_alu_flag(alu_write)) in do_print()234 if (!has_alu_flag(alu_write) && m_dest->pin() != pin_none) in do_print()242 const int n_source_per_slot = has_alu_flag(alu_is_lds) ? in do_print()254 if (has_alu_flag(src_neg_flags[k])) pflags |= ValuePrintFlags::has_neg; in do_print()255 if (has_alu_flag(src_rel_flags[k])) pflags |= ValuePrintFlags::is_rel; in do_print()257 if (has_alu_flag(src_abs_flags[k])) pflags |= ValuePrintFlags::has_abs; in do_print()268 if (has_alu_flag(alu_write)) os << 'W'; in do_print()[all …]
89 auto opcode() const {assert(!has_alu_flag(alu_is_lds)); return m_opcode;} in opcode()90 auto lds_opcode() const {assert(has_alu_flag(alu_is_lds)); return m_lds_opcode;} in lds_opcode()117 bool has_alu_flag(AluModifiers f) const {return m_alu_flags.test(f);} in has_alu_flag() function
188 if (unlikely(ai.has_alu_flag(alu_is_lds))) in visit()252 alu.last = lds.has_alu_flag(alu_last_instr); in emit_lds_op()283 if (!copy_dst(alu.dst, *dst, ai.has_alu_flag(alu_write))) { in emit_alu_op()288 alu.dst.write = ai.has_alu_flag(alu_write); in emit_alu_op()289 alu.dst.clamp = ai.has_alu_flag(alu_dst_clamp); in emit_alu_op()302 alu.src[i].neg = ai.has_alu_flag(AluInstr::src_neg_flags[i]); in emit_alu_op()304 alu.src[i].abs = ai.has_alu_flag(AluInstr::src_abs_flags[i]); in emit_alu_op()321 alu.last = ai.has_alu_flag(alu_last_instr); in emit_alu_op()322 alu.execute_mask = ai.has_alu_flag(alu_update_exec); in emit_alu_op()395 !instr->has_alu_flag(alu_is_lds) && in visit()
78 m_slots[0]->has_alu_flag(alu_lds_group_start) : false;} in has_lds_group_start()
431 !instr->has_alu_flag(alu_write)) { in visit()594 if (alu->has_alu_flag(alu_src0_abs) || in visit()595 alu->has_alu_flag(alu_src0_neg)) in visit()
49 if (instr->has_alu_flag(alu_is_trans)) in visit()673 if ((*old_i)->has_alu_flag(alu_is_lds)) { in schedule_alu_to_group_vec()810 if ((*i)->has_alu_flag(alu_lds_address)) { in collect_ready_alu_vec()
232 if (instr->has_alu_flag(alu_write)) in visit()
34 EXPECT_FALSE(alu.has_alu_flag(alu_write)); in TEST_F()49 EXPECT_TRUE(alu.has_alu_flag(alu_write)); in TEST_F()51 EXPECT_FALSE(alu.has_alu_flag(alu_last_instr)); in TEST_F()53 EXPECT_FALSE(alu.has_alu_flag(alu_op3)); in TEST_F()54 EXPECT_FALSE(alu.has_alu_flag(alu_src0_abs)); in TEST_F()55 EXPECT_FALSE(alu.has_alu_flag(alu_src0_neg)); in TEST_F()80 EXPECT_TRUE(alu.has_alu_flag(alu_src0_abs)); in TEST_F()83 EXPECT_TRUE(alu.has_alu_flag(alu_src0_neg)); in TEST_F()95 EXPECT_TRUE(alu.has_alu_flag(alu_write)); in TEST_F()97 EXPECT_TRUE(alu.has_alu_flag(alu_last_instr)); in TEST_F()[all …]