Lines Matching refs:MachineRepresentation
101 bool IsWord(MachineRepresentation rep) { in IsWord()
102 return rep == MachineRepresentation::kWord8 || in IsWord()
103 rep == MachineRepresentation::kWord16 || in IsWord()
104 rep == MachineRepresentation::kWord32; in IsWord()
115 Node* node, MachineRepresentation output_rep, Type* output_type, in GetRepresentationFor()
116 MachineRepresentation use_rep, Truncation truncation) { in GetRepresentationFor()
117 if (output_rep == MachineRepresentation::kNone) { in GetRepresentationFor()
133 case MachineRepresentation::kTagged: in GetRepresentationFor()
135 case MachineRepresentation::kFloat32: in GetRepresentationFor()
138 case MachineRepresentation::kFloat64: in GetRepresentationFor()
141 case MachineRepresentation::kBit: in GetRepresentationFor()
143 case MachineRepresentation::kWord8: in GetRepresentationFor()
144 case MachineRepresentation::kWord16: in GetRepresentationFor()
145 case MachineRepresentation::kWord32: in GetRepresentationFor()
147 case MachineRepresentation::kWord64: in GetRepresentationFor()
149 case MachineRepresentation::kNone: in GetRepresentationFor()
158 Node* node, MachineRepresentation output_rep, Type* output_type) { in GetTaggedRepresentationFor()
171 } else if (output_rep == MachineRepresentation::kBit) { in GetTaggedRepresentationFor()
176 MachineRepresentation::kTagged); in GetTaggedRepresentationFor()
187 if (output_rep == MachineRepresentation::kBit) { in GetTaggedRepresentationFor()
196 MachineRepresentation::kTagged); in GetTaggedRepresentationFor()
199 MachineRepresentation::kFloat32) { // float32 -> float64 -> tagged in GetTaggedRepresentationFor()
202 } else if (output_rep == MachineRepresentation::kFloat64) { in GetTaggedRepresentationFor()
206 MachineRepresentation::kTagged); in GetTaggedRepresentationFor()
213 Node* node, MachineRepresentation output_rep, Type* output_type, in GetFloat32RepresentationFor()
236 if (output_rep == MachineRepresentation::kBit) { in GetFloat32RepresentationFor()
238 MachineRepresentation::kFloat32); in GetFloat32RepresentationFor()
252 } else if (output_rep == MachineRepresentation::kTagged) { in GetFloat32RepresentationFor()
256 } else if (output_rep == MachineRepresentation::kFloat64) { in GetFloat32RepresentationFor()
260 MachineRepresentation::kFloat32); in GetFloat32RepresentationFor()
267 Node* node, MachineRepresentation output_rep, Type* output_type, in GetFloat64RepresentationFor()
291 if (output_rep == MachineRepresentation::kBit) { in GetFloat64RepresentationFor()
293 MachineRepresentation::kFloat64); in GetFloat64RepresentationFor()
304 } else if (output_rep == MachineRepresentation::kTagged) { in GetFloat64RepresentationFor()
306 } else if (output_rep == MachineRepresentation::kFloat32) { in GetFloat64RepresentationFor()
310 MachineRepresentation::kFloat64); in GetFloat64RepresentationFor()
322 Node* node, MachineRepresentation output_rep, Type* output_type) { in GetWord32RepresentationFor()
339 if (output_rep == MachineRepresentation::kBit) { in GetWord32RepresentationFor()
341 } else if (output_rep == MachineRepresentation::kFloat64) { in GetWord32RepresentationFor()
352 } else if (output_rep == MachineRepresentation::kFloat32) { in GetWord32RepresentationFor()
362 } else if (output_rep == MachineRepresentation::kTagged) { in GetWord32RepresentationFor()
374 MachineRepresentation::kWord32); in GetWord32RepresentationFor()
381 Node* node, MachineRepresentation output_rep, Type* output_type) { in GetBitRepresentationFor()
396 if (output_rep == MachineRepresentation::kTagged) { in GetBitRepresentationFor()
400 MachineRepresentation::kBit); in GetBitRepresentationFor()
407 Node* node, MachineRepresentation output_rep, Type* output_type) { in GetWord64RepresentationFor()
408 if (output_rep == MachineRepresentation::kBit) { in GetWord64RepresentationFor()
413 MachineRepresentation::kWord64); in GetWord64RepresentationFor()
502 MachineRepresentation output_rep, in TypeError()
504 MachineRepresentation use) { in TypeError()