llvm.org GIT mirror llvm / f63ba18
[XCore] Fix some Include What You Use warnings; other minor fixes (NFC). This is preparation to reduce MCExpr.h dependencies. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294051 91177308-0d34-0410-b5e6-96231b3b80d8 Eugene Zelenko 3 years ago
2 changed file(s) with 9 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
1111 //===----------------------------------------------------------------------===//
1212
1313 #include "XCoreInstPrinter.h"
14 #include "llvm/ADT/StringExtras.h"
14 #include "llvm/ADT/StringRef.h"
1515 #include "llvm/MC/MCExpr.h"
1616 #include "llvm/MC/MCInst.h"
17 #include "llvm/MC/MCInstrInfo.h"
1817 #include "llvm/MC/MCSymbol.h"
18 #include "llvm/Support/Casting.h"
1919 #include "llvm/Support/ErrorHandling.h"
2020 #include "llvm/Support/raw_ostream.h"
21 #include
22
2123 using namespace llvm;
2224
2325 #define DEBUG_TYPE "asm-printer"
1414
1515 #ifndef LLVM_LIB_TARGET_XCORE_INSTPRINTER_XCOREINSTPRINTER_H
1616 #define LLVM_LIB_TARGET_XCORE_INSTPRINTER_XCOREINSTPRINTER_H
17
18 #include "llvm/ADT/StringRef.h"
1719 #include "llvm/MC/MCInstPrinter.h"
1820
1921 namespace llvm {
3133 void printRegName(raw_ostream &OS, unsigned RegNo) const override;
3234 void printInst(const MCInst *MI, raw_ostream &O, StringRef Annot,
3335 const MCSubtargetInfo &STI) override;
36
3437 private:
3538 void printInlineJT(const MCInst *MI, int opNum, raw_ostream &O);
3639 void printInlineJT32(const MCInst *MI, int opNum, raw_ostream &O);
3740 void printOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O);
3841 void printMemOperand(const MCInst *MI, int opNum, raw_ostream &O);
3942 };
43
4044 } // end namespace llvm
4145
42 #endif
46 #endif // LLVM_LIB_TARGET_XCORE_INSTPRINTER_XCOREINSTPRINTER_H