Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21347>
m_instructions.push_back(instr);
}
+Block::iterator
+Block::insert(const iterator pos, Instr *instr)
+{
+ return m_instructions.insert(pos, instr);
+}
+
bool
Block::try_reserve_kcache(const AluGroup& group)
{
void erase(iterator node);
+ iterator insert(const iterator pos, Instr *instr);
+
bool is_equal_to(const Block& lhs) const;
void accept(ConstInstrVisitor& visitor) const override;