[CodeGen] Reduce visibility of implementation details
authorBenjamin Kramer <benny.kra@googlemail.com>
Wed, 1 Jul 2015 14:47:39 +0000 (14:47 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Wed, 1 Jul 2015 14:47:39 +0000 (14:47 +0000)
NFC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241164 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/AggressiveAntiDepBreaker.h
lib/CodeGen/AllocationOrder.h
lib/CodeGen/AntiDepBreaker.h
lib/CodeGen/BranchFolding.h
lib/CodeGen/CriticalAntiDepBreaker.h
lib/CodeGen/InterferenceCache.h
lib/CodeGen/LiveDebugVariables.h
lib/CodeGen/SplitKit.h

index 18c8bb591c1c823d167f32dd17fa654f468d4cad..eba7383966069c673f9ddff6473121ab5eaeadd4 100644 (file)
@@ -33,7 +33,7 @@ namespace llvm {
 class RegisterClassInfo;
 
   /// Contains all the state necessary for anti-dep breaking.
-  class AggressiveAntiDepState {
+class LLVM_LIBRARY_VISIBILITY AggressiveAntiDepState {
   public:
     /// Information about a register reference within a liverange
     typedef struct {
@@ -108,8 +108,8 @@ class RegisterClassInfo;
     bool IsLive(unsigned Reg);
   };
 
-
-  class AggressiveAntiDepBreaker : public AntiDepBreaker {
+  class LLVM_LIBRARY_VISIBILITY AggressiveAntiDepBreaker
+      : public AntiDepBreaker {
     MachineFunction& MF;
     MachineRegisterInfo &MRI;
     const TargetInstrInfo *TII;
index 1e4eaa76ee7fcd15ccd673df2cfa935a96bc8e0b..02b2d9250bc893999f9cc93d5f874c38a308f751 100644 (file)
@@ -25,7 +25,7 @@ namespace llvm {
 class RegisterClassInfo;
 class VirtRegMap;
 
-class AllocationOrder {
+class LLVM_LIBRARY_VISIBILITY AllocationOrder {
   SmallVector<MCPhysReg, 16> Hints;
   ArrayRef<MCPhysReg> Order;
   int Pos;
index a61a8efa4da01bdc871254912a3dd62110e00ab5..9f05200dcdf34acf9ae993a10882aa5bb99cd3d9 100644 (file)
@@ -27,7 +27,7 @@ namespace llvm {
 
 /// This class works in conjunction with the post-RA scheduler to rename
 /// registers to break register anti-dependencies (WAR hazards).
-class AntiDepBreaker {
+class LLVM_LIBRARY_VISIBILITY AntiDepBreaker {
 public:
   typedef std::vector<std::pair<MachineInstr *, MachineInstr *> > 
     DbgValueVector;
index 3653a2ccd62375462bf2d1e911ae74c8c16ef9b4..46c05dc0600a214026a668ba47bd9b41920c18d0 100644 (file)
@@ -24,7 +24,7 @@ namespace llvm {
   class TargetInstrInfo;
   class TargetRegisterInfo;
 
-  class BranchFolder {
+  class LLVM_LIBRARY_VISIBILITY BranchFolder {
   public:
     explicit BranchFolder(bool defaultEnableTailMerge, bool CommonHoist,
                           const MachineBlockFrequencyInfo &MBFI,
index af011a0a65f682cade9efc039df3dfd82ff94477..10b873959ad0d4c797887daced150cdf757831a2 100644 (file)
@@ -31,7 +31,7 @@ class RegisterClassInfo;
 class TargetInstrInfo;
 class TargetRegisterInfo;
 
-  class CriticalAntiDepBreaker : public AntiDepBreaker {
+class LLVM_LIBRARY_VISIBILITY CriticalAntiDepBreaker : public AntiDepBreaker {
     MachineFunction& MF;
     MachineRegisterInfo &MRI;
     const TargetInstrInfo *TII;
index 6519a806e57d74badbfa57727a5573aae706479b..18aa5c7c5ad6257eb385182401d994ea65310be6 100644 (file)
@@ -21,7 +21,7 @@ namespace llvm {
 
 class LiveIntervals;
 
-class InterferenceCache {
+class LLVM_LIBRARY_VISIBILITY InterferenceCache {
   const TargetRegisterInfo *TRI;
   LiveIntervalUnion *LIUArray;
   MachineFunction *MF;
index ac2d1a136bca19db493697e02d9ff73ec86245b2..694aa1770c9cf64c50e1e34cd30462a26637cb82 100644 (file)
@@ -31,7 +31,7 @@ class LiveInterval;
 class LiveIntervals;
 class VirtRegMap;
 
-class LiveDebugVariables : public MachineFunctionPass {
+class LLVM_LIBRARY_VISIBILITY LiveDebugVariables : public MachineFunctionPass {
   void *pImpl;
   DenseMap<const Function *, DISubprogram *> FunctionDIs;
 
index a0627634a822270e26af3e507426d0d2c3ceac0c..69c65ff3f61d0a4dcb239c5a67d80ee6626457d0 100644 (file)
@@ -39,7 +39,7 @@ class raw_ostream;
 
 /// SplitAnalysis - Analyze a LiveInterval, looking for live range splitting
 /// opportunities.
-class SplitAnalysis {
+class LLVM_LIBRARY_VISIBILITY SplitAnalysis {
 public:
   const MachineFunction &MF;
   const VirtRegMap &VRM;
@@ -208,7 +208,7 @@ public:
 /// - Finish the current interval with closeIntv and repeat from 2.
 /// - Rewrite instructions with finish().
 ///
-class SplitEditor {
+class LLVM_LIBRARY_VISIBILITY SplitEditor {
   SplitAnalysis &SA;
   LiveIntervals &LIS;
   VirtRegMap &VRM;