Lines Matching refs:NativeModule
580 return NativeModule::kNeedsFarJumpsBetweenCodeSpaces in NumWasmFunctionsInFarJumpTable()
706 NativeModule* native_module, size_t size) { in AllocateForCode()
711 NativeModule* native_module, size_t size, base::AddressRegion region) { in AllocateForCodeInRegion()
974 NativeModule::NativeModule(const WasmFeatures& enabled, in NativeModule() function in v8::internal::wasm::NativeModule
979 std::shared_ptr<NativeModule>* shared_this) in NativeModule()
1017 void NativeModule::ReserveCodeTableForTesting(uint32_t max_functions) { in ReserveCodeTableForTesting()
1038 void NativeModule::LogWasmCodes(Isolate* isolate, Script script) { in LogWasmCodes()
1058 CompilationEnv NativeModule::CreateCompilationEnv() const { in CreateCompilationEnv()
1063 WasmCode* NativeModule::AddCodeForTesting(Handle<Code> code) { in AddCodeForTesting()
1155 void NativeModule::UseLazyStub(uint32_t func_index) { in UseLazyStub()
1190 std::unique_ptr<WasmCode> NativeModule::AddCode( in AddCode()
1197 NativeModule::JumpTablesRef jump_table_ref; in AddCode()
1210 std::unique_ptr<WasmCode> NativeModule::AddCodeWithCodeSpace( in AddCodeWithCodeSpace()
1280 WasmCode* NativeModule::PublishCode(std::unique_ptr<WasmCode> code) { in PublishCode()
1288 std::vector<WasmCode*> NativeModule::PublishCode( in PublishCode()
1316 WasmCode* NativeModule::PublishCodeLocked( in PublishCodeLocked()
1384 void NativeModule::ReinstallDebugCode(WasmCode* code) { in ReinstallDebugCode()
1410 std::pair<base::Vector<uint8_t>, NativeModule::JumpTablesRef>
1411 NativeModule::AllocateForDeserializedCode(size_t total_code_size) { in AllocateForDeserializedCode()
1420 std::unique_ptr<WasmCode> NativeModule::AddDeserializedCode( in AddDeserializedCode()
1438 std::vector<WasmCode*> NativeModule::SnapshotCodeTable() const { in SnapshotCodeTable()
1448 std::vector<WasmCode*> NativeModule::SnapshotAllOwnedCode() const { in SnapshotAllOwnedCode()
1459 WasmCode* NativeModule::GetCode(uint32_t index) const { in GetCode()
1466 bool NativeModule::HasCode(uint32_t index) const { in HasCode()
1471 bool NativeModule::HasCodeWithTier(uint32_t index, ExecutionTier tier) const { in HasCodeWithTier()
1477 void NativeModule::SetWasmSourceMap( in SetWasmSourceMap()
1482 WasmModuleSourceMap* NativeModule::GetWasmSourceMap() const { in GetWasmSourceMap()
1486 WasmCode* NativeModule::CreateEmptyJumpTableInRegionLocked( in CreateEmptyJumpTableInRegionLocked()
1517 void NativeModule::UpdateCodeSize(size_t size, ExecutionTier tier, in UpdateCodeSize()
1526 void NativeModule::PatchJumpTablesLocked(uint32_t slot_index, Address target) { in PatchJumpTablesLocked()
1536 void NativeModule::PatchJumpTableLocked(const CodeSpaceData& code_space_data, in PatchJumpTableLocked()
1579 void NativeModule::AddCodeSpaceLocked(base::AddressRegion region) { in AddCodeSpaceLocked()
1700 void NativeModule::SetWireBytes(base::OwnedVector<const uint8_t> wire_bytes) { in SetWireBytes()
1711 void NativeModule::UpdateCPUDuration(size_t cpu_duration, ExecutionTier tier) { in UpdateCPUDuration()
1724 void NativeModule::TransferNewOwnedCodeLocked() const { in TransferNewOwnedCodeLocked()
1748 void NativeModule::InsertToCodeCache(WasmCode* code) { in InsertToCodeCache()
1764 WasmCode* NativeModule::Lookup(Address pc) const { in Lookup()
1777 uint32_t NativeModule::GetJumpTableOffset(uint32_t func_index) const { in GetJumpTableOffset()
1782 Address NativeModule::GetCallTargetForFunction(uint32_t func_index) const { in GetCallTargetForFunction()
1790 NativeModule::JumpTablesRef NativeModule::FindJumpTablesForRegionLocked( in FindJumpTablesForRegionLocked()
1827 Address NativeModule::GetNearCallTargetForFunction( in GetNearCallTargetForFunction()
1834 Address NativeModule::GetNearRuntimeStubEntry( in GetNearRuntimeStubEntry()
1841 uint32_t NativeModule::GetFunctionIndexFromJumpTableSlot( in GetFunctionIndexFromJumpTableSlot()
1857 WasmCode::RuntimeStubId NativeModule::GetRuntimeStubId(Address target) const { in GetRuntimeStubId()
1878 NativeModule::~NativeModule() { in ~NativeModule()
1985 NativeModule* native_module) { in AssignRange()
2129 sizeof(NativeModule) + // NativeModule struct in EstimateNativeModuleMetaDataSize()
2185 std::shared_ptr<NativeModule> WasmCodeManager::NewNativeModule( in NewNativeModule()
2235 std::shared_ptr<NativeModule> ret; in NewNativeModule()
2239 new NativeModule(enabled, dynamic_tiering, std::move(code_space), in NewNativeModule()
2251 void NativeModule::SampleCodeSize( in SampleCodeSize()
2252 Counters* counters, NativeModule::CodeSamplingTime sampling_time) const { in SampleCodeSize()
2284 std::unique_ptr<WasmCode> NativeModule::AddCompiledCode( in AddCompiledCode()
2290 std::vector<std::unique_ptr<WasmCode>> NativeModule::AddCompiledCode( in AddCompiledCode()
2312 NativeModule::JumpTablesRef jump_tables; in AddCompiledCode()
2349 void NativeModule::SetTieringState(TieringState new_tiering_state) { in SetTieringState()
2357 bool NativeModule::IsTieredDown() { in IsTieredDown()
2362 void NativeModule::RecompileForTiering() { in RecompileForTiering()
2390 std::vector<int> NativeModule::FindFunctionsToRecompile( in FindFunctionsToRecompile()
2431 void NativeModule::FreeCode(base::Vector<WasmCode* const> codes) { in FreeCode()
2448 size_t NativeModule::GetNumberOfCodeSpacesForTesting() const { in GetNumberOfCodeSpacesForTesting()
2453 bool NativeModule::HasDebugInfo() const { in HasDebugInfo()
2458 DebugInfo* NativeModule::GetDebugInfo() { in GetDebugInfo()
2494 NativeModule* WasmCodeManager::LookupNativeModule(Address pc) const { in LookupNativeModule()
2503 NativeModule* candidate = iter->second.second; in LookupNativeModule()
2510 NativeModule* candidate = LookupNativeModule(pc); in LookupCode()