summaryrefslogtreecommitdiff
path: root/lib/Target/Mips/MCTargetDesc/MipsDirectObjLower.h
blob: 8813cc9ac7a43d02360247f80ec000827463f913 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
//===-- MipsDirectObjLower.h - Mips LLVM direct object lowering *- C++ -*--===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

#ifndef MIPSDIRECTOBJLOWER_H
#define MIPSDIRECTOBJLOWER_H
#include "llvm/ADT/SmallVector.h"
#include "llvm/Support/Compiler.h"

namespace llvm {
  class MCInst;
  class MCStreamer;

  namespace Mips {
  /// MipsDirectObjLower - This name space is used to lower MCInstr in cases
  //                       where the assembler usually finishes the lowering
  //                       such as large shifts.
    void LowerLargeShift(MCInst &Inst);
    void LowerDextDins(MCInst &Inst);
  }
}

#endif