Lines Matching defs:NeedGPRC
819 bool NeedGPRC) -> void {
825 if (PhysReg && (!NeedGPRC || RISCV::GPRCRegClass.contains(PhysReg)) &&
833 // needs GPRC register class operands \p NeedGPRC will be set to true.
834 auto isCompressible = [&Subtarget](const MachineInstr &MI, bool &NeedGPRC) {
835 NeedGPRC = false;
845 NeedGPRC = true;
848 NeedGPRC = true;
859 NeedGPRC = true;
873 NeedGPRC = true;
877 NeedGPRC = true;
882 NeedGPRC = true;
903 bool NeedGPRC;
904 if (isCompressible(MI, NeedGPRC)) {
906 if (!NeedGPRC || MI.getNumExplicitOperands() < 3 ||
909 tryAddHint(MO, MI.getOperand(1), NeedGPRC);
911 (!NeedGPRC || isCompressibleOpnd(MI.getOperand(1))))
912 tryAddHint(MO, MI.getOperand(2), NeedGPRC);
913 } else if (OpIdx == 1 && (!NeedGPRC || MI.getNumExplicitOperands() < 3 ||
915 tryAddHint(MO, MI.getOperand(0), NeedGPRC);
917 (!NeedGPRC || isCompressibleOpnd(MI.getOperand(1)))) {
918 tryAddHint(MO, MI.getOperand(0), NeedGPRC);