Lines Matching defs:NeedGPRC
827 bool NeedGPRC) -> void {
833 if (PhysReg && (!NeedGPRC || RISCV::GPRCRegClass.contains(PhysReg)) &&
841 // needs GPRC register class operands \p NeedGPRC will be set to true.
842 auto isCompressible = [&Subtarget](const MachineInstr &MI, bool &NeedGPRC) {
843 NeedGPRC = false;
853 NeedGPRC = true;
856 NeedGPRC = true;
867 NeedGPRC = true;
881 NeedGPRC = true;
885 NeedGPRC = true;
890 NeedGPRC = true;
911 bool NeedGPRC;
912 if (isCompressible(MI, NeedGPRC)) {
914 if (!NeedGPRC || MI.getNumExplicitOperands() < 3 ||
917 tryAddHint(MO, MI.getOperand(1), NeedGPRC);
919 (!NeedGPRC || isCompressibleOpnd(MI.getOperand(1))))
920 tryAddHint(MO, MI.getOperand(2), NeedGPRC);
921 } else if (OpIdx == 1 && (!NeedGPRC || MI.getNumExplicitOperands() < 3 ||
923 tryAddHint(MO, MI.getOperand(0), NeedGPRC);
925 (!NeedGPRC || isCompressibleOpnd(MI.getOperand(1)))) {
926 tryAddHint(MO, MI.getOperand(0), NeedGPRC);
943 tryAddHint(MO, MI.getOperand(1), /*NeedGPRC=*/false);
945 tryAddHint(MO, MI.getOperand(0), /*NeedGPRC=*/false);