| /freebsd/contrib/llvm-project/llvm/lib/TargetParser/ |
| H A D | RISCVTargetParser.cpp | 160 unsigned encodeVTYPE(VLMUL VLMul, unsigned SEW, bool TailAgnostic, in encodeVTYPE() argument 163 unsigned VLMulBits = static_cast<unsigned>(VLMul); in encodeVTYPE() 183 std::pair<unsigned, bool> decodeVLMUL(VLMUL VLMul) { in decodeVLMUL() argument 184 switch (VLMul) { in decodeVLMUL() 191 return std::make_pair(1 << static_cast<unsigned>(VLMul), false); in decodeVLMUL() 195 return std::make_pair(1 << (8 - static_cast<unsigned>(VLMul)), true); in decodeVLMUL() 224 unsigned getSEWLMULRatio(unsigned SEW, VLMUL VLMul) { in getSEWLMULRatio() argument 227 std::tie(LMul, Fractional) = decodeVLMUL(VLMul); in getSEWLMULRatio() 236 std::optional<VLMUL> getSameRatioLMUL(unsigned SEW, VLMUL VLMul, unsigned EEW) { in getSameRatioLMUL() argument 237 unsigned Ratio = RISCVVType::getSEWLMULRatio(SEW, VLMul); in getSameRatioLMUL()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/TargetParser/ |
| H A D | RISCVTargetParser.h | 106 unsigned VLMul = VType & 0x7; in getVLMUL() local 107 return static_cast<VLMUL>(VLMul); in getVLMUL() 111 LLVM_ABI std::pair<unsigned, bool> decodeVLMUL(VLMUL VLMul); 164 LLVM_ABI unsigned getSEWLMULRatio(unsigned SEW, VLMUL VLMul);
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVInsertVSETVLI.cpp | 504 RISCVVType::VLMUL VLMul = RISCVVType::LMUL_1; member in __anoncddf45c50111::VSETVLIInfo 582 RISCVVType::VLMUL getVLMUL() const { return VLMul; } in getVLMUL() 642 VLMul = RISCVVType::getVLMUL(VType); in setVTYPE() 650 VLMul = L; in setVTYPE() 656 void setVLMul(RISCVVType::VLMUL VLMul) { this->VLMul = VLMul; } in setVLMul() argument 661 return RISCVVType::encodeVTYPE(VLMul, SEW, TailAgnostic, MaskAgnostic); in encodeVTYPE() 673 return std::tie(VLMul, SEW, TailAgnostic, MaskAgnostic) == in hasSameVTYPE() 674 std::tie(Other.VLMul, Other.SEW, Other.TailAgnostic, in hasSameVTYPE() 681 return RISCVVType::getSEWLMULRatio(SEW, VLMul); in getSEWLMULRatio() 813 std::tie(LMul, Fractional) = decodeVLMUL(VLMul); in print() [all …]
|
| H A D | RISCVInstrInfoVPseudos.td | 410 // {SEW, VLMul} values set a valid VType to deal with this mask type. 568 let Fields = [ "Pseudo", "BaseInstr", "VLMul", "SEW"]; 569 let PrimaryKey = [ "BaseInstr", "VLMul", "SEW"]; 792 RISCVVLE</*Masked*/0, /*Strided*/0, /*FF*/0, !logtwo(EEW), VLMul> { 809 RISCVVLE</*Masked*/1, /*Strided*/0, /*FF*/0, !logtwo(EEW), VLMul> { 827 RISCVVLE</*Masked*/0, /*Strided*/0, /*FF*/1, !logtwo(EEW), VLMul> { 844 RISCVVLE</*Masked*/1, /*Strided*/0, /*FF*/1, !logtwo(EEW), VLMul> { 862 RISCVVLE</*Masked*/0, /*Strided*/1, /*FF*/0, !logtwo(EEW), VLMul> { 879 RISCVVLE</*Masked*/1, /*Strided*/1, /*FF*/0, !logtwo(EEW), VLMul> { 902 RISCVVLX</*Masked*/0, Ordered, !logtwo(EEW), VLMul, LMUL> { [all …]
|
| H A D | RISCVInstrInfoXSf.td | 323 let VLMul = m.value in { 340 let VLMul = m.value in { 357 let VLMul = m.value in { 374 let VLMul = m.value in { 403 let VLMul = m.value in 409 let VLMul = m.value in 415 let VLMul = m.value in
|
| H A D | RISCVInstrInfoXAndes.td | 456 RISCVNDSVLN</*Masked*/0, /*Unsigned*/U, !logtwo(8), VLMul> { 472 RISCVNDSVLN</*Masked*/1, /*Unsigned*/U, !logtwo(8), VLMul> { 490 let VLMul = m.value, SEW=16 in 500 let VLMul = m.value, SEW=16 in 536 let VLMul = lmul.value in {
|
| H A D | RISCVRegisterInfo.td | 232 int VLMul = 1; 236 let TSFlags{2-1} = !logtwo(VLMul); 744 let VLMul = Vlmul; 747 let Size = !mul(VLMul, NF, 64); 748 let CopyCost = !mul(VLMul, NF);
|
| H A D | RISCVInstrInfoXRivos.td | 154 let VLMul = m.value in {
|
| H A D | RISCVInstrInfoZvk.td | 268 let VLMul = MInfo.value in { 278 let VLMul = MInfo.value, SEW = sew in { 285 let VLMul = m.value in { 291 let VLMul = m.value in 428 let VLMul = m.value in {
|
| H A D | RISCVInstrFormats.td | 202 bits<3> VLMul = 0; 203 let TSFlags{10-8} = VLMul;
|
| H A D | RISCVISelDAGToDAG.cpp | 483 RISCVVType::VLMUL VLMul = static_cast<RISCVVType::VLMUL>( in selectVSETVLI() local 486 unsigned VTypeI = RISCVVType::encodeVTYPE(VLMul, SEW, /*TailAgnostic*/ true, in selectVSETVLI() 494 if (*VLEN / RISCVVType::getSEWLMULRatio(SEW, VLMul) == C->getZExtValue()) in selectVSETVLI()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/ |
| H A D | RISCVBaseInfo.h | 677 uint8_t VLMul; member
|