OLD | NEW |
---|---|
1 //===-- MipsMCInstLower.h - Lower MachineInstr to MCInst -------*- C++ -*--===// | 1 //===-- MipsMCInstLower.h - Lower MachineInstr to MCInst -------*- C++ -*--===// |
2 // | 2 // |
3 // The LLVM Compiler Infrastructure | 3 // The LLVM Compiler Infrastructure |
4 // | 4 // |
5 // This file is distributed under the University of Illinois Open Source | 5 // This file is distributed under the University of Illinois Open Source |
6 // License. See LICENSE.TXT for details. | 6 // License. See LICENSE.TXT for details. |
7 // | 7 // |
8 //===----------------------------------------------------------------------===// | 8 //===----------------------------------------------------------------------===// |
9 | 9 |
10 #ifndef MIPSMCINSTLOWER_H | 10 #ifndef MIPSMCINSTLOWER_H |
(...skipping 15 matching lines...) Expand all Loading... | |
26 // MCInst. | 26 // MCInst. |
27 class LLVM_LIBRARY_VISIBILITY MipsMCInstLower { | 27 class LLVM_LIBRARY_VISIBILITY MipsMCInstLower { |
28 typedef MachineOperand::MachineOperandType MachineOperandType; | 28 typedef MachineOperand::MachineOperandType MachineOperandType; |
29 MCContext *Ctx; | 29 MCContext *Ctx; |
30 Mangler *Mang; | 30 Mangler *Mang; |
31 MipsAsmPrinter &AsmPrinter; | 31 MipsAsmPrinter &AsmPrinter; |
32 public: | 32 public: |
33 MipsMCInstLower(MipsAsmPrinter &asmprinter); | 33 MipsMCInstLower(MipsAsmPrinter &asmprinter); |
34 void Initialize(Mangler *mang, MCContext *C); | 34 void Initialize(Mangler *mang, MCContext *C); |
35 void Lower(const MachineInstr *MI, MCInst &OutMI) const; | 35 void Lower(const MachineInstr *MI, MCInst &OutMI) const; |
36 // @LOCALMOD-START | |
37 void LowerLongBranchLUi(const MachineInstr *MI, MCInst &OutMI) const; | |
Mark Seaborn
2013/10/24 23:38:43
This isn't defined in this patch. Left over from
petarj
2013/11/21 18:23:42
Changed to correct function prototypes used in the
| |
38 void LowerLongBranchADDiu(const MachineInstr *MI, MCInst &OutMI) const; | |
39 // @LOCALMOD-END | |
36 MCOperand LowerOperand(const MachineOperand& MO, unsigned offset = 0) const; | 40 MCOperand LowerOperand(const MachineOperand& MO, unsigned offset = 0) const; |
37 | 41 |
38 private: | 42 private: |
39 MCOperand LowerSymbolOperand(const MachineOperand &MO, | 43 MCOperand LowerSymbolOperand(const MachineOperand &MO, |
40 MachineOperandType MOTy, unsigned Offset) const; | 44 MachineOperandType MOTy, unsigned Offset) const; |
41 }; | 45 }; |
42 } | 46 } |
43 | 47 |
44 #endif | 48 #endif |
OLD | NEW |