mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-06 03:50:26 +01:00
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:
parent
f464fc28d4
commit
e7b497fe87
2 changed files with 8 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue