Home
last modified time | relevance | path

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

/external/v8/test/unittests/wasm/
Dast-decoder-unittest.cc1216 byte AddGlobal(MachineType mem_type) { in AddGlobal() function in v8::internal::wasm::__anonaece41320111::TestModuleEnv
1398 module_env.AddGlobal(MachineType::Int8()); in TEST_F()
1399 module_env.AddGlobal(MachineType::Uint8()); in TEST_F()
1400 module_env.AddGlobal(MachineType::Int16()); in TEST_F()
1401 module_env.AddGlobal(MachineType::Uint16()); in TEST_F()
1402 module_env.AddGlobal(MachineType::Int32()); in TEST_F()
1403 module_env.AddGlobal(MachineType::Uint32()); in TEST_F()
1426 module_env.AddGlobal(MachineType::Int64()); in TEST_F()
1427 module_env.AddGlobal(MachineType::Uint64()); in TEST_F()
1428 module_env.AddGlobal(MachineType::Float32()); in TEST_F()
[all …]
/external/v8/test/cctest/wasm/
Dtest-run-wasm-module.cc180 uint32_t global1 = builder->AddGlobal(MachineType::Int32(), 0); in TEST()
181 uint32_t global2 = builder->AddGlobal(MachineType::Int32(), 0); in TEST()
Dwasm-run-utils.h104 T* AddGlobal(MachineType mem_type) { in AddGlobal() function
105 WasmGlobal* global = AddGlobal(mem_type); in AddGlobal()
176 WasmGlobal* AddGlobal(MachineType mem_type) { in AddGlobal() function
Dtest-run-wasm.cc2087 int32_t* global = module.AddGlobal<int32_t>(MachineType::Int32()); in TEST()
2106 int32_t* globals[] = {module.AddGlobal<int32_t>(MachineType::Int32()), in TEST()
2107 module.AddGlobal<int32_t>(MachineType::Int32()), in TEST()
2108 module.AddGlobal<int32_t>(MachineType::Int32())}; in TEST()
2136 int64_t* global = module.AddGlobal<int64_t>(MachineType::Int64()); in TEST()
2158 float* global = module.AddGlobal<float>(MachineType::Float32()); in TEST()
2179 double* global = module.AddGlobal<double>(MachineType::Float64()); in TEST()
2200 int32_t* unused = module.AddGlobal<int32_t>(MachineType::Int32()); in TEST()
2203 int8_t* var_int8 = module.AddGlobal<int8_t>(MachineType::Int8()); in TEST()
2204 uint8_t* var_uint8 = module.AddGlobal<uint8_t>(MachineType::Uint8()); in TEST()
[all …]
/external/v8/src/wasm/
Dencoder.h130 uint32_t AddGlobal(MachineType type, bool exported);
Dencoder.cc430 uint32_t WasmModuleBuilder::AddGlobal(MachineType type, bool exported) { in AddGlobal() function in v8::internal::wasm::WasmModuleBuilder
Dasm-wasm-builder.cc966 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