summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Hexagon/HexagonMCInstLower.cpp
diff options
context:
space:
mode:
authorEugene Zelenko <eugene.zelenko@gmail.com>2017-08-01 21:20:10 +0000
committerEugene Zelenko <eugene.zelenko@gmail.com>2017-08-01 21:20:10 +0000
commit52889219effe9cb3646b921a1dec74d4e139ee7d (patch)
tree4341d268a416063561cce73912e1e50284a5ccf0 /llvm/lib/Target/Hexagon/HexagonMCInstLower.cpp
parentd4e03d59cb23b9639096264acf8e973589b4f5ad (diff)
downloadbcm5719-llvm-52889219effe9cb3646b921a1dec74d4e139ee7d.tar.gz
bcm5719-llvm-52889219effe9cb3646b921a1dec74d4e139ee7d.zip
[Hexagon] Fix some Clang-tidy modernize-use-using and Include What You Use warnings; other minor fixes (NFC).
llvm-svn: 309746
Diffstat (limited to 'llvm/lib/Target/Hexagon/HexagonMCInstLower.cpp')
-rw-r--r--llvm/lib/Target/Hexagon/HexagonMCInstLower.cpp20
1 files changed, 14 insertions, 6 deletions
diff --git a/llvm/lib/Target/Hexagon/HexagonMCInstLower.cpp b/llvm/lib/Target/Hexagon/HexagonMCInstLower.cpp
index 072501d8260..fb5752ade1d 100644
--- a/llvm/lib/Target/Hexagon/HexagonMCInstLower.cpp
+++ b/llvm/lib/Target/Hexagon/HexagonMCInstLower.cpp
@@ -14,22 +14,30 @@
#include "Hexagon.h"
#include "HexagonAsmPrinter.h"
-#include "HexagonMachineFunctionInfo.h"
+#include "MCTargetDesc/HexagonMCExpr.h"
#include "MCTargetDesc/HexagonMCInstrInfo.h"
-
+#include "MCTargetDesc/HexagonMCTargetDesc.h"
+#include "llvm/ADT/APFloat.h"
+#include "llvm/ADT/APInt.h"
#include "llvm/CodeGen/MachineBasicBlock.h"
+#include "llvm/CodeGen/MachineInstr.h"
+#include "llvm/CodeGen/MachineOperand.h"
#include "llvm/IR/Constants.h"
-#include "llvm/IR/Mangler.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCInst.h"
+#include "llvm/Support/ErrorHandling.h"
+#include "llvm/Support/raw_ostream.h"
+#include <cassert>
using namespace llvm;
namespace llvm {
- void HexagonLowerToMC(const MCInstrInfo &MCII, const MachineInstr *MI,
- MCInst &MCB, HexagonAsmPrinter &AP);
-}
+
+void HexagonLowerToMC(const MCInstrInfo &MCII, const MachineInstr *MI,
+ MCInst &MCB, HexagonAsmPrinter &AP);
+
+} // end namespace llvm
static MCOperand GetSymbolRef(const MachineOperand &MO, const MCSymbol *Symbol,
HexagonAsmPrinter &Printer, bool MustExtend) {
OpenPOWER on IntegriCloud