/external/v8/src/ |
machine-type.h | 18 enum class MachineRepresentation : uint8_t { 44 : representation_(MachineRepresentation::kNone), 46 MachineType(MachineRepresentation representation, MachineSemantic semantic) 57 MachineRepresentation representation() const { return representation_; } 69 static MachineRepresentation PointerRepresentation() { 70 return (kPointerSize == 4) ? MachineRepresentation::kWord32 71 : MachineRepresentation::kWord64; 80 return MachineType(MachineRepresentation::kFloat32, 84 return MachineType(MachineRepresentation::kFloat64, 88 return MachineType(MachineRepresentation::kWord8, MachineSemantic::kInt32) [all...] |
machine-type.cc | 11 std::ostream& operator<<(std::ostream& os, MachineRepresentation rep) { 13 case MachineRepresentation::kNone: 15 case MachineRepresentation::kBit: 17 case MachineRepresentation::kWord8: 19 case MachineRepresentation::kWord16: 21 case MachineRepresentation::kWord32: 23 case MachineRepresentation::kWord64: 25 case MachineRepresentation::kFloat32: 27 case MachineRepresentation::kFloat64: 29 case MachineRepresentation::kTagged [all...] |
/external/v8/test/cctest/compiler/ |
test-representation-change.cc | 86 void CheckTypeError(MachineRepresentation from, Type* from_type, 87 MachineRepresentation to) { 96 void CheckNop(MachineRepresentation from, Type* from_type, 97 MachineRepresentation to) { 117 true_node, MachineRepresentation::kTagged, Type::None(), 118 MachineRepresentation::kBit); 123 false_node, MachineRepresentation::kTagged, Type::None(), 124 MachineRepresentation::kBit); 135 node, MachineRepresentation::kBit, Type::Boolean(), 136 MachineRepresentation::kTagged) [all...] |
test-gap-resolver.cc | 181 MachineRepresentation RandomRepresentation() { 185 return MachineRepresentation::kWord32; 187 return MachineRepresentation::kWord64; 189 return MachineRepresentation::kTagged; 192 return MachineRepresentation::kNone; 195 MachineRepresentation RandomDoubleRepresentation() { 197 if (index == 0) return MachineRepresentation::kFloat64; 198 return MachineRepresentation::kFloat32;
|
/external/v8/src/compiler/ |
representation-change.cc | 101 bool IsWord(MachineRepresentation rep) { 102 return rep == MachineRepresentation::kWord8 || 103 rep == MachineRepresentation::kWord16 || 104 rep == MachineRepresentation::kWord32; 115 Node* node, MachineRepresentation output_rep, Type* output_type, 116 MachineRepresentation use_rep, Truncation truncation) { 117 if (output_rep == MachineRepresentation::kNone) { 133 case MachineRepresentation::kTagged: 135 case MachineRepresentation::kFloat32: 138 case MachineRepresentation::kFloat64 [all...] |
representation-change.h | 89 Node* GetRepresentationFor(Node* node, MachineRepresentation output_rep, 90 Type* output_type, MachineRepresentation use_rep, 115 Node* GetTaggedRepresentationFor(Node* node, MachineRepresentation output_rep, 118 MachineRepresentation output_rep, 121 MachineRepresentation output_rep, 123 Node* GetWord32RepresentationFor(Node* node, MachineRepresentation output_rep, 125 Node* GetBitRepresentationFor(Node* node, MachineRepresentation output_rep, 127 Node* GetWord64RepresentationFor(Node* node, MachineRepresentation output_rep, 129 Node* TypeError(Node* node, MachineRepresentation output_rep, 130 Type* output_type, MachineRepresentation use) [all...] |
simplified-lowering.cc | 76 UseInfo(MachineRepresentation preferred, Truncation truncation) 79 return UseInfo(MachineRepresentation::kWord32, Truncation::Word32()); 82 return UseInfo(MachineRepresentation::kWord64, Truncation::Word64()); 85 return UseInfo(MachineRepresentation::kBit, Truncation::Bool()); 88 return UseInfo(MachineRepresentation::kFloat32, Truncation::Float32()); 91 return UseInfo(MachineRepresentation::kFloat64, Truncation::Float64()); 97 return UseInfo(MachineRepresentation::kTagged, Truncation::Any()); 102 return UseInfo(MachineRepresentation::kNone, Truncation::Any()); 105 return UseInfo(MachineRepresentation::kNone, Truncation::None()); 111 return UseInfo(MachineRepresentation::kFloat64, Truncation::Word32()) [all...] |
common-operator.h | 74 explicit SelectParameters(MachineRepresentation representation, 78 MachineRepresentation representation() const { return representation_; } 82 const MachineRepresentation representation_; 98 MachineRepresentation PhiRepresentationOf(const Operator* const); 160 const Operator* Select(MachineRepresentation, BranchHint = BranchHint::kNone); 161 const Operator* Phi(MachineRepresentation representation,
|
instruction-selector.h | 173 void MarkAsRepresentation(MachineRepresentation rep, Node* node); 175 MarkAsRepresentation(MachineRepresentation::kWord32, node); 178 MarkAsRepresentation(MachineRepresentation::kWord64, node); 181 MarkAsRepresentation(MachineRepresentation::kFloat32, node); 184 MarkAsRepresentation(MachineRepresentation::kFloat64, node); 187 MarkAsRepresentation(MachineRepresentation::kTagged, node); 192 void MarkAsRepresentation(MachineRepresentation rep,
|
machine-operator.h | 71 StoreRepresentation(MachineRepresentation representation, 76 MachineRepresentation representation() const { return representation_; } 80 MachineRepresentation representation_; 101 typedef MachineRepresentation CheckedStoreRepresentation; 148 MachineRepresentation word = MachineType::PointerRepresentation(), 316 bool Is32() const { return word() == MachineRepresentation::kWord32; } 317 bool Is64() const { return word() == MachineRepresentation::kWord64; } 318 MachineRepresentation word() const { return word_; } 351 MachineRepresentation const word_;
|
instruction.cc | 143 case MachineRepresentation::kNone: 146 case MachineRepresentation::kBit: 149 case MachineRepresentation::kWord8: 152 case MachineRepresentation::kWord16: 155 case MachineRepresentation::kWord32: 158 case MachineRepresentation::kWord64: 161 case MachineRepresentation::kFloat32: 164 case MachineRepresentation::kFloat64: 167 case MachineRepresentation::kTagged: 242 ExplicitOperand::ExplicitOperand(LocationKind kind, MachineRepresentation rep [all...] |
instruction-selector-impl.h | 71 MachineRepresentation rep) { 132 MachineRepresentation rep = InstructionSequence::DefaultRepresentation(); 147 MachineRepresentation rep) { 155 MachineRepresentation rep = MachineType::PointerRepresentation(); 173 sequence()->MarkAsRepresentation(MachineRepresentation::kFloat64, 188 MachineRepresentation rep) { 255 MachineRepresentation rep,
|
instruction.h | 404 MachineRepresentation rep, int index) 434 MachineRepresentation representation() const { 438 static bool IsSupportedRepresentation(MachineRepresentation rep) { 440 case MachineRepresentation::kWord32: 441 case MachineRepresentation::kWord64: 442 case MachineRepresentation::kFloat32: 443 case MachineRepresentation::kFloat64: 444 case MachineRepresentation::kTagged: 446 case MachineRepresentation::kBit: 447 case MachineRepresentation::kWord8 [all...] |
machine-operator.cc | 288 StoreRepresentation(MachineRepresentation::Type, \ 316 "CheckedStore", 4, 1, 1, 0, 1, 0, MachineRepresentation::Type) { \ 335 MachineRepresentation word, 338 DCHECK(word == MachineRepresentation::kWord32 || 339 word == MachineRepresentation::kWord64); 386 case MachineRepresentation::kRep: \ 400 case MachineRepresentation::kBit: 401 case MachineRepresentation::kNone: 426 case MachineRepresentation::kRep: \ 430 case MachineRepresentation::kBit [all...] |
/external/v8/test/unittests/compiler/ |
select-lowering-unittest.cc | 38 common()->Select(MachineRepresentation::kWord32), p0, p1, p2); 48 MachineRepresentation::kWord32, p1, p2, 56 common()->Select(MachineRepresentation::kWord32), p0, p3, p4)); 58 EXPECT_THAT(r.replacement(), IsPhi(MachineRepresentation::kWord32, p3, p4, 65 common()->Select(MachineRepresentation::kWord32), p0, s0, p0)); 67 EXPECT_THAT(r.replacement(), IsPhi(MachineRepresentation::kWord32, s0, p0,
|
machine-operator-unittest.cc | 21 ::testing::tuple<MachineRepresentation, T> > { 23 MachineRepresentation representation() const { 30 ::testing::tuple<MachineRepresentation, T> > B; 36 const MachineRepresentation kMachineReps[] = {MachineRepresentation::kWord32, 37 MachineRepresentation::kWord64}; 47 const MachineRepresentation kRepresentationsForStore[] = { 48 MachineRepresentation::kFloat32, MachineRepresentation::kFloat64, 49 MachineRepresentation::kWord8, MachineRepresentation::kWord16 [all...] |
common-operator-reducer-unittest.cc | 58 const MachineRepresentation kMachineRepresentations[] = { 59 MachineRepresentation::kBit, MachineRepresentation::kWord8, 60 MachineRepresentation::kWord16, MachineRepresentation::kWord32, 61 MachineRepresentation::kWord64, MachineRepresentation::kFloat32, 62 MachineRepresentation::kFloat64, MachineRepresentation::kTagged}; 283 TRACED_FOREACH(MachineRepresentation, rep, kMachineRepresentations) [all...] |
change-lowering-unittest.cc | 30 virtual MachineRepresentation WordRepresentation() const = 0; 34 return WordRepresentation() == MachineRepresentation::kWord32; 37 return WordRepresentation() == MachineRepresentation::kWord64; 101 public ::testing::WithParamInterface<MachineRepresentation> { 105 MachineRepresentation WordRepresentation() const final { return GetParam(); } 114 EXPECT_THAT(r.replacement(), IsSelect(MachineRepresentation::kTagged, value, 196 IsStore(StoreRepresentation(MachineRepresentation::kTagged, 215 IsStore(StoreRepresentation(MachineRepresentation::kTagged, 261 IsStore(StoreRepresentation(MachineRepresentation::kTagged, 285 IsStore(StoreRepresentation(MachineRepresentation::kWord8 [all...] |
dead-code-elimination-unittest.cc | 39 const MachineRepresentation kMachineRepresentations[] = { 40 MachineRepresentation::kBit, MachineRepresentation::kWord8, 41 MachineRepresentation::kWord16, MachineRepresentation::kWord32, 42 MachineRepresentation::kWord64, MachineRepresentation::kFloat32, 43 MachineRepresentation::kFloat64, MachineRepresentation::kTagged}; 194 common()->Phi(MachineRepresentation::kTagged, 2), v0, v1, merge) [all...] |
branch-elimination-unittest.cc | 58 graph()->NewNode(common()->Phi(MachineRepresentation::kWord32, 2), 65 graph()->NewNode(common()->Phi(MachineRepresentation::kWord32, 2), 77 IsPhi(MachineRepresentation::kWord32, IsInt32Constant(1), 100 graph()->NewNode(common()->Phi(MachineRepresentation::kWord32, 2), 106 graph()->NewNode(common()->Phi(MachineRepresentation::kWord32, 2), 118 IsPhi(MachineRepresentation::kWord32, IsInt32Constant(2), 134 graph()->NewNode(common()->Phi(MachineRepresentation::kWord32, 2), 142 graph()->NewNode(common()->Phi(MachineRepresentation::kWord32, 2),
|
common-operator-unittest.cc | 275 static const MachineRepresentation kMachineRepresentations[] = { 276 MachineRepresentation::kBit, MachineRepresentation::kWord8, 277 MachineRepresentation::kWord16, MachineRepresentation::kWord32, 278 MachineRepresentation::kWord64, MachineRepresentation::kFloat32, 279 MachineRepresentation::kFloat64, MachineRepresentation::kTagged}; 282 TRACED_FOREACH(MachineRepresentation, rep, kMachineRepresentations) [all...] |
/external/v8/src/compiler/ppc/ |
instruction-selector-ppc.cc | 171 case MachineRepresentation::kFloat32: 174 case MachineRepresentation::kFloat64: 177 case MachineRepresentation::kBit: // Fall through. 178 case MachineRepresentation::kWord8: 181 case MachineRepresentation::kWord16: 185 case MachineRepresentation::kTagged: // Fall through. 187 case MachineRepresentation::kWord32: 195 case MachineRepresentation::kTagged: // Fall through. 196 case MachineRepresentation::kWord64: 201 case MachineRepresentation::kWord64: // Fall through [all...] |
/external/v8/src/compiler/ia32/ |
instruction-selector-ia32.cc | 176 case MachineRepresentation::kFloat32: 179 case MachineRepresentation::kFloat64: 182 case MachineRepresentation::kBit: // Fall through. 183 case MachineRepresentation::kWord8: 186 case MachineRepresentation::kWord16: 189 case MachineRepresentation::kTagged: // Fall through. 190 case MachineRepresentation::kWord32: 193 case MachineRepresentation::kWord64: // Fall through. 194 case MachineRepresentation::kNone: 219 MachineRepresentation rep = store_rep.representation() [all...] |
/external/v8/src/compiler/x87/ |
instruction-selector-x87.cc | 137 case MachineRepresentation::kFloat32: 140 case MachineRepresentation::kFloat64: 143 case MachineRepresentation::kBit: // Fall through. 144 case MachineRepresentation::kWord8: 147 case MachineRepresentation::kWord16: 150 case MachineRepresentation::kTagged: // Fall through. 151 case MachineRepresentation::kWord32: 154 case MachineRepresentation::kWord64: // Fall through. 155 case MachineRepresentation::kNone: 180 MachineRepresentation rep = store_rep.representation() [all...] |
/external/v8/src/compiler/mips/ |
instruction-selector-mips.cc | 137 case MachineRepresentation::kFloat32: 140 case MachineRepresentation::kFloat64: 143 case MachineRepresentation::kBit: // Fall through. 144 case MachineRepresentation::kWord8: 147 case MachineRepresentation::kWord16: 150 case MachineRepresentation::kTagged: // Fall through. 151 case MachineRepresentation::kWord32: 154 case MachineRepresentation::kWord64: // Fall through. 155 case MachineRepresentation::kNone: 182 MachineRepresentation rep = store_rep.representation() [all...] |