Lines Matching refs:Opc

967   unsigned Opc;  in copyPhysReg()  local
969 Opc = PPC::OR; in copyPhysReg()
971 Opc = PPC::OR8; in copyPhysReg()
973 Opc = PPC::FMR; in copyPhysReg()
975 Opc = PPC::MCRF; in copyPhysReg()
977 Opc = PPC::VOR; in copyPhysReg()
987 Opc = PPC::XXLOR; in copyPhysReg()
990 Opc = (Subtarget.hasP9Vector()) ? PPC::XSCPSGNDP : PPC::XXLORf; in copyPhysReg()
992 Opc = PPC::QVFMR; in copyPhysReg()
994 Opc = PPC::QVFMRs; in copyPhysReg()
996 Opc = PPC::QVFMRb; in copyPhysReg()
998 Opc = PPC::CROR; in copyPhysReg()
1000 Opc = PPC::EVOR; in copyPhysReg()
1004 const MCInstrDesc &MCID = get(Opc); in copyPhysReg()
1594 unsigned Opc = MI.getOpcode(); in analyzeCompare() local
1596 switch (Opc) { in analyzeCompare()
2336 unsigned Opc = MI.getOpcode(); in getForwardingDefMI() local
2338 Opc == PPC::CMPWI || Opc == PPC::CMPLWI || in getForwardingDefMI()
2339 Opc == PPC::CMPDI || Opc == PPC::CMPLDI || in getForwardingDefMI()
2340 Opc == PPC::ADDI || Opc == PPC::ADDI8 || in getForwardingDefMI()
2341 Opc == PPC::ORI || Opc == PPC::ORI8 || in getForwardingDefMI()
2342 Opc == PPC::XORI || Opc == PPC::XORI8 || in getForwardingDefMI()
2343 Opc == PPC::RLDICL || Opc == PPC::RLDICLo || in getForwardingDefMI()
2344 Opc == PPC::RLDICL_32 || Opc == PPC::RLDICL_32_64 || in getForwardingDefMI()
2345 Opc == PPC::RLWINM || Opc == PPC::RLWINMo || in getForwardingDefMI()
2346 Opc == PPC::RLWINM8 || Opc == PPC::RLWINM8o; in getForwardingDefMI()
2351 if ((Opc == PPC::OR || Opc == PPC::OR8) && in getForwardingDefMI()
2475 unsigned Opc = MI.getOpcode(); in convertToImmediateForm() local
2476 switch (Opc) { in convertToImmediateForm()
2506 unsigned RegToCopy = selectReg(SExtImm, SExtComparand, Opc, TrueReg, in convertToImmediateForm()
2546 Is64BitLI = Opc == PPC::ADDI8; in convertToImmediateForm()
2559 APInt InVal((Opc == PPC::RLDICL || Opc == PPC::RLDICLo) ? in convertToImmediateForm()
2568 (Opc == PPC::RLDICLo && isUInt<16>(InVal.getSExtValue()))) { in convertToImmediateForm()
2570 Is64BitLI = Opc != PPC::RLDICL_32; in convertToImmediateForm()
2572 SetCR = Opc == PPC::RLDICLo; in convertToImmediateForm()
2593 ValueFits |= ((Opc == PPC::RLWINMo || Opc == PPC::RLWINM8o) && in convertToImmediateForm()
2597 Is64BitLI = Opc == PPC::RLWINM8 || Opc == PPC::RLWINM8o; in convertToImmediateForm()
2599 SetCR = Opc == PPC::RLWINMo || Opc == PPC::RLWINM8o; in convertToImmediateForm()
2610 if (Opc == PPC::ORI || Opc == PPC::ORI8) in convertToImmediateForm()
2616 Is64BitLI = Opc == PPC::ORI8 || Opc == PPC::XORI8; in convertToImmediateForm()
2678 unsigned Opc = MI.getOpcode(); in instrHasImmForm() local
2689 switch (Opc) { in instrHasImmForm()
2698 III.ImmOpcode = Opc == PPC::ADD4 ? PPC::ADDI : PPC::ADDI8; in instrHasImmForm()
2707 III.ImmOpcode = Opc == PPC::ADDC ? PPC::ADDIC : PPC::ADDIC8; in instrHasImmForm()
2723 III.ImmOpcode = Opc == PPC::SUBFC ? PPC::SUBFIC : PPC::SUBFIC8; in instrHasImmForm()
2731 III.ImmOpcode = Opc == PPC::CMPW ? PPC::CMPWI : PPC::CMPDI; in instrHasImmForm()
2739 III.ImmOpcode = Opc == PPC::CMPLW ? PPC::CMPLWI : PPC::CMPLDI; in instrHasImmForm()
2751 switch(Opc) { in instrHasImmForm()
2784 if (Opc == PPC::RLWNM || Opc == PPC::RLWNM8 || in instrHasImmForm()
2785 Opc == PPC::RLWNMo || Opc == PPC::RLWNM8o) in instrHasImmForm()
2789 switch(Opc) { in instrHasImmForm()
2834 if (Opc == PPC::RLDCL || Opc == PPC::RLDCLo || in instrHasImmForm()
2835 Opc == PPC::RLDCR || Opc == PPC::RLDCRo) in instrHasImmForm()
2839 switch(Opc) { in instrHasImmForm()
2890 switch(Opc) { in instrHasImmForm()
2948 switch(Opc) { in instrHasImmForm()
3002 switch(Opc) { in instrHasImmForm()
3157 unsigned Opc = DefMI.getOpcode(); in isDefMIElgibleForForwarding() local
3158 if (Opc != PPC::ADDItocL && Opc != PPC::ADDI && Opc != PPC::ADDI8) in isDefMIElgibleForForwarding()
3404 unsigned Opc = MI.getOpcode(); in transformToImmFormFedByLI() local
3406 Opc == PPC::SLW || Opc == PPC::SLWo || Opc == PPC::SRW || Opc == PPC::SRWo; in transformToImmFormFedByLI()
3408 Opc == PPC::SLD || Opc == PPC::SLDo || Opc == PPC::SRD || Opc == PPC::SRDo; in transformToImmFormFedByLI()
3409 bool SetCR = Opc == PPC::SLWo || Opc == PPC::SRWo || in transformToImmFormFedByLI()
3410 Opc == PPC::SLDo || Opc == PPC::SRDo; in transformToImmFormFedByLI()
3412 Opc == PPC::SRW || Opc == PPC::SRWo || Opc == PPC::SRD || Opc == PPC::SRDo; in transformToImmFormFedByLI()