/external/v8/src/ |
machine-type.cc | 11 bool IsSubtype(MachineRepresentation rep1, MachineRepresentation rep2) { 14 case MachineRepresentation::kTaggedSigned: 15 return rep2 == MachineRepresentation::kTagged; 16 case MachineRepresentation ::kTaggedPointer: 17 return rep2 == MachineRepresentation ::kTagged; 23 std::ostream& operator<<(std::ostream& os, MachineRepresentation rep) { 27 const char* MachineReprToString(MachineRepresentation rep) { 29 case MachineRepresentation::kNone: 31 case MachineRepresentation::kBit [all...] |
machine-type.h | 16 enum class MachineRepresentation : uint8_t { 34 bool IsSubtype(MachineRepresentation rep1, MachineRepresentation rep2); 36 static_assert(static_cast<int>(MachineRepresentation::kLastRepresentation) < 38 "Bit masks of MachineRepresentation should fit in an int"); 40 V8_EXPORT_PRIVATE const char* MachineReprToString(MachineRepresentation); 53 V8_EXPORT_PRIVATE inline int ElementSizeLog2Of(MachineRepresentation rep); 55 V8_EXPORT_PRIVATE inline int ElementSizeInBytes(MachineRepresentation rep); 60 : representation_(MachineRepresentation::kNone), 62 constexpr MachineType(MachineRepresentation representation [all...] |
register-configuration.h | 139 int GetAliases(MachineRepresentation rep, int index, 140 MachineRepresentation other_rep, int* alias_base_index) const; 144 bool AreAliases(MachineRepresentation rep, int index, 145 MachineRepresentation other_rep, int other_index) const;
|
register-configuration.cc | 381 STATIC_ASSERT(static_cast<int>(MachineRepresentation::kSimd128) == 382 static_cast<int>(MachineRepresentation::kFloat64) + 1); 383 STATIC_ASSERT(static_cast<int>(MachineRepresentation::kFloat64) == 384 static_cast<int>(MachineRepresentation::kFloat32) + 1); 386 int RegisterConfiguration::GetAliases(MachineRepresentation rep, int index, 387 MachineRepresentation other_rep, 412 bool RegisterConfiguration::AreAliases(MachineRepresentation rep, int index, 413 MachineRepresentation other_rep,
|
/external/v8/src/compiler/ |
machine-graph-verifier.cc | 28 representation_vector_(graph->NodeCount(), MachineRepresentation::kNone, 37 MachineRepresentation GetRepresentation(Node const* node) const { 42 MachineRepresentation GetProjectionType(Node const* projection) { 50 return index == 0 ? MachineRepresentation::kWord32 51 : MachineRepresentation::kBit; 55 return index == 0 ? MachineRepresentation::kWord64 56 : MachineRepresentation::kBit; 61 return index == 0 ? MachineRepresentation::kWord64 62 : MachineRepresentation::kBit; 69 return MachineRepresentation::kNone [all...] |
gap-resolver.h | 30 : assembler_(assembler), split_rep_(MachineRepresentation::kSimd128) {} 46 MachineRepresentation split_rep_;
|
representation-change.cc | 125 bool IsWord(MachineRepresentation rep) { 126 return rep == MachineRepresentation::kWord8 || 127 rep == MachineRepresentation::kWord16 || 128 rep == MachineRepresentation::kWord32; 138 Node* node, MachineRepresentation output_rep, Type output_type, 140 if (output_rep == MachineRepresentation::kNone && !output_type.IsNone()) { 148 output_rep != MachineRepresentation::kWord32) { 163 case MachineRepresentation::kTaggedSigned: 168 case MachineRepresentation::kTaggedPointer: 173 case MachineRepresentation::kTagged [all...] |
representation-change.h | 155 UseInfo(MachineRepresentation representation, Truncation truncation, 163 return UseInfo(MachineRepresentation::kWord32, Truncation::Word32()); 166 return UseInfo(MachineRepresentation::kWord64, Truncation::Word64()); 169 return UseInfo(MachineRepresentation::kBit, Truncation::Bool()); 172 return UseInfo(MachineRepresentation::kFloat32, Truncation::Any()); 175 return UseInfo(MachineRepresentation::kFloat64, Truncation::Float64()); 181 return UseInfo(MachineRepresentation::kTagged, Truncation::Any()); 184 return UseInfo(MachineRepresentation::kTaggedSigned, Truncation::Any()); 187 return UseInfo(MachineRepresentation::kTaggedPointer, Truncation::Any()); 192 return UseInfo(MachineRepresentation::kTaggedPointer, Truncation::Any() [all...] |
simplified-lowering.cc | 69 MachineRepresentation MachineRepresentationFromArrayType( 75 return MachineRepresentation::kWord8; 78 return MachineRepresentation::kWord16; 81 return MachineRepresentation::kWord32; 83 return MachineRepresentation::kFloat32; 85 return MachineRepresentation::kFloat64; 127 UseInfo TruncatingUseInfoFromRepresentation(MachineRepresentation rep) { 129 case MachineRepresentation::kTaggedSigned: 131 case MachineRepresentation::kTaggedPointer: 132 case MachineRepresentation::kTagged [all...] |
int64-lowering.h | 27 Signature<MachineRepresentation>* signature); 32 Signature<MachineRepresentation>* signature); 46 Signature<MachineRepresentation>* signature() const { return signature_; } 77 Signature<MachineRepresentation>* signature_;
|
machine-operator.h | 56 StoreRepresentation(MachineRepresentation representation, 61 MachineRepresentation representation() const { return representation_; } 65 MachineRepresentation representation_; 80 typedef MachineRepresentation UnalignedStoreRepresentation; 110 MachineRepresentation AtomicStoreRepresentationOf(Operator const* op) 160 bool IsUnalignedLoadSupported(MachineRepresentation rep) const { 164 bool IsUnalignedStoreSupported(MachineRepresentation rep) const { 175 EnumSet<MachineRepresentation> unalignedLoadUnsupportedTypes, 176 EnumSet<MachineRepresentation> unalignedStoreUnsupportedTypes) { 184 EnumSet<MachineRepresentation> unalignedLoadUnsupportedTypes [all...] |
dead-code-elimination.h | 33 // {DeadValue} nodes track a {MachineRepresentation} so they can be lowered to a 68 MachineRepresentation rep = MachineRepresentation::kNone);
|
gap-resolver.cc | 18 const int kFloat32Bit = REP_BIT(MachineRepresentation::kFloat32); 19 const int kFloat64Bit = REP_BIT(MachineRepresentation::kFloat64); 25 MoveOperands* Split(MoveOperands* move, MachineRepresentation smaller_rep, 32 MachineRepresentation dst_rep = dst_loc.representation(); 104 split_rep_ = MachineRepresentation::kFloat32; 112 split_rep_ = MachineRepresentation::kFloat64; 120 split_rep_ = MachineRepresentation::kSimd128;
|
instruction.cc | 80 MachineRepresentation rep = loc.representation(); 81 MachineRepresentation other_rep = other_loc.representation(); 208 case MachineRepresentation::kNone: 211 case MachineRepresentation::kBit: 214 case MachineRepresentation::kWord8: 217 case MachineRepresentation::kWord16: 220 case MachineRepresentation::kWord32: 223 case MachineRepresentation::kWord64: 226 case MachineRepresentation::kFloat32: 229 case MachineRepresentation::kFloat64 [all...] |
int64-lowering.cc | 26 Signature<MachineRepresentation>* signature) 85 MachineRepresentation::kWord64) { 98 Signature<MachineRepresentation>* signature, int old_index) { 101 if (signature->GetParam(i) == MachineRepresentation::kWord64) { 108 int GetReturnCountAfterLowering(Signature<MachineRepresentation>* signature) { 111 if (signature->GetReturn(i) == MachineRepresentation::kWord64) { 137 Signature<MachineRepresentation>* signature) { 173 MachineRepresentation rep; 181 if (rep == MachineRepresentation::kWord64) { 218 MachineRepresentation rep [all...] |
load-elimination.cc | 210 bool IsCompatible(MachineRepresentation r1, MachineRepresentation r2) { 218 Node* object, Node* index, MachineRepresentation representation) const { 565 Node* object, Node* index, MachineRepresentation representation) const { 575 MachineRepresentation representation, [all...] |
instruction-selector-impl.h | 194 MachineRepresentation rep = InstructionSequence::DefaultRepresentation(); 256 sequence()->MarkAsRepresentation(MachineRepresentation::kFloat64, 265 sequence()->MarkAsRepresentation(MachineRepresentation::kSimd128, 324 case MachineRepresentation::kBit: 325 case MachineRepresentation::kWord32: 326 case MachineRepresentation::kTagged: 327 case MachineRepresentation::kTaggedSigned: 328 case MachineRepresentation::kTaggedPointer: 330 case MachineRepresentation::kFloat64: 332 case MachineRepresentation::kFloat32 [all...] |
access-info.cc | 90 FieldIndex field_index, MachineRepresentation field_representation, 116 field_representation_(MachineRepresentation::kNone), 124 field_representation_(MachineRepresentation::kNone), 134 field_representation_(MachineRepresentation::kNone), 139 FieldIndex field_index, MachineRepresentation field_representation, 175 this->field_representation_ = MachineRepresentation::kTagged; 377 MachineRepresentation field_representation = 378 MachineRepresentation::kTagged; 382 field_representation = MachineRepresentation::kTaggedSigned; 385 field_representation = MachineRepresentation::kFloat64 [all...] |
/external/v8/src/wasm/ |
value-type.h | 131 constexpr MachineRepresentation mem_rep() const { return kMemRep[val_]; } 163 static constexpr MachineRepresentation kMemRep[] = { 164 #define MEMREP(_, __, memrep, ___) MachineRepresentation::k##memrep, 252 static MachineRepresentation MachineRepresentationFor(ValueType type) { 255 return MachineRepresentation::kWord32; 257 return MachineRepresentation::kWord64; 259 return MachineRepresentation::kFloat32; 261 return MachineRepresentation::kFloat64; 263 return MachineRepresentation::kTaggedPointer; 265 return MachineRepresentation::kSimd128 [all...] |
memory-tracing.h | 24 std::underlying_type<MachineRepresentation>::type>::value, 25 "MachineRepresentation uses uint8_t"); 27 MemoryTracingInfo(uint32_t addr, bool is_store, MachineRepresentation rep)
|
wasm-linkage.h | 128 bool CanAllocateFP(MachineRepresentation rep) const { 131 case MachineRepresentation::kFloat32: 133 case MachineRepresentation::kFloat64: 135 case MachineRepresentation::kSimd128: 150 int NextFpReg(MachineRepresentation rep) { 153 case MachineRepresentation::kFloat32: { 161 int d_reg_code = NextFpReg(MachineRepresentation::kFloat64); 169 case MachineRepresentation::kFloat64: { 179 case MachineRepresentation::kSimd128: { 210 int NumStackSlots(MachineRepresentation type) [all...] |
memory-tracing.cc | 17 auto mem_rep = static_cast<MachineRepresentation>(info->mem_rep); 20 case MachineRepresentation::rep: \
|
/external/v8/src/builtins/ |
builtins-number-gen.cc | 29 VARIABLE(var_left_word32, MachineRepresentation::kWord32); 30 VARIABLE(var_right_word32, MachineRepresentation::kWord32); 31 VARIABLE(var_left_bigint, MachineRepresentation::kTagged, left); 32 VARIABLE(var_right_bigint, MachineRepresentation::kTagged); 142 VARIABLE(var_input, MachineRepresentation::kTagged, 361 VARIABLE(var_left, MachineRepresentation::kTagged, 363 VARIABLE(var_right, MachineRepresentation::kTagged, 368 VARIABLE(var_left_double, MachineRepresentation::kFloat64); 369 VARIABLE(var_right_double, MachineRepresentation::kFloat64); 373 VARIABLE(var_result, MachineRepresentation::kTagged) [all...] |
builtins-global-gen.cc | 19 VARIABLE(var_num, MachineRepresentation::kTagged); 65 VARIABLE(var_num, MachineRepresentation::kTagged);
|
/external/v8/src/compiler/mips/ |
instruction-selector-mips.cc | 256 case MachineRepresentation::kFloat32: 259 case MachineRepresentation::kFloat64: 262 case MachineRepresentation::kBit: // Fall through. 263 case MachineRepresentation::kWord8: 266 case MachineRepresentation::kWord16: 269 case MachineRepresentation::kTaggedSigned: // Fall through. 270 case MachineRepresentation::kTaggedPointer: // Fall through. 271 case MachineRepresentation::kTagged: // Fall through. 272 case MachineRepresentation::kWord32: 275 case MachineRepresentation::kSimd128 [all...] |