Searched refs:ASSERT_OR_THROW (Results 1 – 3 of 3) sorted by relevance
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_virtualvalues.cpp | 65 …ASSERT_OR_THROW(m_sel < virtual_register_base || pin != pin_fully, "Register is virtual but pinned… in VirtualValue() 568 ASSERT_OR_THROW(s[1] == '[', "inline const not started with '['"); in from_string() 578 ASSERT_OR_THROW(s[i] == ']', "inline const not closed with ']'"); in from_string() 599 ASSERT_OR_THROW(value != ALU_SRC_UNKNOWN, "Unknwon inline constant was given"); in from_string() 602 ASSERT_OR_THROW(s[i + 1] == '.', "inline const channel not started with '.'"); in from_string() 612 ASSERT_OR_THROW(0, "invalied inline const channel "); in from_string() 788 ASSERT_OR_THROW(offset < m_size, "Array: index out of range"); in element() 789 ASSERT_OR_THROW(chan < m_nchannels, "Array: channel out of range"); in element() 818 ASSERT_OR_THROW(offset < m_size, "Array: indirect constant index out of range"); in element()
|
D | sfn_virtualvalues.h | 41 #define ASSERT_OR_THROW(EXPR, ERROR) if (!(EXPR)) throw std::invalid_argument(ERROR) macro 43 #define ASSERT_OR_THROW(EXPR, ERROR) if (!(EXPR)) unreachable(ERROR) macro
|
D | sfn_instr_alu.cpp | 60 ASSERT_OR_THROW(m_src.size() == static_cast<size_t>(alu_ops.at(opcode).nsrc * m_alu_slots), in AluInstr() 64 ASSERT_OR_THROW(dest, "Write flag is set, but no destination register is given"); in AluInstr()
|