diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2020-07-26 19:36:28 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2020-07-26 19:36:28 +0000 |
commit | cfca06d7963fa0909f90483b42a6d7d194d01e08 (patch) | |
tree | 209fb2a2d68f8f277793fc8df46c753d31bc853b /llvm/lib/Target/Hexagon/HexagonVLIWPacketizer.h | |
parent | 706b4fc47bbc608932d3b491ae19a3b9cde9497b (diff) |
Notes
Diffstat (limited to 'llvm/lib/Target/Hexagon/HexagonVLIWPacketizer.h')
-rw-r--r-- | llvm/lib/Target/Hexagon/HexagonVLIWPacketizer.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/lib/Target/Hexagon/HexagonVLIWPacketizer.h b/llvm/lib/Target/Hexagon/HexagonVLIWPacketizer.h index 943b9ac7ecc4..27a47220570a 100644 --- a/llvm/lib/Target/Hexagon/HexagonVLIWPacketizer.h +++ b/llvm/lib/Target/Hexagon/HexagonVLIWPacketizer.h @@ -57,6 +57,13 @@ class HexagonPacketizerList : public VLIWPacketizerList { // instruction from the previous packet. bool PacketStalls = false; + // Set to true if the packet has a duplex pair of sub-instructions. + bool PacketHasDuplex = false; + + // Set to true if the packet has a instruction that can only be executed + // in SLOT0. + bool PacketHasSLOT0OnlyInsn = false; + protected: /// A handle to the branch probability pass. const MachineBranchProbabilityInfo *MBPI; @@ -149,6 +156,7 @@ protected: bool hasRegMaskDependence(const MachineInstr &I, const MachineInstr &J); bool hasDualStoreDependence(const MachineInstr &I, const MachineInstr &J); bool producesStall(const MachineInstr &MI); + bool isPureSlot0InsnWithNoSlot1Store(const MachineInstr &MI); }; } // end namespace llvm |