/external/v8/src/ |
D | machine-type.h | 41 class MachineType { 43 MachineType() in MachineType() function 46 MachineType(MachineRepresentation representation, MachineSemantic semantic) in MachineType() function 49 bool operator==(MachineType other) const { 54 bool operator!=(MachineType other) const { return !(*this == other); } 73 static MachineType Pointer() { in Pointer() 74 return MachineType(PointerRepresentation(), MachineSemantic::kNone); in Pointer() 76 static MachineType IntPtr() { in IntPtr() 79 static MachineType Float32() { in Float32() 80 return MachineType(MachineRepresentation::kFloat32, in Float32() [all …]
|
/external/v8/test/cctest/compiler/ |
D | c-signature.h | 15 V(void, MachineType::None()) \ 16 V(bool, MachineType::Uint8()) \ 17 V(int8_t, MachineType::Int8()) \ 18 V(uint8_t, MachineType::Uint8()) \ 19 V(int16_t, MachineType::Int16()) \ 20 V(uint16_t, MachineType::Uint16()) \ 21 V(int32_t, MachineType::Int32()) \ 22 V(uint32_t, MachineType::Uint32()) \ 23 V(int64_t, MachineType::Int64()) \ 24 V(uint64_t, MachineType::Uint64()) \ [all …]
|
D | codegen-tester.h | 23 RawMachineAssemblerTester(MachineType p0 = MachineType::None(), 24 MachineType p1 = MachineType::None(), 25 MachineType p2 = MachineType::None(), 26 MachineType p3 = MachineType::None(), 27 MachineType p4 = MachineType::None()) 39 MachineType::PointerRepresentation(), in HandleAndZoneScope() 81 BufferedRawMachineAssemblerTester(MachineType p0 = MachineType::None(), 82 MachineType p1 = MachineType::None(), 83 MachineType p2 = MachineType::None(), 84 MachineType p3 = MachineType::None()) [all …]
|
D | test-run-native-calls.cc | 135 LinkageLocation Next(MachineType type) { in Next() 156 int StackWords(MachineType type) { in StackWords() 196 MachineType target_type = MachineType::AnyTagged(); in Create() 220 MachineType kIntTypes[kMaxParamCount + 1] = { 221 MachineType::Int32(), MachineType::Int32(), MachineType::Int32(), 222 MachineType::Int32(), MachineType::Int32(), MachineType::Int32(), 223 MachineType::Int32(), MachineType::Int32(), MachineType::Int32(), 224 MachineType::Int32(), MachineType::Int32(), MachineType::Int32(), 225 MachineType::Int32(), MachineType::Int32(), MachineType::Int32(), 226 MachineType::Int32(), MachineType::Int32(), MachineType::Int32(), [all …]
|
D | test-run-machops.cc | 33 BufferedRawMachineAssemblerTester<int32_t> m(MachineType::Uint32()); in TEST() 77 BufferedRawMachineAssemblerTester<int32_t> m(MachineType::Uint32()); in TEST() 117 BufferedRawMachineAssemblerTester<int32_t> m(MachineType::Uint32()); in TEST() 137 BufferedRawMachineAssemblerTester<int32_t> m(MachineType::Uint64()); in TEST() 209 RawMachineAssemblerTester<int32_t> m(MachineType::Uint64()); in TEST() 285 BufferedRawMachineAssemblerTester<int32_t> m(MachineType::Uint64()); in TEST() 321 return m->Load(MachineType::Int32(), m->PointerConstant(NULL)); in Int32Input() 346 RawMachineAssemblerTester<int32_t> m(MachineType::Int32(), in TEST() 347 MachineType::Int32()); in TEST() 383 return m->Load(MachineType::Int64(), m->PointerConstant(NULL)); in Int64Input() [all …]
|
D | test-simplified-lowering.cc | 36 SimplifiedLoweringTester(MachineType p0 = MachineType::None(), in SimplifiedLoweringTester() 37 MachineType p1 = MachineType::None()) in SimplifiedLoweringTester() 103 MachineType::Float64()}; in TEST() 108 MachineType::Int32()}; in TEST() 130 MachineType::Float64()}; in TEST() 135 MachineType::Uint32()}; in TEST() 160 SimplifiedLoweringTester<Object*> t(MachineType::AnyTagged()); in TEST() 176 SimplifiedLoweringTester<int32_t> t(MachineType::AnyTagged(), in TEST() 177 MachineType::AnyTagged()); in TEST() 195 SimplifiedLoweringTester<Object*> t(MachineType::AnyTagged()); in TEST() [all …]
|
D | codegen-tester.cc | 294 RawMachineAssemblerTester<int32_t> m(MachineType::Int32(), in TestAllInputShapes() 295 MachineType::Int32()); in TestAllInputShapes() 305 n0 = m.LoadFromPointer(&input_a, MachineType::Int32()); in TestAllInputShapes() 314 n1 = m.LoadFromPointer(&input_b, MachineType::Int32()); in TestAllInputShapes() 372 RawMachineAssemblerTester<int32_t> m(MachineType::Int32(), in TEST() 373 MachineType::Int32()); in TEST() 487 RawMachineAssemblerTester<int32_t> m(MachineType::Int32()); in TEST() 498 RawMachineAssemblerTester<int32_t> m(MachineType::Int32(), in TEST() 499 MachineType::Int32()); in TEST() 513 RawMachineAssemblerTester<int32_t> m(MachineType::Int32(), in TEST() [all …]
|
D | test-changes-lowering.cc | 34 explicit ChangesLoweringTester(MachineType p0 = MachineType::None()) in ChangesLoweringTester() 63 this->Store(MachineType::Float64(), ptr_node, node); in StoreFloat64() 68 return this->Load(MachineType::Int32(), ptr_node); in LoadInt32() 73 return this->Load(MachineType::Uint32(), ptr_node); in LoadUint32() 78 return this->Load(MachineType::Float64(), ptr_node); in LoadFloat64() 148 ChangesLoweringTester<int32_t> t(MachineType::AnyTagged()); in TEST() 176 ChangesLoweringTester<uint32_t> t(MachineType::AnyTagged()); in TEST() 203 ChangesLoweringTester<int32_t> t(MachineType::AnyTagged()); in TEST() 254 ChangesLoweringTester<int32_t> t(MachineType::AnyTagged()); in TEST() 272 ChangesLoweringTester<Object*> t(MachineType::Int32()); in TEST()
|
/external/v8/test/unittests/compiler/mips/ |
D | instruction-selector-mips-unittest.cc | 18 MachineType machine_type; 44 MachineType::Float64()}, 47 MachineType::Float64()}, 50 kMipsCmpD, MachineType::Float64()}, 53 MachineType::Float64()}, 56 "Float64GreaterThanOrEqual", kMipsCmpD, MachineType::Float64()}, 62 MachineType src_machine_type; 72 {&RawMachineAssembler::WordAnd, "WordAnd", kMipsAnd, MachineType::Int16()}, 73 {&RawMachineAssembler::WordOr, "WordOr", kMipsOr, MachineType::Int16()}, 74 {&RawMachineAssembler::WordXor, "WordXor", kMipsXor, MachineType::Int16()}, [all …]
|
/external/v8/test/unittests/compiler/mips64/ |
D | instruction-selector-mips64-unittest.cc | 17 MachineType machine_type; 44 MachineType::Float64()}, 47 MachineType::Float64()}, 50 kMips64CmpD, MachineType::Float64()}, 53 kMips64CmpD, MachineType::Float64()}, 56 "Float64GreaterThanOrEqual", kMips64CmpD, MachineType::Float64()}, 62 MachineType src_machine_type; 73 MachineType::Int32()}, 75 MachineType::Int64()}, 77 MachineType::Int32()}, [all …]
|
/external/v8/src/compiler/ |
D | access-builder.cc | 21 MachineType::AnyTagged()}; in ForMap() 30 MachineType::Float64()}; in ForHeapNumberValue() 39 MachineType::AnyTagged()}; in ForJSObjectProperties() 48 MachineType::AnyTagged()}; in ForJSObjectElements() 58 Type::Tagged(), MachineType::AnyTagged()}; in ForJSObjectInObjectProperty() 67 MachineType::AnyTagged()}; in ForJSFunctionContext() 75 Handle<Name>(), Type::Any(), MachineType::AnyTagged()}; in ForJSFunctionSharedFunctionInfo() 85 MachineType::AnyTagged()}; in ForJSArrayLength() 99 MachineType::Pointer()}; in ForJSArrayBufferBackingStore() 108 MachineType::Int8()}; in ForJSArrayBufferBitField() [all …]
|
D | linkage.cc | 25 MachineType reptyp(Representation representation) { in reptyp() 28 return MachineType::Int8(); in reptyp() 30 return MachineType::Uint8(); in reptyp() 32 return MachineType::Int16(); in reptyp() 34 return MachineType::Uint16(); in reptyp() 36 return MachineType::Int32(); in reptyp() 40 return MachineType::AnyTagged(); in reptyp() 42 return MachineType::Float64(); in reptyp() 44 return MachineType::Pointer(); in reptyp() 50 return MachineType::None(); in reptyp() [all …]
|
/external/v8/test/cctest/wasm/ |
D | test-run-wasm.cc | 121 WasmRunner<int32_t> r(MachineType::Int32()); in TEST() 129 WasmRunner<int32_t> r(MachineType::Int32()); in TEST() 137 WasmRunner<int32_t> r(MachineType::Int32(), MachineType::Int32()); in TEST() 153 WasmRunner<int32_t> r(MachineType::Int32()); in TEST() 161 WasmRunner<int32_t> r(MachineType::Int32()); in TEST() 169 WasmRunner<int32_t> r(MachineType::Int32(), MachineType::Int32()); in TEST() 212 WasmRunner<int32_t> r(MachineType::Int32(), MachineType::Int32()); in TestInt32Binop() 257 WasmRunner<int32_t> r(MachineType::Int32()); in TestInt32Unop() 358 WasmRunner<int64_t> r(MachineType::Int64(), MachineType::Int64()); in TestInt64Binop() 375 WasmRunner<int32_t> r(MachineType::Int64(), MachineType::Int64()); in TestInt64Cmp() [all …]
|
D | wasm-run-utils.h | 104 T* AddGlobal(MachineType mem_type) { in AddGlobal() 176 WasmGlobal* AddGlobal(MachineType mem_type) { in AddGlobal() 290 WasmRunner(MachineType p0 = MachineType::None(), 291 MachineType p1 = MachineType::None(), 292 MachineType p2 = MachineType::None(), 293 MachineType p3 = MachineType::None()) 294 : signature_(MachineTypeForC<ReturnType>() == MachineType::None() ? 0 : 1, 300 MachineType ret = MachineTypeForC<ReturnType>(); 301 if (ret != MachineType::None()) { 304 if (p0 != MachineType::None()) [all …]
|
/external/v8/test/unittests/compiler/x64/ |
D | instruction-selector-x64-unittest.cc | 18 StreamBuilder m(this, MachineType::Float32(), MachineType::Float64()); in TEST_F() 29 StreamBuilder m(this, MachineType::Int64(), MachineType::Int32()); in TEST_F() 38 StreamBuilder m(this, MachineType::Float64(), MachineType::Uint32()); in TEST_F() 47 StreamBuilder m(this, MachineType::Uint64(), MachineType::Uint32()); in TEST_F() 56 StreamBuilder m(this, MachineType::Float64(), MachineType::Float32()); in TEST_F() 67 StreamBuilder m(this, MachineType::Int32(), MachineType::Int64()); in TEST_F() 82 MachineType type; 94 {MachineType::Int8(), kX64Movsxbl, kX64Movb}, 95 {MachineType::Uint8(), kX64Movzxbl, kX64Movb}, 96 {MachineType::Int16(), kX64Movsxwl, kX64Movw}, [all …]
|
/external/v8/test/unittests/compiler/arm64/ |
D | instruction-selector-arm64-unittest.cc | 18 MachineType machine_type; 44 Node* BuildConstant(InstructionSelectorTest::StreamBuilder& m, MachineType type, in BuildConstant() 65 MachineType::Int32()}, 67 MachineType::Int64()}, 69 MachineType::Int32()}, 71 MachineType::Int64()}, 73 MachineType::Int32()}, 75 MachineType::Int64()}}; 140 MachineType::Int32()}, 143 MachineType::Int64()}, [all …]
|
/external/v8/test/unittests/compiler/arm/ |
D | instruction-selector-arm-unittest.cc | 45 MachineType machine_type; 56 MachineType::Float32(), kArmVaddF32}, 58 MachineType::Float64(), kArmVaddF64}, 60 MachineType::Float32(), kArmVsubF32}, 62 MachineType::Float64(), kArmVsubF64}, 64 MachineType::Float32(), kArmVmulF32}, 66 MachineType::Float64(), kArmVmulF64}, 68 MachineType::Float32(), kArmVdivF32}, 70 MachineType::Float64(), kArmVdivF64}}; 150 StreamBuilder m(this, MachineType::Int32(), MachineType::Int32(), in TEST_P() [all …]
|
/external/v8/test/unittests/compiler/ |
D | instruction-selector-unittest.cc | 161 StreamBuilder m(this, MachineType::Float32()); in TARGET_TEST_F() 174 StreamBuilder m(this, MachineType::Int32(), MachineType::Int32()); in TARGET_TEST_F() 186 StreamBuilder m(this, MachineType::Int32()); in TARGET_TEST_F() 204 StreamBuilder m(this, MachineType::Int32(), MachineType::Float64()); in TARGET_TEST_F() 222 StreamBuilder m(this, MachineType::Float64(), MachineType::Float64()); in TARGET_TEST_F() 231 StreamBuilder m(this, MachineType::AnyTagged(), MachineType::AnyTagged()); in TARGET_TEST_F() 244 StreamBuilder m(this, MachineType::AnyTagged(), MachineType::AnyTagged()); in TARGET_TEST_F() 271 typedef InstructionSelectorTestWithParam<MachineType> 276 const MachineType type = GetParam(); in TARGET_TEST_P() 296 const MachineType type = GetParam(); in TARGET_TEST_P() [all …]
|
D | tail-call-optimization-unittest.cc | 29 MachineType kMachineSignature[] = {MachineType::AnyTagged(), in TEST_F() 30 MachineType::AnyTagged()}; in TEST_F() 34 CallDescriptor::kCallCodeObject, MachineType::AnyTagged(), in TEST_F() 51 MachineType kMachineSignature[] = {MachineType::AnyTagged(), in TEST_F() 52 MachineType::AnyTagged()}; in TEST_F() 56 CallDescriptor::kCallCodeObject, MachineType::AnyTagged(), in TEST_F() 77 MachineType kMachineSignature[] = {MachineType::AnyTagged(), in TEST_F() 78 MachineType::AnyTagged()}; in TEST_F() 82 CallDescriptor::kCallCodeObject, MachineType::AnyTagged(), in TEST_F() 101 MachineType kMachineSignature[] = {MachineType::AnyTagged(), in TEST_F() [all …]
|
D | instruction-selector-unittest.h | 39 StreamBuilder(InstructionSelectorTest* test, MachineType return_type) in StreamBuilder() 43 MachineType::PointerRepresentation(), in StreamBuilder() 46 StreamBuilder(InstructionSelectorTest* test, MachineType return_type, in StreamBuilder() 47 MachineType parameter0_type) in StreamBuilder() 51 MachineType::PointerRepresentation(), in StreamBuilder() 54 StreamBuilder(InstructionSelectorTest* test, MachineType return_type, in StreamBuilder() 55 MachineType parameter0_type, MachineType parameter1_type) in StreamBuilder() 60 MachineType::PointerRepresentation(), in StreamBuilder() 63 StreamBuilder(InstructionSelectorTest* test, MachineType return_type, in StreamBuilder() 64 MachineType parameter0_type, MachineType parameter1_type, in StreamBuilder() [all …]
|
D | simplified-operator-unittest.cc | 204 MachineType::AnyTagged()}, 205 {kUntaggedBase, 0, Type::Any(), MachineType::Int8()}, 206 {kUntaggedBase, 0, Type::Any(), MachineType::Int16()}, 207 {kUntaggedBase, 0, Type::Any(), MachineType::Int32()}, 208 {kUntaggedBase, 0, Type::Any(), MachineType::Uint8()}, 209 {kUntaggedBase, 0, Type::Any(), MachineType::Uint16()}, 210 {kUntaggedBase, 0, Type::Any(), MachineType::Uint32()}, 211 {kUntaggedBase, 0, Type::Signed32(), MachineType::Int8()}, 212 {kUntaggedBase, 0, Type::Unsigned32(), MachineType::Uint8()}, 213 {kUntaggedBase, 0, Type::Signed32(), MachineType::Int16()}, [all …]
|
D | machine-operator-unittest.cc | 40 const MachineType kMachineTypesForAccess[] = { 41 MachineType::Float32(), MachineType::Float64(), MachineType::Int8(), 42 MachineType::Uint8(), MachineType::Int16(), MachineType::Uint16(), 43 MachineType::Int32(), MachineType::Uint32(), MachineType::Int64(), 44 MachineType::Uint64(), MachineType::AnyTagged()}; 275 return MachineType::PointerRepresentation(); in word_type() 338 return MachineType::PointerRepresentation(); in word_rep()
|
/external/v8/src/wasm/ |
D | wasm-opcodes.h | 307 static byte MemSize(MachineType type) { in MemSize() 329 static MemTypeCode MemTypeCodeFor(MachineType type) { in MemTypeCodeFor() 330 if (type == MachineType::Int8()) { in MemTypeCodeFor() 332 } else if (type == MachineType::Uint8()) { in MemTypeCodeFor() 334 } else if (type == MachineType::Int16()) { in MemTypeCodeFor() 336 } else if (type == MachineType::Uint16()) { in MemTypeCodeFor() 338 } else if (type == MachineType::Int32()) { in MemTypeCodeFor() 340 } else if (type == MachineType::Uint32()) { in MemTypeCodeFor() 342 } else if (type == MachineType::Int64()) { in MemTypeCodeFor() 344 } else if (type == MachineType::Uint64()) { in MemTypeCodeFor() [all …]
|
/external/v8/test/unittests/compiler/ia32/ |
D | instruction-selector-ia32-unittest.cc | 22 StreamBuilder m(this, MachineType::Int32(), MachineType::Int32(), in TEST_F() 23 MachineType::Int32()); in TEST_F() 34 StreamBuilder m(this, MachineType::Int32(), MachineType::Int32()); in TEST_F() 47 StreamBuilder m(this, MachineType::Int32(), MachineType::Int32()); in TEST_F() 64 StreamBuilder m(this, MachineType::Int32(), MachineType::Int32(), in TEST_F() 65 MachineType::Int32()); in TEST_F() 76 StreamBuilder m(this, MachineType::Int32(), MachineType::Int32()); in TEST_F() 92 StreamBuilder m(this, MachineType::Float32(), MachineType::Float64()); in TEST_F() 103 StreamBuilder m(this, MachineType::Float64(), MachineType::Float32()); in TEST_F() 118 StreamBuilder m(this, MachineType::Int32(), MachineType::Int32(), in TEST_F() [all …]
|
/external/v8/test/unittests/wasm/ |
D | wasm-macro-gen-unittest.cc | 55 EXPECT_SIZE(6, WASM_STORE_MEM(MachineType::Int32(), WASM_ZERO, WASM_ZERO)); in TEST_F() 116 EXPECT_SIZE(4, WASM_LOAD_MEM(MachineType::Int32(), WASM_ZERO)); in TEST_F() 117 EXPECT_SIZE(4, WASM_LOAD_MEM(MachineType::Float64(), WASM_ZERO)); in TEST_F() 118 EXPECT_SIZE(4, WASM_LOAD_MEM(MachineType::Float32(), WASM_ZERO)); in TEST_F() 292 static const MachineType kMemTypes[] = { 293 MachineType::Int8(), MachineType::Uint8(), MachineType::Int16(), 294 MachineType::Uint16(), MachineType::Int32(), MachineType::Uint32(), 295 MachineType::Int64(), MachineType::Uint64(), MachineType::Float32(), 296 MachineType::Float64()};
|