Home
last modified time | relevance | path

Searched refs:builtin_id (Results 1 – 25 of 43) sorted by relevance

12

/external/v8/src/snapshot/
Dbuiltin-deserializer-allocator.cc120 const Heap::Chunk& chunk, int builtin_id) { in InitializeBuiltinFromReservation() argument
121 DCHECK_EQ(deserializer()->ExtractCodeObjectSize(builtin_id), chunk.size); in InitializeBuiltinFromReservation()
125 isolate()->builtins()->set_builtin(builtin_id, in InitializeBuiltinFromReservation()
129 RegisterCodeObjectReservation(builtin_id); in InitializeBuiltinFromReservation()
210 int builtin_id) { in ReserveAndInitializeBuiltinsTableForBuiltin() argument
213 DCHECK(Builtins::IsBuiltinId(builtin_id)); in ReserveAndInitializeBuiltinsTableForBuiltin()
214 DCHECK_NE(Builtins::kDeserializeLazy, builtin_id); in ReserveAndInitializeBuiltinsTableForBuiltin()
216 isolate()->builtins()->builtin(builtin_id)->builtin_index()); in ReserveAndInitializeBuiltinsTableForBuiltin()
219 deserializer()->ExtractCodeObjectSize(builtin_id); in ReserveAndInitializeBuiltinsTableForBuiltin()
232 isolate()->builtins()->set_builtin(builtin_id, *o); in ReserveAndInitializeBuiltinsTableForBuiltin()
[all …]
Dbuiltin-deserializer.cc123 Code* BuiltinDeserializer::DeserializeBuiltin(int builtin_id) { in DeserializeBuiltin() argument
124 allocator()->ReserveAndInitializeBuiltinsTableForBuiltin(builtin_id); in DeserializeBuiltin()
126 Code* code = DeserializeBuiltinRaw(builtin_id); in DeserializeBuiltin()
130 const char* name = Builtins::name(builtin_id); in DeserializeBuiltin()
145 Code* BuiltinDeserializer::DeserializeBuiltinRaw(int builtin_id) { in DeserializeBuiltinRaw() argument
147 DCHECK(Builtins::IsBuiltinId(builtin_id)); in DeserializeBuiltinRaw()
149 DeserializingCodeObjectScope scope(this, builtin_id); in DeserializeBuiltinRaw()
152 source()->set_position(code_offsets_[builtin_id]); in DeserializeBuiltinRaw()
167 Builtins::name(builtin_id))); in DeserializeBuiltinRaw()
Dbuiltin-deserializer.h39 Code* DeserializeBuiltin(int builtin_id);
48 Code* DeserializeBuiltinRaw(int builtin_id);
55 uint32_t ExtractCodeObjectSize(int builtin_id);
Dbuiltin-serializer.cc129 void BuiltinSerializer::SetBuiltinOffset(int builtin_id, uint32_t offset) { in SetBuiltinOffset() argument
130 DCHECK(Builtins::IsBuiltinId(builtin_id)); in SetBuiltinOffset()
131 DCHECK(BSU::IsBuiltinIndex(builtin_id)); in SetBuiltinOffset()
132 code_offsets_[builtin_id] = offset; in SetBuiltinOffset()
Dsnapshot-common.cc93 Code* Snapshot::DeserializeBuiltin(Isolate* isolate, int builtin_id) { in DeserializeBuiltin() argument
95 PrintF("Lazy-deserializing builtin %s\n", Builtins::name(builtin_id)); in DeserializeBuiltin()
107 Code* code = builtin_deserializer.DeserializeBuiltin(builtin_id); in DeserializeBuiltin()
108 DCHECK_EQ(code, isolate->builtins()->builtin(builtin_id)); in DeserializeBuiltin()
114 Builtins::name(builtin_id), bytes, ms); in DeserializeBuiltin()
153 int builtin_id = shared->builtin_id(); in EnsureBuiltinIsDeserialized() local
156 DCHECK_NE(Builtins::kDeserializeLazy, builtin_id); in EnsureBuiltinIsDeserialized()
159 Code* code = isolate->builtins()->builtin(builtin_id); in EnsureBuiltinIsDeserialized()
162 if (code->builtin_index() != builtin_id) { in EnsureBuiltinIsDeserialized()
164 code = Snapshot::DeserializeBuiltin(isolate, builtin_id); in EnsureBuiltinIsDeserialized()
[all …]
Dbuiltin-deserializer-allocator.h97 void ReserveAndInitializeBuiltinsTableForBuiltin(int builtin_id);
114 int builtin_id);
Ddeserializer.cc275 int Deserializer<AllocatorT>::MaybeReplaceWithDeserializeLazy(int builtin_id) { in MaybeReplaceWithDeserializeLazy() argument
276 DCHECK(Builtins::IsBuiltinId(builtin_id)); in MaybeReplaceWithDeserializeLazy()
277 return IsLazyDeserializationEnabled() && Builtins::IsLazy(builtin_id) in MaybeReplaceWithDeserializeLazy()
279 : builtin_id; in MaybeReplaceWithDeserializeLazy()
835 int builtin_id = MaybeReplaceWithDeserializeLazy(source_.GetInt()); in ReadDataCase() local
836 new_object = isolate->builtins()->builtin(builtin_id); in ReadDataCase()
Dbuiltin-serializer.h39 void SetBuiltinOffset(int builtin_id, uint32_t offset);
Ddeserializer.h138 int MaybeReplaceWithDeserializeLazy(int builtin_id);
Dsnapshot.h173 static Code* DeserializeBuiltin(Isolate* isolate, int builtin_id);
/external/v8/src/objects/
Dshared-function-info-inl.h238 int id = builtin_id(); in CalculateConstructAsBuiltin()
296 DCHECK_IMPLIES(HasBuiltinId(), builtin_id() != Builtins::kCompileLazy); in StartPosition()
313 DCHECK_IMPLIES(HasBuiltinId(), builtin_id() != Builtins::kCompileLazy); in EndPosition()
531 int SharedFunctionInfo::builtin_id() const { in builtin_id() function
538 void SharedFunctionInfo::set_builtin_id(int builtin_id) { in set_builtin_id() argument
539 DCHECK(Builtins::IsBuiltinId(builtin_id)); in set_builtin_id()
540 DCHECK_NE(builtin_id, Builtins::kDeserializeLazy); in set_builtin_id()
541 set_function_data(Smi::FromInt(builtin_id), SKIP_WRITE_BARRIER); in set_builtin_id()
Dshared-function-info.h322 inline int builtin_id() const;
323 inline void set_builtin_id(int builtin_id);
/external/v8/src/runtime/
Druntime-internal.cc452 int builtin_id = shared->builtin_id(); in RUNTIME_FUNCTION() local
456 isolate->builtins()->builtin(builtin_id)->builtin_index()); in RUNTIME_FUNCTION()
459 CHECK(Builtins::IsLazy(builtin_id)); in RUNTIME_FUNCTION()
460 CHECK_EQ(Builtins::TFJ, Builtins::KindOf(builtin_id)); in RUNTIME_FUNCTION()
/external/v8/src/builtins/
Dbuiltins-console.cc108 const char* name, Builtins::Name builtin_id, in InstallContextFunction() argument
116 name_string, builtin_id, i::LanguageMode::kSloppy); in InstallContextFunction()
/external/v8/src/profiler/
Dcpu-profiler-inl.h53 entry->SetBuiltinId(builtin_id); in UpdateCodeMap()
Dcpu-profiler.h99 Builtins::Name builtin_id; variable
Dprofile-generator.cc737 if (pc_entry->builtin_id() == Builtins::kFunctionPrototypeApply || in RecordTickSample()
738 pc_entry->builtin_id() == Builtins::kFunctionPrototypeCall) { in RecordTickSample()
Dprofile-generator.h97 Builtins::Name builtin_id() const { in builtin_id() function
/external/v8/src/compiler/
Djs-heap-broker.cc434 int const builtin_id; member in v8::internal::compiler::SharedFunctionInfoData
444 builtin_id(object_->HasBuiltinId() ? object_->builtin_id() in SharedFunctionInfoData()
454 DCHECK_EQ(HasBuiltinId, builtin_id != Builtins::kNoBuiltinId); in SharedFunctionInfoData()
1054 BIMODAL_ACCESSOR_C(SharedFunctionInfo, int, builtin_id) in BIMODAL_ACCESSOR()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dinstrument_pass.h269 void GenBuiltinOutputCode(uint32_t builtin_id, uint32_t builtin_off,
Dinstrument_pass.cpp146 void InstrumentPass::GenBuiltinOutputCode(uint32_t builtin_id, in GenBuiltinOutputCode() argument
152 builder->AddUnaryOp(GetUintId(), SpvOpLoad, builtin_id); in GenBuiltinOutputCode()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dinstrument_pass.h270 void GenBuiltinOutputCode(uint32_t builtin_id, uint32_t builtin_off,
Dinstrument_pass.cpp146 void InstrumentPass::GenBuiltinOutputCode(uint32_t builtin_id, in GenBuiltinOutputCode() argument
152 builder->AddUnaryOp(GetUintId(), SpvOpLoad, builtin_id); in GenBuiltinOutputCode()
/external/v8/src/debug/
Ddebug-evaluate.cc386 bool BuiltinToIntrinsicHasNoSideEffect(Builtins::Name builtin_id, in BuiltinToIntrinsicHasNoSideEffect() argument
411 switch (builtin_id) { in BuiltinToIntrinsicHasNoSideEffect()
921 info->HasBuiltinId() ? info->builtin_id() : Builtins::kNoBuiltinId; in FunctionGetSideEffectState()
/external/v8/src/heap/
Dfactory.h1042 int builtin_id);
1048 int instance_size, int inobject_properties, int builtin_id,
1051 int builtin_id,

12