Lines Matching refs:Mips
1 //===-- MipsAsmParser.cpp - Parse Mips assembly to MCInst instructions ----===//
168 return (STI.getFeatureBits() & Mips::FeatureMips64) != 0;
172 return (STI.getFeatureBits() & Mips::FeatureFP64Bit) != 0;
214 /// MipsOperand - Instances of this class represent a parsed Mips machine
452 NopInst.setOpcode(Mips::SLL);
453 NopInst.addOperand(MCOperand::CreateReg(Mips::ZERO));
454 NopInst.addOperand(MCOperand::CreateReg(Mips::ZERO));
505 case Mips::LoadImm32Reg:
506 case Mips::LoadAddr32Imm:
507 case Mips::LoadAddr32Reg:
517 case Mips::LoadImm32Reg:
519 case Mips::LoadAddr32Imm:
521 case Mips::LoadAddr32Reg:
539 tmpInst.setOpcode(Mips::ORi);
541 tmpInst.addOperand(MCOperand::CreateReg(Mips::ZERO));
547 tmpInst.setOpcode(Mips::ADDiu);
549 tmpInst.addOperand(MCOperand::CreateReg(Mips::ZERO));
556 tmpInst.setOpcode(Mips::LUi);
561 tmpInst.setOpcode(Mips::ORi);
583 tmpInst.setOpcode(Mips::ADDiu);
593 tmpInst.setOpcode(Mips::LUi);
598 tmpInst.setOpcode(Mips::ORi);
604 tmpInst.setOpcode(Mips::ADDu);
623 tmpInst.setOpcode(Mips::ADDiu);
625 tmpInst.addOperand(MCOperand::CreateReg(Mips::ZERO));
632 tmpInst.setOpcode(Mips::LUi);
637 tmpInst.setOpcode(Mips::ORi);
652 unsigned AtRegNum = getReg((isMips64()) ? Mips::GPR64RegClassID
653 : Mips::GPR32RegClassID, getATReg());
677 TempInst.setOpcode(Mips::LUi);
698 TempInst.setOpcode(Mips::ADDu);
839 return getReg(Mips::FGR32RegClassID, IntVal);
842 return getReg(Mips::FGR64RegClassID, IntVal);
847 return getReg(Mips::AFGR64RegClassID, IntVal / 2);
856 return Mips::FCC0;
861 return matchRegisterByNumber(CC, is64BitReg ? Mips::GPR64RegClassID
862 : Mips::GPR32RegClassID);
917 is64BitReg ? Mips::GPR64RegClassID : Mips::GPR32RegClassID);
1211 Operands.push_back(MipsOperand::CreateMem(isMips64() ? Mips::ZERO_64
1212 : Mips::ZERO,
1369 unsigned Reg = matchRegisterByNumber(IntVal, Mips::FCCRegClassID);
1402 unsigned Reg = matchRegisterByNumber(IntVal, Mips::ACRegsDSPRegClassID);
1433 ? Mips::GPR64RegClassID
1434 : Mips::GPR32RegClassID);
1491 MipsOperand *op = MipsOperand::CreateReg(Mips::HWR29, S,
1521 MipsOperand *op = MipsOperand::CreateReg(Mips::HWR29_64, S,
1544 unsigned Reg = matchRegisterByNumber(Tok.getIntVal(), Mips::CCRRegClassID);