Home | History | Annotate | Download | only in src

Lines Matching refs:MachineType

41 class MachineType {
43 MachineType()
46 MachineType(MachineRepresentation representation, MachineSemantic semantic)
49 bool operator==(MachineType other) const {
54 bool operator!=(MachineType other) const { return !(*this == other); }
73 static MachineType Pointer() {
74 return MachineType(PointerRepresentation(), MachineSemantic::kNone);
76 static MachineType IntPtr() {
79 static MachineType Float32() {
80 return MachineType(MachineRepresentation::kFloat32,
83 static MachineType Float64() {
84 return MachineType(MachineRepresentation::kFloat64,
87 static MachineType Int8() {
88 return MachineType(MachineRepresentation::kWord8, MachineSemantic::kInt32);
90 static MachineType Uint8() {
91 return MachineType(MachineRepresentation::kWord8, MachineSemantic::kUint32);
93 static MachineType Int16() {
94 return MachineType(MachineRepresentation::kWord16, MachineSemantic::kInt32);
96 static MachineType Uint16() {
97 return MachineType(MachineRepresentation::kWord16,
100 static MachineType Int32() {
101 return MachineType(MachineRepresentation::kWord32, MachineSemantic::kInt32);
103 static MachineType Uint32() {
104 return MachineType(MachineRepresentation::kWord32,
107 static MachineType Int64() {
108 return MachineType(MachineRepresentation::kWord64, MachineSemantic::kInt64);
110 static MachineType Uint64() {
111 return MachineType(MachineRepresentation::kWord64,
114 static MachineType AnyTagged() {
115 return MachineType(MachineRepresentation::kTagged, MachineSemantic::kAny);
117 static MachineType Bool() {
118 return MachineType(MachineRepresentation::kBit, MachineSemantic::kBool);
120 static MachineType TaggedBool() {
121 return MachineType(MachineRepresentation::kTagged, MachineSemantic::kBool);
123 static MachineType None() {
124 return MachineType(MachineRepresentation::kNone, MachineSemantic::kNone);
128 static MachineType RepWord8() {
129 return MachineType(MachineRepresentation::kWord8, MachineSemantic::kNone);
131 static MachineType RepWord16() {
132 return MachineType(MachineRepresentation::kWord16, MachineSemantic::kNone);
134 static MachineType RepWord32() {
135 return MachineType(MachineRepresentation::kWord32, MachineSemantic::kNone);
137 static MachineType RepWord64() {
138 return MachineType(MachineRepresentation::kWord64, MachineSemantic::kNone);
140 static MachineType RepFloat32() {
141 return MachineType(MachineRepresentation::kFloat32, MachineSemantic::kNone);
143 static MachineType RepFloat64() {
144 return MachineType(MachineRepresentation::kFloat64, MachineSemantic::kNone);
146 static MachineType RepTagged() {
147 return MachineType(MachineRepresentation::kTagged, MachineSemantic::kNone);
149 static MachineType RepBit() {
150 return MachineType(MachineRepresentation::kBit, MachineSemantic::kNone);
162 V8_INLINE size_t hash_value(MachineType type) {
169 std::ostream& operator<<(std::ostream& os, MachineType type);
199 typedef Signature<MachineType> MachineSignature;