llvm.org GIT mirror llvm / 257ea92
Remove some unnecessary forward declarations and put a couple more where they're supposed to reside. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232014 91177308-0d34-0410-b5e6-96231b3b80d8 Eric Christopher 5 years ago
8 changed file(s) with 3 addition(s) and 24 deletion(s). Raw diff Collapse all Expand all
2020 #include "ARMGenRegisterInfo.inc"
2121
2222 namespace llvm {
23 class ARMSubtarget;
24 class ARMBaseInstrInfo;
25 class Type;
26
2723 /// Register allocation hints.
2824 namespace ARMRI {
2925 enum {
2525 namespace llvm {
2626
2727 struct EVT;
28
28 class HexagonSubtarget;
2929 class HexagonInstrInfo : public HexagonGenInstrInfo {
3030 virtual void anchor();
3131 const HexagonRegisterInfo RI;
3636 #define HEXAGON_RESERVED_REG_2 Hexagon::R11
3737
3838 namespace llvm {
39
40 class HexagonSubtarget;
41 class HexagonInstrInfo;
42 class Type;
43
4439 struct HexagonRegisterInfo : public HexagonGenRegisterInfo {
4540 HexagonRegisterInfo();
4641
2020 #include "MipsGenRegisterInfo.inc"
2121
2222 namespace llvm {
23 class Type;
24
2523 class MipsRegisterInfo : public MipsGenRegisterInfo {
2624 public:
2725 MipsRegisterInfo();
6262 };
6363 } // end namespace PPCII
6464
65
65 class PPCSubtarget;
6666 class PPCInstrInfo : public PPCGenInstrInfo {
6767 PPCSubtarget &Subtarget;
6868 const PPCRegisterInfo RI;
2121 #include "PPCGenRegisterInfo.inc"
2222
2323 namespace llvm {
24 class PPCSubtarget;
25 class TargetInstrInfo;
26 class Type;
27
2824 class PPCRegisterInfo : public PPCGenRegisterInfo {
2925 DenseMap ImmToIdxMap;
3026 const PPCTargetMachine &TM;
1919 #include "SparcGenRegisterInfo.inc"
2020
2121 namespace llvm {
22
23 class TargetInstrInfo;
24 class Type;
25
2622 struct SparcRegisterInfo : public SparcGenRegisterInfo {
2723 SparcRegisterInfo();
2824
1919 #include "X86GenRegisterInfo.inc"
2020
2121 namespace llvm {
22 class Type;
23 class TargetInstrInfo;
24 class X86Subtarget;
22 class X86Subtarget;
2523
2624 class X86RegisterInfo final : public X86GenRegisterInfo {
2725 public: