r600/sfn: Add function to insert op in block
Signed-off-by: Gert Wollny <gert.wollny@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21347>
This commit is contained in:
@@ -342,6 +342,12 @@ Block::push_back(PInst instr)
|
||||
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)
|
||||
{
|
||||
|
||||
@@ -191,6 +191,8 @@ public:
|
||||
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user