Home
last modified time | relevance | path

Searched refs:RISCVVType (Results 1 – 11 of 11) sorted by relevance

/freebsd-head/contrib/llvm-project/llvm/lib/Target/RISCV/
HDRISCVInsertVSETVLI.cpp327 auto [LMul, Fractional] = RISCVVType::decodeVLMUL(LMUL); in isLMUL1OrSmaller()
340 if (RISCVVType::getSEW(CurVType) != RISCVVType::getSEW(NewVType)) in areCompatibleVTYPEs()
344 if (RISCVVType::getSEW(NewVType) < RISCVVType::getSEW(CurVType)) in areCompatibleVTYPEs()
348 if (RISCVVType::getSEW(NewVType) < RISCVVType::getSEW(CurVType) || in areCompatibleVTYPEs()
349 RISCVVType::getSEW(NewVType) >= 64) in areCompatibleVTYPEs()
358 if (RISCVVType::getVLMUL(CurVType) != RISCVVType::getVLMUL(NewVType)) in areCompatibleVTYPEs()
362 if (!isLMUL1OrSmaller(RISCVVType::getVLMUL(NewVType))) in areCompatibleVTYPEs()
368 auto Ratio1 = RISCVVType::getSEWLMULRatio(RISCVVType::getSEW(CurVType), in areCompatibleVTYPEs()
369 RISCVVType::getVLMUL(CurVType)); in areCompatibleVTYPEs()
370 auto Ratio2 = RISCVVType::getSEWLMULRatio(RISCVVType::getSEW(NewVType), in areCompatibleVTYPEs()
[all …]
HDRISCVVectorPeephole.cpp107 auto LMUL = RISCVVType::decodeVLMUL(RISCVII::getLMul(MI.getDesc().TSFlags)); in convertToVLMAX()
113 assert(RISCVVType::isValidSEW(SEW) && "Unexpected SEW"); in convertToVLMAX()
HDRISCVInstrInfo.cpp220 RISCVII::VLMUL FirstLMul = RISCVVType::getVLMUL(FirstVType); in isConvertibleToVMV_V_V()
221 FirstSEW = RISCVVType::getSEW(FirstVType); in isConvertibleToVMV_V_V()
243 if (RISCVVType::getSEW(VType) != FirstSEW) in isConvertibleToVMV_V_V()
248 if (!RISCVVType::isTailAgnostic(VType)) in isConvertibleToVMV_V_V()
256 return LMul == RISCVVType::getVLMUL(VType); in isConvertibleToVMV_V_V()
328 auto [LMulVal, Fractional] = RISCVVType::decodeVLMUL(LMul); in copyPhysRegVector()
398 auto [NumCopied, _] = RISCVVType::decodeVLMUL(LMulCopied); in copyPhysRegVector()
2508 if (!RISCVVType::isValidSEW(SEW)) { in verifyInstruction()
3003 RISCVVType::printVType(Imm, OS); in createMIROperandComment()
3008 assert(RISCVVType::isValidSEW(SEW) && "Unexpected SEW"); in createMIROperandComment()
HDRISCVISelDAGToDAG.cpp568 RISCVVType::decodeVSEW(Node->getConstantOperandVal(Offset) & 0x7); in selectVSETVLI()
572 unsigned VTypeI = RISCVVType::encodeVTYPE(VLMul, SEW, /*TailAgnostic*/ true, in selectVSETVLI()
580 if (*VLEN / RISCVVType::getSEWLMULRatio(SEW, VLMul) == C->getZExtValue()) in selectVSETVLI()
HDRISCVISelLowering.cpp2863 RISCVVType::decodeVLMUL(RISCVTargetLowering::getLMUL(VT)); in getLMULCost()
8862 unsigned Sew = RISCVVType::encodeSEW(I32VT.getScalarSizeInBits()); in lowerVectorIntrinsicScalars()
8877 unsigned Sew = RISCVVType::encodeSEW(VT.getScalarSizeInBits()); in lowerVectorIntrinsicScalars()
8972 unsigned VLMUL = (unsigned)RISCVVType::encodeLMUL(LMulVal, Fractional); in lowerGetVectorLength()
8973 unsigned VSEW = RISCVVType::encodeSEW(ElementWidth); in lowerGetVectorLength()
10385 assert(RISCVVType::decodeVLMUL(getLMUL(ContainerSubVecVT)).second || in lowerEXTRACT_SUBVECTOR()
17931 unsigned SEW = RISCVVType::decodeVSEW(VSEW); in computeKnownBitsForTargetNode()
17932 auto [LMul, Fractional] = RISCVVType::decodeVLMUL(VLMUL); in computeKnownBitsForTargetNode()
21651 auto [LMUL, Fractional] = RISCVVType::decodeVLMUL(getLMUL(ContainerVT)); in isLegalInterleavedAccessType()
/freebsd-head/contrib/llvm-project/llvm/lib/TargetParser/
HDRISCVTargetParser.cpp149 namespace RISCVVType { namespace
228 unsigned Ratio = RISCVVType::getSEWLMULRatio(SEW, VLMUL); in getSameRatioLMUL()
234 return RISCVVType::encodeLMUL(EMUL, Fractional); in getSameRatioLMUL()
/freebsd-head/contrib/llvm-project/llvm/lib/Target/RISCV/MCA/
HDRISCVCustomBehaviour.cpp110 RISCVII::VLMUL VLMUL = RISCVVType::getVLMUL(VTypeI); in createInstruments()
142 unsigned SEW = RISCVVType::getSEW(VTypeI); in createInstruments()
202 auto EMUL = RISCVVType::getSameRatioLMUL(SEW, LMUL, EEW); in getEEWAndEMUL()
/freebsd-head/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
HDRISCVInstPrinter.cpp213 if (RISCVVType::getVLMUL(Imm) == RISCVII::VLMUL::LMUL_RESERVED || in printVTypeI()
214 RISCVVType::getSEW(Imm) > 64 || (Imm >> 8) != 0) { in printVTypeI()
219 RISCVVType::printVType(Imm, O); in printVTypeI()
/freebsd-head/contrib/llvm-project/llvm/include/llvm/TargetParser/
HDRISCVTargetParser.h70 namespace RISCVVType {
/freebsd-head/contrib/llvm-project/llvm/lib/Target/RISCV/AsmParser/
HDRISCVAsmParser.cpp1074 RISCVVType::printVType(getVType(), OS); in print()
2183 if (!RISCVVType::isValidSEW(Sew)) in parseVTypeToken()
2193 if (!RISCVVType::isValidLMUL(Lmul, Fractional)) in parseVTypeToken()
2261 RISCVII::VLMUL VLMUL = RISCVVType::encodeLMUL(Lmul, Fractional); in parseVTypeI()
2274 RISCVVType::encodeVTYPE(VLMUL, Sew, TailAgnostic, MaskAgnostic); in parseVTypeI()
/freebsd-head/contrib/llvm-project/llvm/lib/Analysis/
HDValueTracking.cpp1841 uint64_t SEW = RISCVVType::decodeVSEW( in computeKnownBitsFromOperator()
1847 uint64_t MaxVL = MaxVLEN / RISCVVType::getSEWLMULRatio(SEW, VLMUL); in computeKnownBitsFromOperator()