Lines Matching refs:Mips
1 //===-- MipsInstPrinter.cpp - Convert Mips MCInst to assembly syntax ------===//
10 // This class prints an Mips MCInst to a .s file.
37 const char* Mips::MipsFCCToString(Mips::CondCode CC) {
84 case Mips::RDHWR:
85 case Mips::RDHWR64:
89 case Mips::Save16:
94 case Mips::SaveX16:
99 case Mips::Restore16:
104 case Mips::RestoreX16:
119 case Mips::RDHWR:
120 case Mips::RDHWR64:
235 case Mips::SWM32_MM:
236 case Mips::LWM32_MM:
237 case Mips::SWM16_MM:
238 case Mips::SWM16_MMR6:
239 case Mips::LWM16_MM:
240 case Mips::LWM16_MMR6:
264 O << MipsFCCToString((Mips::CondCode)MO.getImm());
295 case Mips::BEQ:
296 case Mips::BEQ_MM:
299 return (isReg<Mips::ZERO>(MI, 0) && isReg<Mips::ZERO>(MI, 1) &&
301 (isReg<Mips::ZERO>(MI, 1) && printAlias("beqz", MI, 0, 2, OS));
302 case Mips::BEQ64:
304 return isReg<Mips::ZERO_64>(MI, 1) && printAlias("beqz", MI, 0, 2, OS);
305 case Mips::BNE:
307 return isReg<Mips::ZERO>(MI, 1) && printAlias("bnez", MI, 0, 2, OS);
308 case Mips::BNE64:
310 return isReg<Mips::ZERO_64>(MI, 1) && printAlias("bnez", MI, 0, 2, OS);
311 case Mips::BGEZAL:
313 return isReg<Mips::ZERO>(MI, 0) && printAlias("bal", MI, 1, OS);
314 case Mips::BC1T:
316 return isReg<Mips::FCC0>(MI, 0) && printAlias("bc1t", MI, 1, OS);
317 case Mips::BC1F:
319 return isReg<Mips::FCC0>(MI, 0) && printAlias("bc1f", MI, 1, OS);
320 case Mips::JALR:
322 return isReg<Mips::RA>(MI, 0) && printAlias("jalr", MI, 1, OS);
323 case Mips::JALR64:
325 return isReg<Mips::RA_64>(MI, 0) && printAlias("jalr", MI, 1, OS);
326 case Mips::NOR:
327 case Mips::NOR_MM:
329 return isReg<Mips::ZERO>(MI, 2) && printAlias("not", MI, 0, 1, OS);
330 case Mips::NOR64:
332 return isReg<Mips::ZERO_64>(MI, 2) && printAlias("not", MI, 0, 1, OS);
333 case Mips::OR:
335 return isReg<Mips::ZERO>(MI, 2) && printAlias("move", MI, 0, 1, OS);