mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-14 09:56:23 +00:00
[Packetizer] Make endPacket virtual
This will allow custom handling of packet finalization. The current definition of endPacket will still perform the default finalization. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@255537 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1d7a67937c
commit
c07a65e35a
@ -161,8 +161,10 @@ public:
|
||||
return MII;
|
||||
}
|
||||
|
||||
// endPacket - End the current packet.
|
||||
void endPacket(MachineBasicBlock *MBB, MachineInstr *MI);
|
||||
// End the current packet and reset the state of the packetizer.
|
||||
// Overriding this function allows the target-specific packetizer
|
||||
// to perform custom finalization.
|
||||
virtual void endPacket(MachineBasicBlock *MBB, MachineInstr *MI);
|
||||
|
||||
// initPacketizerState - perform initialization before packetizing
|
||||
// an instruction. This function is supposed to be overrided by
|
||||
|
Loading…
x
Reference in New Issue
Block a user