Lines Matching refs:Opc

113     unsigned fastEmit_i(MVT Ty, MVT RetTy, unsigned Opc, uint64_t Imm) override;
452 unsigned Opc; in PPCEmitLoad() local
476 Opc = Is32BitInt ? PPC::LBZ : PPC::LBZ8; in PPCEmitLoad()
479 Opc = (IsZExt ? in PPCEmitLoad()
484 Opc = (IsZExt ? in PPCEmitLoad()
487 if ((Opc == PPC::LWA || Opc == PPC::LWA_32) && ((Addr.Offset & 3) != 0)) in PPCEmitLoad()
491 Opc = PPC::LD; in PPCEmitLoad()
497 Opc = PPC::LFS; in PPCEmitLoad()
500 Opc = FP64LoadOpc; in PPCEmitLoad()
513 bool Is32VSXLoad = IsVSSRC && Opc == PPC::LFS; in PPCEmitLoad()
514 bool Is64VSXLoad = IsVSSRC && Opc == PPC::LFD; in PPCEmitLoad()
537 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ResultReg) in PPCEmitLoad()
545 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ResultReg) in PPCEmitLoad()
553 switch (Opc) { in PPCEmitLoad()
555 case PPC::LBZ: Opc = PPC::LBZX; break; in PPCEmitLoad()
556 case PPC::LBZ8: Opc = PPC::LBZX8; break; in PPCEmitLoad()
557 case PPC::LHZ: Opc = PPC::LHZX; break; in PPCEmitLoad()
558 case PPC::LHZ8: Opc = PPC::LHZX8; break; in PPCEmitLoad()
559 case PPC::LHA: Opc = PPC::LHAX; break; in PPCEmitLoad()
560 case PPC::LHA8: Opc = PPC::LHAX8; break; in PPCEmitLoad()
561 case PPC::LWZ: Opc = PPC::LWZX; break; in PPCEmitLoad()
562 case PPC::LWZ8: Opc = PPC::LWZX8; break; in PPCEmitLoad()
563 case PPC::LWA: Opc = PPC::LWAX; break; in PPCEmitLoad()
564 case PPC::LWA_32: Opc = PPC::LWAX_32; break; in PPCEmitLoad()
565 case PPC::LD: Opc = PPC::LDX; break; in PPCEmitLoad()
566 case PPC::LFS: Opc = IsVSSRC ? PPC::LXSSPX : PPC::LFSX; break; in PPCEmitLoad()
567 case PPC::LFD: Opc = IsVSFRC ? PPC::LXSDX : PPC::LFDX; break; in PPCEmitLoad()
569 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ResultReg) in PPCEmitLoad()
609 unsigned Opc; in PPCEmitStore() local
619 Opc = Is32BitInt ? PPC::STB : PPC::STB8; in PPCEmitStore()
622 Opc = Is32BitInt ? PPC::STH : PPC::STH8; in PPCEmitStore()
626 Opc = PPC::STW; in PPCEmitStore()
629 Opc = PPC::STD; in PPCEmitStore()
633 Opc = PPC::STFS; in PPCEmitStore()
636 Opc = PPC::STFD; in PPCEmitStore()
649 bool Is32VSXStore = IsVSSRC && Opc == PPC::STFS; in PPCEmitStore()
650 bool Is64VSXStore = IsVSFRC && Opc == PPC::STFD; in PPCEmitStore()
670 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc)) in PPCEmitStore()
681 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc)) in PPCEmitStore()
689 switch (Opc) { in PPCEmitStore()
691 case PPC::STB: Opc = PPC::STBX; break; in PPCEmitStore()
692 case PPC::STH : Opc = PPC::STHX; break; in PPCEmitStore()
693 case PPC::STW : Opc = PPC::STWX; break; in PPCEmitStore()
694 case PPC::STB8: Opc = PPC::STBX8; break; in PPCEmitStore()
695 case PPC::STH8: Opc = PPC::STHX8; break; in PPCEmitStore()
696 case PPC::STW8: Opc = PPC::STWX8; break; in PPCEmitStore()
697 case PPC::STD: Opc = PPC::STDX; break; in PPCEmitStore()
698 case PPC::STFS: Opc = IsVSSRC ? PPC::STXSSPX : PPC::STFSX; break; in PPCEmitStore()
699 case PPC::STFD: Opc = IsVSFRC ? PPC::STXSDX : PPC::STFDX; break; in PPCEmitStore()
702 auto MIB = BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc)) in PPCEmitStore()
1040 unsigned Opc; in SelectIToFP() local
1043 Opc = IsSigned ? PPC::FCFIDS : PPC::FCFIDUS; in SelectIToFP()
1045 Opc = IsSigned ? PPC::FCFID : PPC::FCFIDU; in SelectIToFP()
1048 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), DestReg) in SelectIToFP()
1135 unsigned Opc; in SelectFPToI() local
1139 Opc = PPC::FCTIWZ; in SelectFPToI()
1141 Opc = PPCSubTarget->hasFPCVT() ? PPC::FCTIWUZ : PPC::FCTIDZ; in SelectFPToI()
1143 Opc = IsSigned ? PPC::FCTIDZ : PPC::FCTIDUZ; in SelectFPToI()
1146 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), DestReg) in SelectFPToI()
1177 unsigned Opc; in SelectBinaryIntOp() local
1181 Opc = IsGPRC ? PPC::ADD4 : PPC::ADD8; in SelectBinaryIntOp()
1184 Opc = IsGPRC ? PPC::OR : PPC::OR8; in SelectBinaryIntOp()
1187 Opc = IsGPRC ? PPC::SUBF : PPC::SUBF8; in SelectBinaryIntOp()
1201 switch (Opc) { in SelectBinaryIntOp()
1205 Opc = PPC::ADDI; in SelectBinaryIntOp()
1209 Opc = PPC::ADDI8; in SelectBinaryIntOp()
1213 Opc = PPC::ORI; in SelectBinaryIntOp()
1216 Opc = PPC::ORI8; in SelectBinaryIntOp()
1222 Opc = PPC::ADDI; in SelectBinaryIntOp()
1231 Opc = PPC::ADDI8; in SelectBinaryIntOp()
1239 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), in SelectBinaryIntOp()
1257 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ResultReg) in SelectBinaryIntOp()
1708 unsigned Opc; in PPCEmitIntExt() local
1710 Opc = (DestVT == MVT::i32) ? PPC::EXTSB : PPC::EXTSB8_32_64; in PPCEmitIntExt()
1712 Opc = (DestVT == MVT::i32) ? PPC::EXTSH : PPC::EXTSH8_32_64; in PPCEmitIntExt()
1715 Opc = PPC::EXTSW_32_64; in PPCEmitIntExt()
1717 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), DestReg) in PPCEmitIntExt()
1902 unsigned Opc = (VT == MVT::f32) ? PPC::LFS : PPC::LFD; in PPCMaterializeFP() local
1911 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), DestReg) in PPCMaterializeFP()
1923 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), DestReg) in PPCMaterializeFP()
1926 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), DestReg) in PPCMaterializeFP()
2100 unsigned Opc = (VT == MVT::i64) ? PPC::LI8 : PPC::LI; in PPCMaterializeInt() local
2102 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ImmReg) in PPCMaterializeInt()
2106 unsigned Opc = (VT == MVT::i64) ? PPC::LI8 : PPC::LI; in PPCMaterializeInt() local
2108 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ImmReg) in PPCMaterializeInt()
2255 unsigned PPCFastISel::fastEmit_i(MVT Ty, MVT VT, unsigned Opc, uint64_t Imm) { in fastEmit_i() argument
2257 if (Opc != ISD::Constant) in fastEmit_i()