#include "MipsMCInstLower.h"
#include "MCTargetDesc/MipsBaseInfo.h"
#include "MCTargetDesc/MipsMCExpr.h"
#include "MipsAsmPrinter.h"
#include "llvm/CodeGen/MachineBasicBlock.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/MachineOperand.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCInst.h"
#include "llvm/Support/ErrorHandling.h"
usingnamespacellvm;
MipsMCInstLower::MipsMCInstLower(MipsAsmPrinter &asmprinter)
: … { … }
void MipsMCInstLower::Initialize(MCContext *C) { … }
MCOperand MipsMCInstLower::LowerSymbolOperand(const MachineOperand &MO,
MachineOperandType MOTy,
int64_t Offset) const { … }
MCOperand MipsMCInstLower::LowerOperand(const MachineOperand &MO,
int64_t offset) const { … }
MCOperand MipsMCInstLower::createSub(MachineBasicBlock *BB1,
MachineBasicBlock *BB2,
MipsMCExpr::MipsExprKind Kind) const { … }
void MipsMCInstLower::
lowerLongBranchLUi(const MachineInstr *MI, MCInst &OutMI) const { … }
void MipsMCInstLower::lowerLongBranchADDiu(const MachineInstr *MI,
MCInst &OutMI, int Opcode) const { … }
bool MipsMCInstLower::lowerLongBranch(const MachineInstr *MI,
MCInst &OutMI) const { … }
void MipsMCInstLower::Lower(const MachineInstr *MI, MCInst &OutMI) const { … }