Lines Matching refs:TII

43   const MipsInstrInfo &TII;  member in __anon937613cf0111::MipsInstructionSelector
65 : InstructionSelector(), TM(TM), STI(STI), TII(*STI.getInstrInfo()), in MipsInstructionSelector()
77 static bool selectCopy(MachineInstr &I, const TargetInstrInfo &TII, in selectCopy() argument
87 LLVM_DEBUG(dbgs() << "Failed to constrain " << TII.getName(I.getOpcode()) in selectCopy()
103 return selectCopy(I, TII, MRI, TRI, RBI); in select()
117 MI = BuildMI(MBB, I, I.getDebugLoc(), TII.get(Mips::ADDu)) in select()
124 MI = BuildMI(MBB, I, I.getDebugLoc(), TII.get(Mips::ADDiu)) in select()
141 MI = BuildMI(MBB, I, I.getDebugLoc(), TII.get(NewOpc)) in select()
158 TII.get(IsSigned ? Mips::PseudoSDIV : Mips::PseudoUDIV)) in select()
162 if (!constrainSelectedInstRegOperands(*PseudoDIV, TII, TRI, RBI)) in select()
166 TII.get(IsDiv ? Mips::PseudoMFLO : Mips::PseudoMFHI)) in select()
169 if (!constrainSelectedInstRegOperands(*PseudoMove, TII, TRI, RBI)) in select()
177 MI = BuildMI(MBB, I, I.getDebugLoc(), TII.get(Mips::MOVN_I_I)) in select()
189 LUi = BuildMI(MBB, I, I.getDebugLoc(), TII.get(Mips::LUi)) in select()
193 ORi = BuildMI(MBB, I, I.getDebugLoc(), TII.get(Mips::ORi)) in select()
198 if (!constrainSelectedInstRegOperands(*LUi, TII, TRI, RBI)) in select()
200 if (!constrainSelectedInstRegOperands(*ORi, TII, TRI, RBI)) in select()
214 LUi = BuildMI(MBB, I, I.getDebugLoc(), TII.get(Mips::LUi)) in select()
219 ADDiu = BuildMI(MBB, I, I.getDebugLoc(), TII.get(Mips::ADDiu)) in select()
225 if (!constrainSelectedInstRegOperands(*LUi, TII, TRI, RBI)) in select()
227 if (!constrainSelectedInstRegOperands(*ADDiu, TII, TRI, RBI)) in select()
305 if (!MIB.constrainAllUses(TII, TRI, RBI)) in select()
317 return constrainSelectedInstRegOperands(*MI, TII, TRI, RBI); in select()