[CodeGen] Reduce visibility of implementation details

NFC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241164 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Benjamin Kramer 2015-07-01 14:47:39 +00:00
parent bcc1a5c01a
commit b453775cc2
8 changed files with 11 additions and 11 deletions

View File

@ -33,7 +33,7 @@ namespace llvm {
class RegisterClassInfo; class RegisterClassInfo;
/// Contains all the state necessary for anti-dep breaking. /// Contains all the state necessary for anti-dep breaking.
class AggressiveAntiDepState { class LLVM_LIBRARY_VISIBILITY AggressiveAntiDepState {
public: public:
/// Information about a register reference within a liverange /// Information about a register reference within a liverange
typedef struct { typedef struct {
@ -108,8 +108,8 @@ class RegisterClassInfo;
bool IsLive(unsigned Reg); bool IsLive(unsigned Reg);
}; };
class LLVM_LIBRARY_VISIBILITY AggressiveAntiDepBreaker
class AggressiveAntiDepBreaker : public AntiDepBreaker { : public AntiDepBreaker {
MachineFunction& MF; MachineFunction& MF;
MachineRegisterInfo &MRI; MachineRegisterInfo &MRI;
const TargetInstrInfo *TII; const TargetInstrInfo *TII;

View File

@ -25,7 +25,7 @@ namespace llvm {
class RegisterClassInfo; class RegisterClassInfo;
class VirtRegMap; class VirtRegMap;
class AllocationOrder { class LLVM_LIBRARY_VISIBILITY AllocationOrder {
SmallVector<MCPhysReg, 16> Hints; SmallVector<MCPhysReg, 16> Hints;
ArrayRef<MCPhysReg> Order; ArrayRef<MCPhysReg> Order;
int Pos; int Pos;

View File

@ -27,7 +27,7 @@ namespace llvm {
/// This class works in conjunction with the post-RA scheduler to rename /// This class works in conjunction with the post-RA scheduler to rename
/// registers to break register anti-dependencies (WAR hazards). /// registers to break register anti-dependencies (WAR hazards).
class AntiDepBreaker { class LLVM_LIBRARY_VISIBILITY AntiDepBreaker {
public: public:
typedef std::vector<std::pair<MachineInstr *, MachineInstr *> > typedef std::vector<std::pair<MachineInstr *, MachineInstr *> >
DbgValueVector; DbgValueVector;

View File

@ -24,7 +24,7 @@ namespace llvm {
class TargetInstrInfo; class TargetInstrInfo;
class TargetRegisterInfo; class TargetRegisterInfo;
class BranchFolder { class LLVM_LIBRARY_VISIBILITY BranchFolder {
public: public:
explicit BranchFolder(bool defaultEnableTailMerge, bool CommonHoist, explicit BranchFolder(bool defaultEnableTailMerge, bool CommonHoist,
const MachineBlockFrequencyInfo &MBFI, const MachineBlockFrequencyInfo &MBFI,

View File

@ -31,7 +31,7 @@ class RegisterClassInfo;
class TargetInstrInfo; class TargetInstrInfo;
class TargetRegisterInfo; class TargetRegisterInfo;
class CriticalAntiDepBreaker : public AntiDepBreaker { class LLVM_LIBRARY_VISIBILITY CriticalAntiDepBreaker : public AntiDepBreaker {
MachineFunction& MF; MachineFunction& MF;
MachineRegisterInfo &MRI; MachineRegisterInfo &MRI;
const TargetInstrInfo *TII; const TargetInstrInfo *TII;

View File

@ -21,7 +21,7 @@ namespace llvm {
class LiveIntervals; class LiveIntervals;
class InterferenceCache { class LLVM_LIBRARY_VISIBILITY InterferenceCache {
const TargetRegisterInfo *TRI; const TargetRegisterInfo *TRI;
LiveIntervalUnion *LIUArray; LiveIntervalUnion *LIUArray;
MachineFunction *MF; MachineFunction *MF;

View File

@ -31,7 +31,7 @@ class LiveInterval;
class LiveIntervals; class LiveIntervals;
class VirtRegMap; class VirtRegMap;
class LiveDebugVariables : public MachineFunctionPass { class LLVM_LIBRARY_VISIBILITY LiveDebugVariables : public MachineFunctionPass {
void *pImpl; void *pImpl;
DenseMap<const Function *, DISubprogram *> FunctionDIs; DenseMap<const Function *, DISubprogram *> FunctionDIs;

View File

@ -39,7 +39,7 @@ class raw_ostream;
/// SplitAnalysis - Analyze a LiveInterval, looking for live range splitting /// SplitAnalysis - Analyze a LiveInterval, looking for live range splitting
/// opportunities. /// opportunities.
class SplitAnalysis { class LLVM_LIBRARY_VISIBILITY SplitAnalysis {
public: public:
const MachineFunction &MF; const MachineFunction &MF;
const VirtRegMap &VRM; const VirtRegMap &VRM;
@ -208,7 +208,7 @@ public:
/// - Finish the current interval with closeIntv and repeat from 2. /// - Finish the current interval with closeIntv and repeat from 2.
/// - Rewrite instructions with finish(). /// - Rewrite instructions with finish().
/// ///
class SplitEditor { class LLVM_LIBRARY_VISIBILITY SplitEditor {
SplitAnalysis &SA; SplitAnalysis &SA;
LiveIntervals &LIS; LiveIntervals &LIS;
VirtRegMap &VRM; VirtRegMap &VRM;