Lines Matching refs:Opc
65 unsigned Opc = 0; in copyPhysReg() local
69 Opc = Mips::MoveR3216; in copyPhysReg()
72 Opc = Mips::Move32R16; in copyPhysReg()
75 Opc = Mips::Mfhi16, SrcReg = 0; in copyPhysReg()
79 Opc = Mips::Mflo16, SrcReg = 0; in copyPhysReg()
82 assert(Opc && "Cannot copy registers"); in copyPhysReg()
84 MachineInstrBuilder MIB = BuildMI(MBB, I, DL, get(Opc)); in copyPhysReg()
102 unsigned Opc = 0; in storeRegToStack() local
104 Opc = Mips::SwRxSpImmX16; in storeRegToStack()
105 assert(Opc && "Register class not handled!"); in storeRegToStack()
106 BuildMI(MBB, I, DL, get(Opc)).addReg(SrcReg, getKillRegState(isKill)). in storeRegToStack()
120 unsigned Opc = 0; in loadRegFromStack() local
123 Opc = Mips::LwRxSpImmX16; in loadRegFromStack()
124 assert(Opc && "Register class not handled!"); in loadRegFromStack()
125 BuildMI(MBB, I, DL, get(Opc), DestReg).addFrameIndex(FI).addImm(Offset) in loadRegFromStack()
145 unsigned Mips16InstrInfo::getOppositeBranchOpc(unsigned Opc) const { in getOppositeBranchOpc()
146 switch (Opc) { in getOppositeBranchOpc()
205 unsigned Opc = ((FrameSize <= 128) && !SaveS2)? Mips::Save16:Mips::SaveX16; in makeFrame() local
206 MIB = BuildMI(MBB, I, DL, get(Opc)); in makeFrame()
235 unsigned Opc = ((FrameSize <= 128) && !SaveS2)? in restoreFrame() local
249 MIB = BuildMI(MBB, I, DL, get(Opc)); in restoreFrame()
419 unsigned Mips16InstrInfo::getAnalyzableBrOpc(unsigned Opc) const { in getAnalyzableBrOpc()
420 return (Opc == Mips::BeqzRxImmX16 || Opc == Mips::BimmX16 || in getAnalyzableBrOpc()
421 Opc == Mips::Bimm16 || in getAnalyzableBrOpc()
422 Opc == Mips::Bteqz16 || Opc == Mips::Btnez16 || in getAnalyzableBrOpc()
423 Opc == Mips::BeqzRxImm16 || Opc == Mips::BnezRxImm16 || in getAnalyzableBrOpc()
424 Opc == Mips::BnezRxImmX16 || Opc == Mips::BteqzX16 || in getAnalyzableBrOpc()
425 Opc == Mips::BteqzT8CmpX16 || Opc == Mips::BteqzT8CmpiX16 || in getAnalyzableBrOpc()
426 Opc == Mips::BteqzT8SltX16 || Opc == Mips::BteqzT8SltuX16 || in getAnalyzableBrOpc()
427 Opc == Mips::BteqzT8SltiX16 || Opc == Mips::BteqzT8SltiuX16 || in getAnalyzableBrOpc()
428 Opc == Mips::BtnezX16 || Opc == Mips::BtnezT8CmpX16 || in getAnalyzableBrOpc()
429 Opc == Mips::BtnezT8CmpiX16 || Opc == Mips::BtnezT8SltX16 || in getAnalyzableBrOpc()
430 Opc == Mips::BtnezT8SltuX16 || Opc == Mips::BtnezT8SltiX16 || in getAnalyzableBrOpc()
431 Opc == Mips::BtnezT8SltiuX16 ) ? Opc : 0; in getAnalyzableBrOpc()
436 unsigned Opc) const { in ExpandRetRA16()
437 BuildMI(MBB, I, I->getDebugLoc(), get(Opc)); in ExpandRetRA16()