Lines Matching refs:Opc

149   MachineInstrBuilder emitInst(unsigned Opc) {  in emitInst()  argument
150 return BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc)); in emitInst()
152 MachineInstrBuilder emitInst(unsigned Opc, unsigned DstReg) { in emitInst() argument
153 return BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), in emitInst()
156 MachineInstrBuilder emitInstStore(unsigned Opc, unsigned SrcReg, in emitInstStore() argument
158 return emitInst(Opc).addReg(SrcReg).addReg(MemReg).addImm(MemOffset); in emitInstStore()
160 MachineInstrBuilder emitInstLoad(unsigned Opc, unsigned DstReg, in emitInstLoad() argument
162 return emitInst(Opc, DstReg).addReg(MemReg).addImm(MemOffset); in emitInstLoad()
238 unsigned Opc; in emitLogicalOp() local
241 Opc = Mips::AND; in emitLogicalOp()
244 Opc = Mips::OR; in emitLogicalOp()
247 Opc = Mips::XOR; in emitLogicalOp()
269 emitInst(Opc, ResultReg).addReg(LHSReg).addReg(RHSReg); in emitLogicalOp()
308 unsigned Opc = Mips::ADDiu; in materialize32BitInt() local
309 emitInst(Opc, ResultReg).addReg(Mips::ZERO).addImm(Imm); in materialize32BitInt()
659 unsigned Opc, CondMovOpc; in emitCmp() local
662 Opc = IsFloat ? Mips::C_EQ_S : Mips::C_EQ_D32; in emitCmp()
666 Opc = IsFloat ? Mips::C_EQ_S : Mips::C_EQ_D32; in emitCmp()
670 Opc = IsFloat ? Mips::C_OLT_S : Mips::C_OLT_D32; in emitCmp()
674 Opc = IsFloat ? Mips::C_OLE_S : Mips::C_OLE_D32; in emitCmp()
678 Opc = IsFloat ? Mips::C_ULE_S : Mips::C_ULE_D32; in emitCmp()
682 Opc = IsFloat ? Mips::C_ULT_S : Mips::C_ULT_D32; in emitCmp()
692 emitInst(Opc).addReg(LeftReg).addReg(RightReg).addReg( in emitCmp()
709 unsigned Opc; in emitLoad() local
713 Opc = Mips::LW; in emitLoad()
718 Opc = Mips::LHu; in emitLoad()
723 Opc = Mips::LBu; in emitLoad()
730 Opc = Mips::LWC1; in emitLoad()
737 Opc = Mips::LDC1; in emitLoad()
745 emitInstLoad(Opc, ResultReg, Addr.getReg(), Addr.getOffset()); in emitLoad()
756 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ResultReg) in emitLoad()
770 unsigned Opc; in emitStore() local
773 Opc = Mips::SB; in emitStore()
776 Opc = Mips::SH; in emitStore()
779 Opc = Mips::SW; in emitStore()
784 Opc = Mips::SWC1; in emitStore()
789 Opc = Mips::SDC1; in emitStore()
796 emitInstStore(Opc, SrcReg, Addr.getReg(), Addr.getOffset()); in emitStore()
807 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc)) in emitStore()
1063 unsigned Opc = (SrcVT == MVT::f32) ? Mips::TRUNC_W_S : Mips::TRUNC_W_D32; in selectFPToInt() local
1066 emitInst(Opc, TempReg).addReg(SrcReg); in selectFPToInt()