llvm.org GIT mirror llvm / c07a65e
[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 Krzysztof Parzyszek 4 years ago
1 changed file(s) with 4 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
160160 return MII;
161161 }
162162
163 // endPacket - End the current packet.
164 void endPacket(MachineBasicBlock *MBB, MachineInstr *MI);
163 // End the current packet and reset the state of the packetizer.
164 // Overriding this function allows the target-specific packetizer
165 // to perform custom finalization.
166 virtual void endPacket(MachineBasicBlock *MBB, MachineInstr *MI);
165167
166168 // initPacketizerState - perform initialization before packetizing
167169 // an instruction. This function is supposed to be overrided by