Lines Matching refs:Opc

114     unsigned fastEmit_i(MVT Ty, MVT RetTy, unsigned Opc, uint64_t Imm) override;
468 unsigned Opc; in PPCEmitLoad() local
493 Opc = Is32BitInt ? PPC::LBZ : PPC::LBZ8; in PPCEmitLoad()
496 Opc = (IsZExt ? (Is32BitInt ? PPC::LHZ : PPC::LHZ8) in PPCEmitLoad()
500 Opc = (IsZExt ? (Is32BitInt ? PPC::LWZ : PPC::LWZ8) in PPCEmitLoad()
502 if ((Opc == PPC::LWA || Opc == PPC::LWA_32) && ((Addr.Offset & 3) != 0)) in PPCEmitLoad()
506 Opc = PPC::LD; in PPCEmitLoad()
512 Opc = PPCSubTarget->hasSPE() ? PPC::SPELWZ : PPC::LFS; in PPCEmitLoad()
515 Opc = FP64LoadOpc; in PPCEmitLoad()
528 bool Is32VSXLoad = IsVSSRC && Opc == PPC::LFS; in PPCEmitLoad()
529 bool Is64VSXLoad = IsVSFRC && Opc == PPC::LFD; in PPCEmitLoad()
552 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ResultReg) in PPCEmitLoad()
560 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ResultReg) in PPCEmitLoad()
568 switch (Opc) { in PPCEmitLoad()
570 case PPC::LBZ: Opc = PPC::LBZX; break; in PPCEmitLoad()
571 case PPC::LBZ8: Opc = PPC::LBZX8; break; in PPCEmitLoad()
572 case PPC::LHZ: Opc = PPC::LHZX; break; in PPCEmitLoad()
573 case PPC::LHZ8: Opc = PPC::LHZX8; break; in PPCEmitLoad()
574 case PPC::LHA: Opc = PPC::LHAX; break; in PPCEmitLoad()
575 case PPC::LHA8: Opc = PPC::LHAX8; break; in PPCEmitLoad()
576 case PPC::LWZ: Opc = PPC::LWZX; break; in PPCEmitLoad()
577 case PPC::LWZ8: Opc = PPC::LWZX8; break; in PPCEmitLoad()
578 case PPC::LWA: Opc = PPC::LWAX; break; in PPCEmitLoad()
579 case PPC::LWA_32: Opc = PPC::LWAX_32; break; in PPCEmitLoad()
580 case PPC::LD: Opc = PPC::LDX; break; in PPCEmitLoad()
581 case PPC::LFS: Opc = IsVSSRC ? PPC::LXSSPX : PPC::LFSX; break; in PPCEmitLoad()
582 case PPC::LFD: Opc = IsVSFRC ? PPC::LXSDX : PPC::LFDX; break; in PPCEmitLoad()
583 case PPC::EVLDD: Opc = PPC::EVLDDX; break; in PPCEmitLoad()
584 case PPC::SPELWZ: Opc = PPC::SPELWZX; break; in PPCEmitLoad()
587 auto MIB = BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), in PPCEmitLoad()
637 unsigned Opc; in PPCEmitStore() local
647 Opc = Is32BitInt ? PPC::STB : PPC::STB8; in PPCEmitStore()
650 Opc = Is32BitInt ? PPC::STH : PPC::STH8; in PPCEmitStore()
654 Opc = PPC::STW; in PPCEmitStore()
657 Opc = PPC::STD; in PPCEmitStore()
661 Opc = PPCSubTarget->hasSPE() ? PPC::SPESTW : PPC::STFS; in PPCEmitStore()
664 Opc = PPCSubTarget->hasSPE() ? PPC::EVSTDD : PPC::STFD; in PPCEmitStore()
677 bool Is32VSXStore = IsVSSRC && Opc == PPC::STFS; in PPCEmitStore()
678 bool Is64VSXStore = IsVSFRC && Opc == PPC::STFD; in PPCEmitStore()
698 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc)) in PPCEmitStore()
710 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc)) in PPCEmitStore()
718 switch (Opc) { in PPCEmitStore()
720 case PPC::STB: Opc = PPC::STBX; break; in PPCEmitStore()
721 case PPC::STH : Opc = PPC::STHX; break; in PPCEmitStore()
722 case PPC::STW : Opc = PPC::STWX; break; in PPCEmitStore()
723 case PPC::STB8: Opc = PPC::STBX8; break; in PPCEmitStore()
724 case PPC::STH8: Opc = PPC::STHX8; break; in PPCEmitStore()
725 case PPC::STW8: Opc = PPC::STWX8; break; in PPCEmitStore()
726 case PPC::STD: Opc = PPC::STDX; break; in PPCEmitStore()
727 case PPC::STFS: Opc = IsVSSRC ? PPC::STXSSPX : PPC::STFSX; break; in PPCEmitStore()
728 case PPC::STFD: Opc = IsVSFRC ? PPC::STXSDX : PPC::STFDX; break; in PPCEmitStore()
729 case PPC::EVSTDD: Opc = PPC::EVSTDDX; break; in PPCEmitStore()
730 case PPC::SPESTW: Opc = PPC::SPESTWX; break; in PPCEmitStore()
733 auto MIB = BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc)) in PPCEmitStore()
1095 unsigned Opc; in SelectIToFP() local
1097 Opc = IsSigned ? PPC::EFSCFSI : PPC::EFSCFUI; in SelectIToFP()
1099 Opc = IsSigned ? PPC::EFDCFSI : PPC::EFDCFUI; in SelectIToFP()
1103 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), DestReg) in SelectIToFP()
1139 unsigned Opc; in SelectIToFP() local
1142 Opc = IsSigned ? PPC::FCFIDS : PPC::FCFIDUS; in SelectIToFP()
1144 Opc = IsSigned ? PPC::FCFID : PPC::FCFIDU; in SelectIToFP()
1147 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), DestReg) in SelectIToFP()
1234 unsigned Opc; in SelectFPToI() local
1239 Opc = InRC == &PPC::SPE4RCRegClass ? PPC::EFSCTSIZ : PPC::EFDCTSIZ; in SelectFPToI()
1241 Opc = InRC == &PPC::SPE4RCRegClass ? PPC::EFSCTUIZ : PPC::EFDCTUIZ; in SelectFPToI()
1246 Opc = PPC::FCTIWZ; in SelectFPToI()
1248 Opc = PPCSubTarget->hasFPCVT() ? PPC::FCTIWUZ : PPC::FCTIDZ; in SelectFPToI()
1250 Opc = IsSigned ? PPC::FCTIDZ : PPC::FCTIDUZ; in SelectFPToI()
1254 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), DestReg) in SelectFPToI()
1287 unsigned Opc; in SelectBinaryIntOp() local
1291 Opc = IsGPRC ? PPC::ADD4 : PPC::ADD8; in SelectBinaryIntOp()
1294 Opc = IsGPRC ? PPC::OR : PPC::OR8; in SelectBinaryIntOp()
1297 Opc = IsGPRC ? PPC::SUBF : PPC::SUBF8; in SelectBinaryIntOp()
1311 switch (Opc) { in SelectBinaryIntOp()
1315 Opc = PPC::ADDI; in SelectBinaryIntOp()
1319 Opc = PPC::ADDI8; in SelectBinaryIntOp()
1323 Opc = PPC::ORI; in SelectBinaryIntOp()
1326 Opc = PPC::ORI8; in SelectBinaryIntOp()
1332 Opc = PPC::ADDI; in SelectBinaryIntOp()
1341 Opc = PPC::ADDI8; in SelectBinaryIntOp()
1349 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), in SelectBinaryIntOp()
1367 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ResultReg) in SelectBinaryIntOp()
1821 unsigned Opc; in PPCEmitIntExt() local
1823 Opc = (DestVT == MVT::i32) ? PPC::EXTSB : PPC::EXTSB8_32_64; in PPCEmitIntExt()
1825 Opc = (DestVT == MVT::i32) ? PPC::EXTSH : PPC::EXTSH8_32_64; in PPCEmitIntExt()
1828 Opc = PPC::EXTSW_32_64; in PPCEmitIntExt()
1830 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), DestReg) in PPCEmitIntExt()
2022 unsigned Opc; in PPCMaterializeFP() local
2025 Opc = ((VT == MVT::f32) ? PPC::SPELWZ : PPC::EVLDD); in PPCMaterializeFP()
2027 Opc = ((VT == MVT::f32) ? PPC::LFS : PPC::LFD); in PPCMaterializeFP()
2037 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), DestReg) in PPCMaterializeFP()
2049 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), DestReg) in PPCMaterializeFP()
2053 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), DestReg) in PPCMaterializeFP()
2230 unsigned Opc = (VT == MVT::i64) ? PPC::LI8 : PPC::LI; in PPCMaterializeInt() local
2232 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ImmReg) in PPCMaterializeInt()
2385 unsigned PPCFastISel::fastEmit_i(MVT Ty, MVT VT, unsigned Opc, uint64_t Imm) { in fastEmit_i() argument
2387 if (Opc != ISD::Constant) in fastEmit_i()