Lines Matching defs:Log2LMUL

37   // Check Log2LMUL is -3, -2, -1, 0, 1, 2, 3
39 Log2LMUL = NewLog2LMUL;
43 if (Log2LMUL < 0)
44 return "mf" + utostr(1ULL << (-Log2LMUL));
45 return "m" + utostr(1ULL << Log2LMUL);
54 Log2ScaleResult = Log2LMUL + 3;
57 Log2ScaleResult = Log2LMUL + 2;
60 Log2ScaleResult = Log2LMUL + 1;
63 Log2ScaleResult = Log2LMUL;
72 void LMULType::MulLog2LMUL(int log2LMUL) { Log2LMUL += log2LMUL; }
74 RVVType::RVVType(BasicType BT, int Log2LMUL,
76 : BT(BT), LMUL(LMULType(Log2LMUL)) {
120 if (IsTuple && (1 << std::max(0, LMUL.Log2LMUL)) * NF > 8)
525 int32_t Log2LMUL;
526 if (ComplexTT.second.getAsInteger(10, Log2LMUL)) {
530 switch (Log2LMUL) {
557 int32_t Log2LMUL;
558 if (ComplexTT.second.getAsInteger(10, Log2LMUL)) {
562 switch (Log2LMUL) {
590 int32_t Log2LMUL;
591 if (ComplexTT.second.getAsInteger(10, Log2LMUL)) {
595 switch (Log2LMUL) {
894 void RVVType::applyFixedLog2LMUL(int Log2LMUL, enum FixedLMULType Type) {
897 if (Log2LMUL <= LMUL.Log2LMUL) {
903 if (Log2LMUL >= LMUL.Log2LMUL) {
909 if (Log2LMUL > LMUL.Log2LMUL) {
917 LMUL = LMULType(Log2LMUL);
922 RVVTypeCache::computeTypes(BasicType BT, int Log2LMUL, unsigned NF,
926 auto T = computeType(BT, Log2LMUL, Proto);
936 static uint64_t computeRVVTypeHashValue(BasicType BT, int Log2LMUL,
940 // | Log2LMUL + 3 | BT | Proto.PT | Proto.TM | Proto.VTM |
941 assert(Log2LMUL >= -3 && Log2LMUL <= 3);
942 return (Log2LMUL + 3) | (static_cast<uint64_t>(BT) & 0xff) << 8 |
948 std::optional<RVVTypePtr> RVVTypeCache::computeType(BasicType BT, int Log2LMUL,
950 uint64_t Idx = computeRVVTypeHashValue(BT, Log2LMUL, Proto);
960 RVVType T(BT, Log2LMUL, Proto);
1028 RVVTypeCache &TypeCache, BasicType Type, int Log2LMUL,
1032 auto T = TypeCache.computeType(Type, Log2LMUL, PD);