Home
last modified time | relevance | path

Searched refs:WasmPageSize (Results 1 – 6 of 6) sorted by relevance

/external/llvm-project/lld/wasm/
DWriter.cpp329 if (config->initialMemory != alignTo(config->initialMemory, WasmPageSize)) in layoutMemory()
330 error("initial memory must be " + Twine(WasmPageSize) + "-byte aligned"); in layoutMemory()
339 alignTo(memoryPtr, WasmPageSize) / WasmPageSize; in layoutMemory()
343 if (config->maxMemory != alignTo(config->maxMemory, WasmPageSize)) in layoutMemory()
344 error("maximum memory must be " + Twine(WasmPageSize) + "-byte aligned"); in layoutMemory()
361 max = alignTo(memoryPtr, WasmPageSize); in layoutMemory()
363 out.memorySec->maxMemoryPages = max / WasmPageSize; in layoutMemory()
DDriver.cpp416 args::getZOptionValue(args, OPT_z, "stack-size", WasmPageSize); in readConfigs()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/
DWasm.h31 const uint32_t WasmPageSize = 65536; variable
/external/llvm-project/llvm/include/llvm/BinaryFormat/
DWasm.h32 const uint32_t WasmPageSize = 65536; variable
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DWasmObjectWriter.cpp703 uint32_t NumPages = (DataSize + wasm::WasmPageSize - 1) / wasm::WasmPageSize; in writeImportSection()
/external/llvm-project/llvm/lib/MC/
DWasmObjectWriter.cpp753 uint64_t NumPages = (DataSize + wasm::WasmPageSize - 1) / wasm::WasmPageSize; in writeImportSection()