Mips16InstrInfo::Mips16InstrInfo(MipsTargetMachine &tm)
    : MipsInstrInfo(tm, Mips::BimmX16),
      RI(*tm.getSubtargetImpl()) {}
Example #2
0
MipsSEInstrInfo::MipsSEInstrInfo(MipsTargetMachine &tm)
  : MipsInstrInfo(tm,
                  tm.getRelocationModel() == Reloc::PIC_ ? Mips::B : Mips::J),
    RI(*tm.getSubtargetImpl()),
    IsN64(tm.getSubtarget<MipsSubtarget>().isABI_N64()) {}
Mips16InstrInfo::Mips16InstrInfo(MipsTargetMachine &tm)
  : MipsInstrInfo(tm, /* FIXME: set mips16 unconditional br */ 0),
    RI(*tm.getSubtargetImpl()) {}