Goose  Diff

Differences From Artifact [e0811e82a3]:

  • File bs/cir/op-allocvar.h — part of check-in [0db147f117] at 2024-09-15 20:24:31 on branch cir-ssa-refactor — Add clang format settings, reformat everything (user: achavasse size: 1208)

To Artifact [bbf8939fb2]:

  • File bs/cir/op-allocvar.h — part of check-in [184c1add90] at 2024-09-15 21:15:04 on branch cir-ssa-refactor —
    • Fix index Values EIR encoding
    • Fix CFG printer
    (user: achavasse size: 1209)

31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
            if( m_index != rhs.m_index )
                return m_index < rhs.m_index;
            return m_type < rhs.m_type;
        }

        friend ostream& operator<<( ostream& out, const AllocVar& ins )
        {
            return out << "ALLOCVAR(" << ins.m_index << ", " << ins.m_type.get() << ')';
        }

      private:
        LowerableType m_type;
        uint32_t m_index = 0;
    };
} // namespace goose::cir







|







31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
            if( m_index != rhs.m_index )
                return m_index < rhs.m_index;
            return m_type < rhs.m_type;
        }

        friend ostream& operator<<( ostream& out, const AllocVar& ins )
        {
            return out << "ALLOCVAR(" << ins.m_index << ", " << ins.m_type.type() << ')';
        }

      private:
        LowerableType m_type;
        uint32_t m_index = 0;
    };
} // namespace goose::cir