Home
last modified time | relevance | path

Searched refs:MachineRepresentation (Results 1 – 25 of 103) sorted by relevance

12345

/external/v8/src/
Dmachine-type.h18 enum class MachineRepresentation { enum
39 static_assert(static_cast<int>(MachineRepresentation::kLastRepresentation) <
43 const char* MachineReprToString(MachineRepresentation);
59 : representation_(MachineRepresentation::kNone), in MachineType()
61 MachineType(MachineRepresentation representation, MachineSemantic semantic) in MachineType()
72 MachineRepresentation representation() const { return representation_; } in representation()
75 bool IsNone() { return representation() == MachineRepresentation::kNone; } in IsNone()
85 static MachineRepresentation PointerRepresentation() { in PointerRepresentation()
86 return (kPointerSize == 4) ? MachineRepresentation::kWord32 in PointerRepresentation()
87 : MachineRepresentation::kWord64; in PointerRepresentation()
[all …]
Dmachine-type.cc11 std::ostream& operator<<(std::ostream& os, MachineRepresentation rep) { in operator <<()
15 const char* MachineReprToString(MachineRepresentation rep) { in MachineReprToString()
17 case MachineRepresentation::kNone: in MachineReprToString()
19 case MachineRepresentation::kBit: in MachineReprToString()
21 case MachineRepresentation::kWord8: in MachineReprToString()
23 case MachineRepresentation::kWord16: in MachineReprToString()
25 case MachineRepresentation::kWord32: in MachineReprToString()
27 case MachineRepresentation::kWord64: in MachineReprToString()
29 case MachineRepresentation::kFloat32: in MachineReprToString()
31 case MachineRepresentation::kFloat64: in MachineReprToString()
[all …]
Dregister-configuration.cc214 STATIC_ASSERT(static_cast<int>(MachineRepresentation::kSimd128) ==
215 static_cast<int>(MachineRepresentation::kFloat64) + 1);
216 STATIC_ASSERT(static_cast<int>(MachineRepresentation::kFloat64) ==
217 static_cast<int>(MachineRepresentation::kFloat32) + 1);
219 int RegisterConfiguration::GetAliases(MachineRepresentation rep, int index, in GetAliases()
220 MachineRepresentation other_rep, in GetAliases()
245 bool RegisterConfiguration::AreAliases(MachineRepresentation rep, int index, in AreAliases()
246 MachineRepresentation other_rep, in AreAliases()
/external/v8/src/compiler/
Dmachine-graph-verifier.cc28 representation_vector_(graph->NodeCount(), MachineRepresentation::kNone, in MachineRepresentationInferrer()
37 MachineRepresentation GetRepresentation(Node const* node) const { in GetRepresentation()
42 MachineRepresentation GetProjectionType(Node const* projection) { in GetProjectionType()
50 return index == 0 ? MachineRepresentation::kWord32 in GetProjectionType()
51 : MachineRepresentation::kBit; in GetProjectionType()
55 return index == 0 ? MachineRepresentation::kWord64 in GetProjectionType()
56 : MachineRepresentation::kBit; in GetProjectionType()
62 return index == 0 ? MachineRepresentation::kWord64 in GetProjectionType()
63 : MachineRepresentation::kBit; in GetProjectionType()
69 return MachineRepresentation::kNone; in GetProjectionType()
[all …]
Drepresentation-change.h121 UseInfo(MachineRepresentation representation, Truncation truncation,
130 return UseInfo(MachineRepresentation::kWord32, Truncation::Word32()); in TruncatingWord32()
133 return UseInfo(MachineRepresentation::kWord64, Truncation::Word64()); in TruncatingWord64()
136 return UseInfo(MachineRepresentation::kBit, Truncation::Bool()); in Bool()
139 return UseInfo(MachineRepresentation::kFloat32, Truncation::Any()); in Float32()
142 return UseInfo(MachineRepresentation::kFloat64, Truncation::Float64()); in TruncatingFloat64()
148 return UseInfo(MachineRepresentation::kTagged, Truncation::Any()); in AnyTagged()
151 return UseInfo(MachineRepresentation::kTaggedSigned, Truncation::Any()); in TaggedSigned()
154 return UseInfo(MachineRepresentation::kTaggedPointer, Truncation::Any()); in TaggedPointer()
159 return UseInfo(MachineRepresentation::kTaggedPointer, Truncation::Any(), in CheckedHeapObjectAsTaggedPointer()
[all …]
Drepresentation-change.cc102 bool IsWord(MachineRepresentation rep) { in IsWord()
103 return rep == MachineRepresentation::kWord8 || in IsWord()
104 rep == MachineRepresentation::kWord16 || in IsWord()
105 rep == MachineRepresentation::kWord32; in IsWord()
115 Node* node, MachineRepresentation output_rep, Type* output_type, in GetRepresentationFor()
117 if (output_rep == MachineRepresentation::kNone && in GetRepresentationFor()
126 output_rep != MachineRepresentation::kWord32) { in GetRepresentationFor()
141 case MachineRepresentation::kTaggedSigned: in GetRepresentationFor()
146 case MachineRepresentation::kTaggedPointer: in GetRepresentationFor()
151 case MachineRepresentation::kTagged: in GetRepresentationFor()
[all …]
Dsimplified-lowering.cc68 MachineRepresentation MachineRepresentationFromArrayType( in MachineRepresentationFromArrayType()
74 return MachineRepresentation::kWord8; in MachineRepresentationFromArrayType()
77 return MachineRepresentation::kWord16; in MachineRepresentationFromArrayType()
80 return MachineRepresentation::kWord32; in MachineRepresentationFromArrayType()
82 return MachineRepresentation::kFloat32; in MachineRepresentationFromArrayType()
84 return MachineRepresentation::kFloat64; in MachineRepresentationFromArrayType()
87 return MachineRepresentation::kNone; in MachineRepresentationFromArrayType()
123 UseInfo TruncatingUseInfoFromRepresentation(MachineRepresentation rep) { in TruncatingUseInfoFromRepresentation()
125 case MachineRepresentation::kTaggedSigned: in TruncatingUseInfoFromRepresentation()
126 case MachineRepresentation::kTaggedPointer: in TruncatingUseInfoFromRepresentation()
[all …]
Dinstruction.cc80 MachineRepresentation rep = loc.representation(); in InterferesWith()
81 MachineRepresentation other_rep = other_loc.representation(); in InterferesWith()
186 case MachineRepresentation::kNone: in operator <<()
189 case MachineRepresentation::kBit: in operator <<()
192 case MachineRepresentation::kWord8: in operator <<()
195 case MachineRepresentation::kWord16: in operator <<()
198 case MachineRepresentation::kWord32: in operator <<()
201 case MachineRepresentation::kWord64: in operator <<()
204 case MachineRepresentation::kFloat32: in operator <<()
207 case MachineRepresentation::kFloat64: in operator <<()
[all …]
Dsimd-scalar-lowering.cc22 Signature<MachineRepresentation>* signature) in SimdScalarLowering()
107 Signature<MachineRepresentation>* signature, int old_index) { in GetParameterIndexAfterLowering()
112 if (signature->GetParam(i) == MachineRepresentation::kSimd128) { in GetParameterIndexAfterLowering()
130 Signature<MachineRepresentation>* signature) { in GetReturnCountAfterLowering()
133 if (signature->GetReturn(i) == MachineRepresentation::kSimd128) { in GetReturnCountAfterLowering()
149 void SimdScalarLowering::LowerLoadOp(MachineRepresentation rep, Node* node, in LowerLoadOp()
151 if (rep == MachineRepresentation::kSimd128) { in LowerLoadOp()
181 void SimdScalarLowering::LowerStoreOp(MachineRepresentation rep, Node* node, in LowerStoreOp()
184 if (rep == MachineRepresentation::kSimd128) { in LowerStoreOp()
267 MachineRepresentation::kSimd128) { in LowerNode()
[all …]
Dmachine-operator.cc78 MachineRepresentation AtomicStoreRepresentationOf(Operator const* op) { in AtomicStoreRepresentationOf()
80 return OpParameter<MachineRepresentation>(op); in AtomicStoreRepresentationOf()
512 StoreRepresentation(MachineRepresentation::Type, \
542 MachineRepresentation::Type) {} \
550 "CheckedStore", 4, 1, 1, 0, 1, 0, MachineRepresentation::Type) { \
560 StoreRepresentation(MachineRepresentation::Type, \
589 : public Operator1<MachineRepresentation> { \
591 : Operator1<MachineRepresentation>( \
594 "AtomicStore", 3, 1, 1, 0, 1, 0, MachineRepresentation::Type) {} \
638 Zone* zone, MachineRepresentation word, Flags flags, in MachineOperatorBuilder()
[all …]
Daccess-info.cc84 FieldIndex field_index, MachineRepresentation field_representation, in DataField()
108 field_representation_(MachineRepresentation::kNone), in PropertyAccessInfo()
116 field_representation_(MachineRepresentation::kNone), in PropertyAccessInfo()
126 field_representation_(MachineRepresentation::kNone), in PropertyAccessInfo()
131 FieldIndex field_index, MachineRepresentation field_representation, in PropertyAccessInfo()
312 MachineRepresentation field_representation = in ComputePropertyAccessInfo()
313 MachineRepresentation::kTagged; in ComputePropertyAccessInfo()
317 field_representation = MachineRepresentation::kTaggedSigned; in ComputePropertyAccessInfo()
320 field_representation = MachineRepresentation::kFloat64; in ComputePropertyAccessInfo()
324 field_representation = MachineRepresentation::kTaggedPointer; in ComputePropertyAccessInfo()
[all …]
Dsimd-scalar-lowering.h22 Signature<MachineRepresentation>* signature);
45 Signature<MachineRepresentation>* signature() const { return signature_; } in signature()
58 void LowerLoadOp(MachineRepresentation rep, Node* node,
60 void LowerStoreOp(MachineRepresentation rep, Node* node,
76 Signature<MachineRepresentation>* signature_;
Dint64-lowering.cc25 Signature<MachineRepresentation>* signature) in Int64Lowering()
78 Signature<MachineRepresentation>* signature, int old_index) { in GetParameterIndexAfterLowering()
81 if (signature->GetParam(i) == MachineRepresentation::kWord64) { in GetParameterIndexAfterLowering()
89 Signature<MachineRepresentation>* signature) { in GetParameterCountAfterLowering()
97 Signature<MachineRepresentation>* signature) { in GetReturnCountAfterLowering()
100 if (signature->GetReturn(i) == MachineRepresentation::kWord64) { in GetReturnCountAfterLowering()
144 MachineRepresentation rep; in LowerNode()
152 if (rep == MachineRepresentation::kWord64) { in LowerNode()
189 MachineRepresentation rep; in LowerNode()
197 if (rep == MachineRepresentation::kWord64) { in LowerNode()
[all …]
Dload-elimination.cc837 case MachineRepresentation::kNone: in ReduceStoreElement()
838 case MachineRepresentation::kSimd1x4: in ReduceStoreElement()
839 case MachineRepresentation::kSimd1x8: in ReduceStoreElement()
840 case MachineRepresentation::kSimd1x16: in ReduceStoreElement()
841 case MachineRepresentation::kBit: in ReduceStoreElement()
844 case MachineRepresentation::kWord8: in ReduceStoreElement()
845 case MachineRepresentation::kWord16: in ReduceStoreElement()
846 case MachineRepresentation::kWord32: in ReduceStoreElement()
847 case MachineRepresentation::kWord64: in ReduceStoreElement()
848 case MachineRepresentation::kFloat32: in ReduceStoreElement()
[all …]
Dinstruction.h430 MachineRepresentation rep, int index) in LocationOperand()
476 MachineRepresentation representation() const { in representation()
480 static bool IsSupportedRepresentation(MachineRepresentation rep) { in IsSupportedRepresentation()
482 case MachineRepresentation::kWord32: in IsSupportedRepresentation()
483 case MachineRepresentation::kWord64: in IsSupportedRepresentation()
484 case MachineRepresentation::kFloat32: in IsSupportedRepresentation()
485 case MachineRepresentation::kFloat64: in IsSupportedRepresentation()
486 case MachineRepresentation::kSimd128: in IsSupportedRepresentation()
487 case MachineRepresentation::kSimd1x4: in IsSupportedRepresentation()
488 case MachineRepresentation::kSimd1x8: in IsSupportedRepresentation()
[all …]
Dinstruction-selector.h250 void MarkAsRepresentation(MachineRepresentation rep, Node* node);
252 MarkAsRepresentation(MachineRepresentation::kWord32, node); in MarkAsWord32()
255 MarkAsRepresentation(MachineRepresentation::kWord64, node); in MarkAsWord64()
258 MarkAsRepresentation(MachineRepresentation::kFloat32, node); in MarkAsFloat32()
261 MarkAsRepresentation(MachineRepresentation::kFloat64, node); in MarkAsFloat64()
264 MarkAsRepresentation(MachineRepresentation::kSimd128, node); in MarkAsSimd128()
268 MarkAsRepresentation(MachineRepresentation::kSimd1x4, node); in MarkAsSimd1x4()
275 MarkAsRepresentation(MachineRepresentation::kSimd1x8, node); in MarkAsSimd1x8()
282 MarkAsRepresentation(MachineRepresentation::kSimd1x16, node); in MarkAsSimd1x16()
288 MarkAsRepresentation(MachineRepresentation::kTagged, node); in MarkAsReference()
[all …]
/external/v8/src/compiler/mips/
Dinstruction-selector-mips.cc246 case MachineRepresentation::kFloat32: in VisitLoad()
249 case MachineRepresentation::kFloat64: in VisitLoad()
252 case MachineRepresentation::kBit: // Fall through. in VisitLoad()
253 case MachineRepresentation::kWord8: in VisitLoad()
256 case MachineRepresentation::kWord16: in VisitLoad()
259 case MachineRepresentation::kTaggedSigned: // Fall through. in VisitLoad()
260 case MachineRepresentation::kTaggedPointer: // Fall through. in VisitLoad()
261 case MachineRepresentation::kTagged: // Fall through. in VisitLoad()
262 case MachineRepresentation::kWord32: in VisitLoad()
265 case MachineRepresentation::kWord64: // Fall through. in VisitLoad()
[all …]
/external/v8/src/compiler/ia32/
Dinstruction-selector-ia32.cc39 MachineRepresentation rep = in CanBeMemoryOperand()
44 return rep == MachineRepresentation::kWord32 || in CanBeMemoryOperand()
45 rep == MachineRepresentation::kTagged; in CanBeMemoryOperand()
48 return rep == MachineRepresentation::kWord16; in CanBeMemoryOperand()
51 return rep == MachineRepresentation::kWord8; in CanBeMemoryOperand()
216 case MachineRepresentation::kFloat32: in VisitLoad()
219 case MachineRepresentation::kFloat64: in VisitLoad()
222 case MachineRepresentation::kBit: // Fall through. in VisitLoad()
223 case MachineRepresentation::kWord8: in VisitLoad()
226 case MachineRepresentation::kWord16: in VisitLoad()
[all …]
/external/v8/src/compiler/x87/
Dinstruction-selector-x87.cc39 MachineRepresentation rep = in CanBeMemoryOperand()
44 return rep == MachineRepresentation::kWord32 || in CanBeMemoryOperand()
45 rep == MachineRepresentation::kTagged; in CanBeMemoryOperand()
48 return rep == MachineRepresentation::kWord16; in CanBeMemoryOperand()
51 return rep == MachineRepresentation::kWord8; in CanBeMemoryOperand()
177 case MachineRepresentation::kFloat32: in VisitLoad()
180 case MachineRepresentation::kFloat64: in VisitLoad()
183 case MachineRepresentation::kBit: // Fall through. in VisitLoad()
184 case MachineRepresentation::kWord8: in VisitLoad()
187 case MachineRepresentation::kWord16: in VisitLoad()
[all …]
/external/v8/src/compiler/ppc/
Dinstruction-selector-ppc.cc186 case MachineRepresentation::kFloat32: in VisitLoad()
189 case MachineRepresentation::kFloat64: in VisitLoad()
192 case MachineRepresentation::kBit: // Fall through. in VisitLoad()
193 case MachineRepresentation::kWord8: in VisitLoad()
196 case MachineRepresentation::kWord16: in VisitLoad()
200 case MachineRepresentation::kTaggedSigned: // Fall through. in VisitLoad()
201 case MachineRepresentation::kTaggedPointer: // Fall through. in VisitLoad()
202 case MachineRepresentation::kTagged: // Fall through. in VisitLoad()
204 case MachineRepresentation::kWord32: in VisitLoad()
208 case MachineRepresentation::kTaggedSigned: // Fall through. in VisitLoad()
[all …]
/external/v8/src/compiler/mips64/
Dinstruction-selector-mips64.cc198 MachineRepresentation rep = in Initialize()
201 if (rep != MachineRepresentation::kTaggedSigned && in Initialize()
202 rep != MachineRepresentation::kTaggedPointer && in Initialize()
203 rep != MachineRepresentation::kTagged && in Initialize()
204 rep != MachineRepresentation::kWord64) { in Initialize()
359 case MachineRepresentation::kFloat32: in VisitLoad()
362 case MachineRepresentation::kFloat64: in VisitLoad()
365 case MachineRepresentation::kBit: // Fall through. in VisitLoad()
366 case MachineRepresentation::kWord8: in VisitLoad()
369 case MachineRepresentation::kWord16: in VisitLoad()
[all …]
/external/v8/src/compiler/s390/
Dinstruction-selector-s390.cc145 MachineRepresentation rep = in CanBeMemoryOperand()
150 return rep == MachineRepresentation::kWord64 || IsAnyTagged(rep); in CanBeMemoryOperand()
153 return rep == MachineRepresentation::kWord32; in CanBeMemoryOperand()
231 MachineRepresentation GetRepresentation(Node* node) { in GetRepresentation()
236 return MachineRepresentation::kWord64 == GetRepresentation(node); in Is64BitOperand()
267 case MachineRepresentation::kFloat32: in SelectLoadOpcode()
270 case MachineRepresentation::kFloat64: in SelectLoadOpcode()
273 case MachineRepresentation::kBit: // Fall through. in SelectLoadOpcode()
274 case MachineRepresentation::kWord8: in SelectLoadOpcode()
277 case MachineRepresentation::kWord16: in SelectLoadOpcode()
[all …]
/external/v8/src/compiler/x64/
Dinstruction-selector-x64.cc58 MachineRepresentation rep = in CanBeMemoryOperand()
64 return rep == MachineRepresentation::kWord64 || IsAnyTagged(rep); in CanBeMemoryOperand()
67 return rep == MachineRepresentation::kWord32; in CanBeMemoryOperand()
70 return rep == MachineRepresentation::kWord16; in CanBeMemoryOperand()
73 return rep == MachineRepresentation::kWord8; in CanBeMemoryOperand()
200 case MachineRepresentation::kFloat32: in GetLoadOpcode()
203 case MachineRepresentation::kFloat64: in GetLoadOpcode()
206 case MachineRepresentation::kBit: // Fall through. in GetLoadOpcode()
207 case MachineRepresentation::kWord8: in GetLoadOpcode()
210 case MachineRepresentation::kWord16: in GetLoadOpcode()
[all …]
/external/v8/src/compiler/arm64/
Dinstruction-selector-arm64.cc124 bool CanBeLoadStoreShiftImmediate(Node* node, MachineRepresentation rep) { in CanBeLoadStoreShiftImmediate()
126 DCHECK_GT(MachineRepresentation::kSimd128, rep); in CanBeLoadStoreShiftImmediate()
312 MachineRepresentation rep, Node* node, Node* index, in TryMatchLoadStoreShift()
530 ImmediateMode immediate_mode, MachineRepresentation rep, in EmitLoad()
565 MachineRepresentation rep = load_rep.representation(); in VisitLoad()
567 case MachineRepresentation::kFloat32: in VisitLoad()
571 case MachineRepresentation::kFloat64: in VisitLoad()
575 case MachineRepresentation::kBit: // Fall through. in VisitLoad()
576 case MachineRepresentation::kWord8: in VisitLoad()
580 case MachineRepresentation::kWord16: in VisitLoad()
[all …]
/external/v8/src/compiler/arm/
Dinstruction-selector-arm.cc410 case MachineRepresentation::kFloat32: in VisitLoad()
413 case MachineRepresentation::kFloat64: in VisitLoad()
416 case MachineRepresentation::kBit: // Fall through. in VisitLoad()
417 case MachineRepresentation::kWord8: in VisitLoad()
420 case MachineRepresentation::kWord16: in VisitLoad()
423 case MachineRepresentation::kTaggedSigned: // Fall through. in VisitLoad()
424 case MachineRepresentation::kTaggedPointer: // Fall through. in VisitLoad()
425 case MachineRepresentation::kTagged: // Fall through. in VisitLoad()
426 case MachineRepresentation::kWord32: in VisitLoad()
429 case MachineRepresentation::kWord64: // Fall through. in VisitLoad()
[all …]

12345