/external/v8/src/ |
D | machine-type.h | 42 class MachineType { 44 MachineType() in MachineType() function 47 MachineType(MachineRepresentation representation, MachineSemantic semantic) in MachineType() function 50 bool operator==(MachineType other) const { 55 bool operator!=(MachineType other) const { return !(*this == other); } 74 static MachineType Pointer() { in Pointer() 75 return MachineType(PointerRepresentation(), MachineSemantic::kNone); in Pointer() 77 static MachineType IntPtr() { in IntPtr() 80 static MachineType Float32() { in Float32() 81 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()) 40 MachineType::PointerRepresentation(), in HandleAndZoneScope() 84 BufferedRawMachineAssemblerTester(MachineType p0 = MachineType::None(), 85 MachineType p1 = MachineType::None(), 86 MachineType p2 = MachineType::None(), 87 MachineType p3 = MachineType::None()) [all …]
|
D | test-run-native-calls.cc | 133 LinkageLocation Next(MachineType type) { in Next() 159 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-wasm-machops.cc | 44 static void RunLoadStoreRelocation(MachineType rep) { in RunLoadStoreRelocation() 78 RunLoadStoreRelocation<int8_t>(MachineType::Int8()); in TEST() 79 RunLoadStoreRelocation<uint8_t>(MachineType::Uint8()); in TEST() 80 RunLoadStoreRelocation<int16_t>(MachineType::Int16()); in TEST() 81 RunLoadStoreRelocation<uint16_t>(MachineType::Uint16()); in TEST() 82 RunLoadStoreRelocation<int32_t>(MachineType::Int32()); in TEST() 83 RunLoadStoreRelocation<uint32_t>(MachineType::Uint32()); in TEST() 84 RunLoadStoreRelocation<void*>(MachineType::AnyTagged()); in TEST() 85 RunLoadStoreRelocation<float>(MachineType::Float32()); in TEST() 86 RunLoadStoreRelocation<double>(MachineType::Float64()); in TEST() [all …]
|
D | test-run-load-store.cc | 58 m.Return(m.LoadFromPointer(&p1, MachineType::Int32())); in TEST() 77 m.Return(m.LoadFromPointer(pointer, MachineType::Int32(), offset)); in TEST() 97 Node* load = m.Load(MachineType::Float32(), m.PointerConstant(from), in TEST() 123 Node* load = m.Load(MachineType::Float64(), m.PointerConstant(from), in TEST() 140 void RunLoadImmIndex(MachineType rep) { in RunLoadImmIndex() 166 void RunLoadStore(MachineType rep) { in RunLoadStore() 195 RunLoadImmIndex<int8_t>(MachineType::Int8()); in TEST() 196 RunLoadImmIndex<uint8_t>(MachineType::Uint8()); in TEST() 197 RunLoadImmIndex<int16_t>(MachineType::Int16()); in TEST() 198 RunLoadImmIndex<uint16_t>(MachineType::Uint16()); in TEST() [all …]
|
D | test-run-machops.cc | 67 BufferedRawMachineAssemblerTester<uint32_t> m(MachineType::Uint32()); in TEST() 86 BufferedRawMachineAssemblerTester<int32_t> m(MachineType::Uint32()); in TEST() 129 BufferedRawMachineAssemblerTester<int32_t> m(MachineType::Uint32()); in TEST() 169 BufferedRawMachineAssemblerTester<int32_t> m(MachineType::Uint32()); in TEST() 189 RawMachineAssemblerTester<uint64_t> m(MachineType::Uint64()); in TEST() 208 BufferedRawMachineAssemblerTester<int32_t> m(MachineType::Uint64()); in TEST() 280 RawMachineAssemblerTester<int32_t> m(MachineType::Uint64()); in TEST() 356 BufferedRawMachineAssemblerTester<int32_t> m(MachineType::Uint64()); in TEST() 392 return m->Load(MachineType::Int32(), m->PointerConstant(NULL)); in Int32Input() 417 RawMachineAssemblerTester<int32_t> m(MachineType::Int32(), in TEST() [all …]
|
D | test-simplified-lowering.cc | 37 SimplifiedLoweringTester(MachineType p0 = MachineType::None(), in SimplifiedLoweringTester() 38 MachineType p1 = MachineType::None()) in SimplifiedLoweringTester() 107 MachineType::Float64(), kNoWriteBarrier}; in TEST() 113 MachineType::Int32(), kNoWriteBarrier}; in TEST() 136 MachineType::Float64(), kNoWriteBarrier}; in TEST() 142 MachineType::Uint32(), kNoWriteBarrier}; in TEST() 167 SimplifiedLoweringTester<Object*> t(MachineType::AnyTagged()); in TEST() 183 SimplifiedLoweringTester<int32_t> t(MachineType::AnyTagged(), in TEST() 184 MachineType::AnyTagged()); in TEST() 202 SimplifiedLoweringTester<Object*> t(MachineType::AnyTagged()); in TEST() [all …]
|
/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 Type::Any(), MachineType::AnyTagged(), kMapWriteBarrier}; in ForMap() 32 MachineType::Float64(), in ForHeapNumberValue() 42 Type::Internal(), MachineType::AnyTagged(), kPointerWriteBarrier}; in ForJSObjectProperties() 51 Type::Internal(), MachineType::AnyTagged(), kPointerWriteBarrier}; in ForJSObjectElements() 64 MachineType::AnyTagged(), in ForJSObjectInObjectProperty() 76 MachineType::AnyTagged(), in ForJSFunctionPrototypeOrInitialMap() 85 Type::Internal(), MachineType::AnyTagged(), kPointerWriteBarrier}; in ForJSFunctionContext() 96 MachineType::AnyTagged(), in ForJSFunctionSharedFunctionInfo() 105 Type::Internal(), MachineType::AnyTagged(), kPointerWriteBarrier}; in ForJSFunctionLiterals() 115 MachineType::Pointer(), in ForJSFunctionCodeEntry() [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/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/cctest/wasm/ |
D | test-run-wasm-64.cc | 124 WasmRunner<int64_t> r(execution_mode, MachineType::Int64()); in WASM_EXEC_TEST() 133 WasmRunner<int64_t> r(execution_mode, MachineType::Int64(), in WASM_EXEC_TEST() 134 MachineType::Int64()); in WASM_EXEC_TEST() 143 WasmRunner<int64_t> r(execution_mode, MachineType::Int64(), in WASM_EXEC_TEST() 144 MachineType::Int64()); in WASM_EXEC_TEST() 153 WasmRunner<int64_t> r(execution_mode, MachineType::Int64(), in WASM_EXEC_TEST() 154 MachineType::Int64()); in WASM_EXEC_TEST() 171 WasmRunner<int64_t> r(execution_mode, MachineType::Int64(), in WASM_EXEC_TEST() 172 MachineType::Int64()); in WASM_EXEC_TEST() 184 WasmRunner<int64_t> r(execution_mode, MachineType::Int64()); in WASM_EXEC_TEST() [all …]
|
D | test-run-wasm.cc | 90 WasmRunner<int32_t> r(execution_mode, MachineType::Int32()); in WASM_EXEC_TEST() 97 WasmRunner<int32_t> r(execution_mode, MachineType::Int32()); in WASM_EXEC_TEST() 104 WasmRunner<int32_t> r(execution_mode, MachineType::Int32(), in WASM_EXEC_TEST() 105 MachineType::Int32()); in WASM_EXEC_TEST() 119 WasmRunner<int32_t> r(execution_mode, MachineType::Int32()); in WASM_EXEC_TEST() 126 WasmRunner<int32_t> r(execution_mode, MachineType::Int32()); in WASM_EXEC_TEST() 133 WasmRunner<int32_t> r(execution_mode, MachineType::Int32(), in WASM_EXEC_TEST() 134 MachineType::Int32()); in WASM_EXEC_TEST() 170 WasmRunner<int32_t> r(execution_mode, MachineType::Int32(), in TestInt32Binop() 171 MachineType::Int32()); in TestInt32Binop() [all …]
|
D | test-run-wasm-asmjs.cc | 41 WasmRunner<int32_t> r(execution_mode, MachineType::Int32(), in WASM_EXEC_TEST() 42 MachineType::Int32()); in WASM_EXEC_TEST() 53 WasmRunner<int32_t> r(execution_mode, MachineType::Int32(), in WASM_EXEC_TEST() 54 MachineType::Int32()); in WASM_EXEC_TEST() 65 WasmRunner<int32_t> r(execution_mode, MachineType::Int32(), in WASM_EXEC_TEST() 66 MachineType::Int32()); in WASM_EXEC_TEST() 77 WasmRunner<int32_t> r(execution_mode, MachineType::Int32(), in WASM_EXEC_TEST() 78 MachineType::Int32()); in WASM_EXEC_TEST() 89 WasmRunner<int32_t> r(execution_mode, MachineType::Float32()); in WASM_EXEC_TEST() 99 WasmRunner<int32_t> r(execution_mode, MachineType::Float64()); in WASM_EXEC_TEST() [all …]
|
D | wasm-run-utils.h | 115 T* AddGlobal(MachineType mem_type) { in AddGlobal() 247 const WasmGlobal* AddGlobal(MachineType mem_type) { in AddGlobal() 290 Signature<MachineType>::Builder sig_builder( in WasmFunctionWrapper() 293 sig_builder.AddReturn(MachineType::Int32()); in WasmFunctionWrapper() 295 sig_builder.AddParam(MachineType::Pointer()); in WasmFunctionWrapper() 300 void Init(CallDescriptor* descriptor, MachineType p0 = MachineType::None(), 301 MachineType p1 = MachineType::None(), 302 MachineType p2 = MachineType::None(), 303 MachineType p3 = MachineType::None()) { 319 if (p0 != MachineType::None()) { [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 | 160 StreamBuilder m(this, MachineType::Float32()); in TARGET_TEST_F() 173 StreamBuilder m(this, MachineType::Int32(), MachineType::Int32()); in TARGET_TEST_F() 185 StreamBuilder m(this, MachineType::Int32()); in TARGET_TEST_F() 202 StreamBuilder m(this, MachineType::Int32(), MachineType::Float64()); in TARGET_TEST_F() 219 StreamBuilder m(this, MachineType::Float64(), MachineType::Float64()); in TARGET_TEST_F() 228 StreamBuilder m(this, MachineType::AnyTagged(), MachineType::AnyTagged()); in TARGET_TEST_F() 241 StreamBuilder m(this, MachineType::AnyTagged(), MachineType::AnyTagged()); in TARGET_TEST_F() 268 typedef InstructionSelectorTestWithParam<MachineType> 273 const MachineType type = GetParam(); in TARGET_TEST_P() 293 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 | 208 MachineType::AnyTagged(), kFullWriteBarrier}, 209 {kUntaggedBase, 0, Type::Any(), MachineType::Int8(), kNoWriteBarrier}, 210 {kUntaggedBase, 0, Type::Any(), MachineType::Int16(), kNoWriteBarrier}, 211 {kUntaggedBase, 0, Type::Any(), MachineType::Int32(), kNoWriteBarrier}, 212 {kUntaggedBase, 0, Type::Any(), MachineType::Uint8(), kNoWriteBarrier}, 213 {kUntaggedBase, 0, Type::Any(), MachineType::Uint16(), kNoWriteBarrier}, 214 {kUntaggedBase, 0, Type::Any(), MachineType::Uint32(), kNoWriteBarrier}, 215 {kUntaggedBase, 0, Type::Signed32(), MachineType::Int8(), kNoWriteBarrier}, 216 {kUntaggedBase, 0, Type::Unsigned32(), MachineType::Uint8(), 218 {kUntaggedBase, 0, Type::Signed32(), MachineType::Int16(), kNoWriteBarrier}, [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/src/wasm/ |
D | wasm-opcodes.h | 497 static byte MemSize(MachineType type) { in MemSize() 521 static MemTypeCode MemTypeCodeFor(MachineType type) { in MemTypeCodeFor() 522 if (type == MachineType::Int8()) { in MemTypeCodeFor() 524 } else if (type == MachineType::Uint8()) { in MemTypeCodeFor() 526 } else if (type == MachineType::Int16()) { in MemTypeCodeFor() 528 } else if (type == MachineType::Uint16()) { in MemTypeCodeFor() 530 } else if (type == MachineType::Int32()) { in MemTypeCodeFor() 532 } else if (type == MachineType::Uint32()) { in MemTypeCodeFor() 534 } else if (type == MachineType::Int64()) { in MemTypeCodeFor() 536 } else if (type == MachineType::Uint64()) { in MemTypeCodeFor() [all …]
|