Jack Carter | a7570a3 | 2012-09-06 02:31:34 +0000 | [diff] [blame] | 1 | //===-- MipsDirectObjLower.h - Mips LLVM direct object lowering *- C++ -*--===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | |
| 10 | #ifndef MIPSDIRECTOBJLOWER_H |
| 11 | #define MIPSDIRECTOBJLOWER_H |
| 12 | #include "llvm/ADT/SmallVector.h" |
| 13 | #include "llvm/Support/Compiler.h" |
| 14 | |
| 15 | namespace llvm { |
| 16 | class MCInst; |
| 17 | class MCStreamer; |
| 18 | |
| 19 | namespace Mips { |
| 20 | /// MipsDirectObjLower - This name space is used to lower MCInstr in cases |
| 21 | // where the assembler usually finishes the lowering |
| 22 | // such as large shifts. |
| 23 | void LowerLargeShift(MCInst &Inst); |
| 24 | void LowerDextDins(MCInst &Inst); |
| 25 | } |
| 26 | } |
| 27 | |
| 28 | #endif |