Lines Matching refs:Used
306 const DemandedFields &Used) { in areCompatibleVTYPEs() argument
307 switch (Used.SEW) { in areCompatibleVTYPEs()
325 if (Used.LMUL && in areCompatibleVTYPEs()
329 if (Used.SEWLMULRatio) { in areCompatibleVTYPEs()
338 if (Used.TailPolicy && RISCVVType::isTailAgnostic(CurVType) != in areCompatibleVTYPEs()
341 if (Used.MaskPolicy && RISCVVType::isMaskAgnostic(CurVType) != in areCompatibleVTYPEs()
596 bool hasCompatibleVTYPE(const DemandedFields &Used, in hasCompatibleVTYPE() argument
598 return areCompatibleVTYPEs(Require.encodeVTYPE(), encodeVTYPE(), Used); in hasCompatibleVTYPE()
604 bool isCompatible(const DemandedFields &Used, const VSETVLIInfo &Require, in isCompatible() argument
618 if (Used.VLAny && !hasSameAVL(Require)) in isCompatible()
621 if (Used.VLZeroness && !hasEquallyZeroAVL(Require, MRI)) in isCompatible()
624 return hasCompatibleVTYPE(Used, Require); in isCompatible()
1014 DemandedFields Used = getDemanded(MI, MRI, ST); in needVSETVLI() local
1026 Used.VLAny = false; in needVSETVLI()
1027 Used.VLZeroness = true; in needVSETVLI()
1028 Used.LMUL = false; in needVSETVLI()
1029 Used.TailPolicy = false; in needVSETVLI()
1039 Used.LMUL = false; in needVSETVLI()
1040 Used.SEWLMULRatio = false; in needVSETVLI()
1041 Used.VLAny = false; in needVSETVLI()
1043 Used.SEW = DemandedFields::SEWGreaterThanOrEqualAndLessThan64; in needVSETVLI()
1045 Used.SEW = DemandedFields::SEWGreaterThanOrEqual; in needVSETVLI()
1046 Used.TailPolicy = false; in needVSETVLI()
1049 if (CurInfo.isCompatible(Used, Require, *MRI)) in needVSETVLI()
1057 CurInfo.hasCompatibleVTYPE(Used, Require)) { in needVSETVLI()
1494 const DemandedFields &Used, in canMutatePriorConfig() argument
1500 if (Used.VLAny) in canMutatePriorConfig()
1503 if (Used.VLZeroness) { in canMutatePriorConfig()
1530 return areCompatibleVTYPEs(PriorVType, VType, Used); in canMutatePriorConfig()
1537 DemandedFields Used; in doLocalPostpass() local
1538 Used.demandVL(); in doLocalPostpass()
1539 Used.demandVTYPE(); in doLocalPostpass()
1544 doUnion(Used, getDemanded(MI, MRI, ST)); in doLocalPostpass()
1551 Used.demandVL(); in doLocalPostpass()
1554 if (!Used.usedVL() && !Used.usedVTYPE()) { in doLocalPostpass()
1558 } else if (canMutatePriorConfig(MI, *NextMI, Used, *MRI)) { in doLocalPostpass()
1583 Used = getDemanded(MI, MRI, ST); in doLocalPostpass()