Home
last modified time | relevance | path

Searched refs:AddGlobal (Results 1 – 10 of 10) sorted by relevance

/external/v8/test/cctest/wasm/
Dtest-run-wasm-relocation.cc29 module.AddGlobal<int32_t>(MachineType::MACHINE_TYPE()); \
30 module.AddGlobal<int32_t>(MachineType::MACHINE_TYPE()); \
Dtest-run-wasm-module.cc160 uint32_t global1 = builder->AddGlobal(MachineType::Int32(), 0); in TEST()
161 uint32_t global2 = builder->AddGlobal(MachineType::Int32(), 0); in TEST()
Dtest-run-wasm.cc1867 int32_t* global = module.AddGlobal<int32_t>(MachineType::Int32()); in WASM_EXEC_TEST()
1884 int32_t* globals[] = {module.AddGlobal<int32_t>(MachineType::Int32()), in WASM_EXEC_TEST()
1885 module.AddGlobal<int32_t>(MachineType::Int32()), in WASM_EXEC_TEST()
1886 module.AddGlobal<int32_t>(MachineType::Int32())}; in WASM_EXEC_TEST()
1911 float* global = module.AddGlobal<float>(MachineType::Float32()); in WASM_EXEC_TEST()
1929 double* global = module.AddGlobal<double>(MachineType::Float64()); in WASM_EXEC_TEST()
1947 int32_t* unused = module.AddGlobal<int32_t>(MachineType::Int32()); in WASM_EXEC_TEST()
1950 int8_t* var_int8 = module.AddGlobal<int8_t>(MachineType::Int8()); in WASM_EXEC_TEST()
1951 uint8_t* var_uint8 = module.AddGlobal<uint8_t>(MachineType::Uint8()); in WASM_EXEC_TEST()
1952 int16_t* var_int16 = module.AddGlobal<int16_t>(MachineType::Int16()); in WASM_EXEC_TEST()
[all …]
Dwasm-run-utils.h115 T* AddGlobal(MachineType mem_type) { in AddGlobal() function
116 const WasmGlobal* global = AddGlobal(mem_type); in AddGlobal()
247 const WasmGlobal* AddGlobal(MachineType mem_type) { in AddGlobal() function
Dtest-run-wasm-64.cc1371 int64_t* global = module.AddGlobal<int64_t>(MachineType::Int64()); in WASM_EXEC_TEST()
/external/v8/test/unittests/wasm/
Dast-decoder-unittest.cc1160 byte AddGlobal(MachineType mem_type) { in AddGlobal() function in v8::internal::wasm::__anonb4cfe3930111::TestModuleEnv
1351 module_env.AddGlobal(MachineType::Int8()); in TEST_F()
1352 module_env.AddGlobal(MachineType::Uint8()); in TEST_F()
1353 module_env.AddGlobal(MachineType::Int16()); in TEST_F()
1354 module_env.AddGlobal(MachineType::Uint16()); in TEST_F()
1355 module_env.AddGlobal(MachineType::Int32()); in TEST_F()
1356 module_env.AddGlobal(MachineType::Uint32()); in TEST_F()
1378 module_env.AddGlobal(MachineType::Int64()); in TEST_F()
1379 module_env.AddGlobal(MachineType::Uint64()); in TEST_F()
1380 module_env.AddGlobal(MachineType::Float32()); in TEST_F()
[all …]
/external/v8/src/wasm/
Dencoder.h185 uint32_t AddGlobal(MachineType type, bool exported);
Dencoder.cc250 uint32_t WasmModuleBuilder::AddGlobal(MachineType type, bool exported) { in AddGlobal() function in v8::internal::wasm::WasmModuleBuilder
Dasm-wasm-builder.cc1702 builder_->AddGlobal(WasmOpcodes::MachineTypeFor(type), 0); in LookupOrInsertGlobal()
/external/llvm/bindings/go/llvm/
Dir.go977 func AddGlobal(m Module, t Type, name string) (v Value) { func