diff options
author | Andrew Trick <atrick@apple.com> | 2012-02-15 23:34:15 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2012-02-15 23:34:15 +0000 |
commit | e746186ed4f61bf5eba13112cb8419c95cf58e52 (patch) | |
tree | a90122c3aa0af4512f76e363dbe5a2dd1f5bb93d /include/llvm/CodeGen/DFAPacketizer.h | |
parent | 426f21573219eeba8f6981d7ddb4f1d2445b6343 (diff) |
Fix library visibility problems with VLIWPacketizer.
The existing framework for postra scheduling is library local. We want to keep it that way. Soon we will have a more general MachineScheduler interface. At that time, various bits will be exposed to targets. In the meantime, the VLIWPacketizer wants to use ScheduleDAGInstrs directly, so it needs to wrapped in a PIMPL to avoid exposing it to the target interface.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150633 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/DFAPacketizer.h')
-rw-r--r-- | include/llvm/CodeGen/DFAPacketizer.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/CodeGen/DFAPacketizer.h b/include/llvm/CodeGen/DFAPacketizer.h index a88e6dd428..d662c13942 100644 --- a/include/llvm/CodeGen/DFAPacketizer.h +++ b/include/llvm/CodeGen/DFAPacketizer.h @@ -36,7 +36,7 @@ class MachineInstr; class MachineLoopInfo; class MachineDominatorTree; class InstrItineraryData; -class ScheduleDAGInstrs; +class VLIWPacketizerImpl; class SUnit; class DFAPacketizer { @@ -91,8 +91,8 @@ class VLIWPacketizerList { const MachineFunction &MF; const TargetInstrInfo *TII; - // The VLIW Scheduler. - ScheduleDAGInstrs *VLIWScheduler; + // Encapsulate data types not exposed to the target interface. + VLIWPacketizerImpl *Impl; protected: // Vector of instructions assigned to the current packet. |