summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Mips/Mips16HardFloat.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Target/Mips/Mips16HardFloat.h')
-rw-r--r--llvm/lib/Target/Mips/Mips16HardFloat.h24
1 files changed, 3 insertions, 21 deletions
diff --git a/llvm/lib/Target/Mips/Mips16HardFloat.h b/llvm/lib/Target/Mips/Mips16HardFloat.h
index 586cc252353..a97e2cff9f4 100644
--- a/llvm/lib/Target/Mips/Mips16HardFloat.h
+++ b/llvm/lib/Target/Mips/Mips16HardFloat.h
@@ -15,29 +15,11 @@
#ifndef LLVM_LIB_TARGET_MIPS_MIPS16HARDFLOAT_H
#define LLVM_LIB_TARGET_MIPS_MIPS16HARDFLOAT_H
-#include "MCTargetDesc/MipsMCTargetDesc.h"
-#include "MipsTargetMachine.h"
-#include "llvm/Pass.h"
-#include "llvm/Target/TargetMachine.h"
-
-using namespace llvm;
-
namespace llvm {
-
-class Mips16HardFloat : public ModulePass {
-public:
- static char ID;
-
- Mips16HardFloat(MipsTargetMachine &TM_) : ModulePass(ID), TM(TM_) {}
-
- const char *getPassName() const override { return "MIPS16 Hard Float Pass"; }
- bool runOnModule(Module &M) override;
-
-protected:
- const MipsTargetMachine &TM;
-};
+class MipsTargetMachine;
+class ModulePass;
ModulePass *createMips16HardFloat(MipsTargetMachine &TM);
-
}
+
#endif
OpenPOWER on IntegriCloud