Lines Matching refs:Require
562 const VSETVLIInfo &Require) const { in hasCompatibleVTYPE()
564 return areCompatibleVTYPEs(encodeVTYPE(), Require.encodeVTYPE(), Used); in hasCompatibleVTYPE()
570 bool isCompatible(const MachineInstr &MI, const VSETVLIInfo &Require) const { in isCompatible()
571 assert(isValid() && Require.isValid() && in isCompatible()
573 assert(!Require.SEWLMULRatioOnly && in isCompatible()
576 if (isUnknown() || Require.isUnknown()) in isCompatible()
585 if (Require.hasAVLReg() && Require.AVLReg == RISCV::NoRegister) in isCompatible()
586 if (SEW == Require.SEW) in isCompatible()
589 return hasSameAVL(Require) && hasCompatibleVTYPE(MI, Require); in isCompatible()
734 bool needVSETVLI(const MachineInstr &MI, const VSETVLIInfo &Require,
736 bool needVSETVLIPHI(const VSETVLIInfo &Require,
946 const VSETVLIInfo &Require, in needVSETVLI() argument
948 assert(Require == computeInfoForInstr(MI, MI.getDesc().TSFlags, MRI)); in needVSETVLI()
950 if (CurInfo.isCompatible(MI, Require)) in needVSETVLI()
962 CurInfo.hasNonZeroAVL() && Require.hasNonZeroAVL()) { in needVSETVLI()
965 CurInfo.getSEW() >= Require.getSEW()) in needVSETVLI()
967 if (CurInfo.hasSameSEW(Require) && CurInfo.hasSamePolicy(Require)) in needVSETVLI()
975 if (Require.hasAVLReg() && Require.getAVLReg().isVirtual() && in needVSETVLI()
976 CurInfo.hasCompatibleVTYPE(MI, Require)) { in needVSETVLI()
977 if (MachineInstr *DefMI = MRI->getVRegDef(Require.getAVLReg())) { in needVSETVLI()
1138 bool RISCVInsertVSETVLI::needVSETVLIPHI(const VSETVLIInfo &Require, in needVSETVLIPHI() argument
1143 if (!Require.hasAVLReg()) in needVSETVLIPHI()
1146 Register AVLReg = Require.getAVLReg(); in needVSETVLIPHI()
1162 if (PBBInfo.Exit.isUnknown() || !PBBInfo.Exit.hasSameVTYPE(Require)) in needVSETVLIPHI()