mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-15 05:24:01 +00:00
Reformatting. Moving class definitions to more natural places. No functionalogical changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132876 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -52,27 +52,13 @@ namespace llvm {
|
|||||||
class Constant;
|
class Constant;
|
||||||
class GlobalVariable;
|
class GlobalVariable;
|
||||||
class MDNode;
|
class MDNode;
|
||||||
|
class MMIAddrLabelMap;
|
||||||
class MachineBasicBlock;
|
class MachineBasicBlock;
|
||||||
class MachineFunction;
|
class MachineFunction;
|
||||||
class Module;
|
class Module;
|
||||||
class PointerType;
|
class PointerType;
|
||||||
class StructType;
|
class StructType;
|
||||||
|
|
||||||
/// MachineModuleInfoImpl - This class can be derived from and used by targets
|
|
||||||
/// to hold private target-specific information for each Module. Objects of
|
|
||||||
/// type are accessed/created with MMI::getInfo and destroyed when the
|
|
||||||
/// MachineModuleInfo is destroyed.
|
|
||||||
class MachineModuleInfoImpl {
|
|
||||||
public:
|
|
||||||
typedef PointerIntPair<MCSymbol*, 1, bool> StubValueTy;
|
|
||||||
virtual ~MachineModuleInfoImpl();
|
|
||||||
typedef std::vector<std::pair<MCSymbol*, StubValueTy> > SymbolListTy;
|
|
||||||
protected:
|
|
||||||
static SymbolListTy GetSortedStubs(const DenseMap<MCSymbol*, StubValueTy>&);
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
/// LandingPadInfo - This structure is used to retain landing pad info for
|
/// LandingPadInfo - This structure is used to retain landing pad info for
|
||||||
/// the current function.
|
/// the current function.
|
||||||
@ -89,7 +75,20 @@ struct LandingPadInfo {
|
|||||||
: LandingPadBlock(MBB), LandingPadLabel(0), Personality(0) {}
|
: LandingPadBlock(MBB), LandingPadLabel(0), Personality(0) {}
|
||||||
};
|
};
|
||||||
|
|
||||||
class MMIAddrLabelMap;
|
//===----------------------------------------------------------------------===//
|
||||||
|
/// MachineModuleInfoImpl - This class can be derived from and used by targets
|
||||||
|
/// to hold private target-specific information for each Module. Objects of
|
||||||
|
/// type are accessed/created with MMI::getInfo and destroyed when the
|
||||||
|
/// MachineModuleInfo is destroyed.
|
||||||
|
///
|
||||||
|
class MachineModuleInfoImpl {
|
||||||
|
public:
|
||||||
|
typedef PointerIntPair<MCSymbol*, 1, bool> StubValueTy;
|
||||||
|
virtual ~MachineModuleInfoImpl();
|
||||||
|
typedef std::vector<std::pair<MCSymbol*, StubValueTy> > SymbolListTy;
|
||||||
|
protected:
|
||||||
|
static SymbolListTy GetSortedStubs(const DenseMap<MCSymbol*, StubValueTy>&);
|
||||||
|
};
|
||||||
|
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
/// MachineModuleInfo - This class contains meta information specific to a
|
/// MachineModuleInfo - This class contains meta information specific to a
|
||||||
|
Reference in New Issue
Block a user