/external/v8/src/snapshot/ |
D | builtin-deserializer-allocator.cc | 120 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 …]
|
D | builtin-deserializer.cc | 123 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()
|
D | builtin-deserializer.h | 39 Code* DeserializeBuiltin(int builtin_id); 48 Code* DeserializeBuiltinRaw(int builtin_id); 55 uint32_t ExtractCodeObjectSize(int builtin_id);
|
D | builtin-serializer.cc | 129 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()
|
D | snapshot-common.cc | 93 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 …]
|
D | builtin-deserializer-allocator.h | 97 void ReserveAndInitializeBuiltinsTableForBuiltin(int builtin_id); 114 int builtin_id);
|
D | deserializer.cc | 275 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()
|
D | builtin-serializer.h | 39 void SetBuiltinOffset(int builtin_id, uint32_t offset);
|
D | deserializer.h | 138 int MaybeReplaceWithDeserializeLazy(int builtin_id);
|
D | snapshot.h | 173 static Code* DeserializeBuiltin(Isolate* isolate, int builtin_id);
|
/external/v8/src/objects/ |
D | shared-function-info-inl.h | 238 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()
|
D | shared-function-info.h | 322 inline int builtin_id() const; 323 inline void set_builtin_id(int builtin_id);
|
/external/v8/src/runtime/ |
D | runtime-internal.cc | 452 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/ |
D | builtins-console.cc | 108 const char* name, Builtins::Name builtin_id, in InstallContextFunction() argument 116 name_string, builtin_id, i::LanguageMode::kSloppy); in InstallContextFunction()
|
/external/v8/src/profiler/ |
D | cpu-profiler-inl.h | 53 entry->SetBuiltinId(builtin_id); in UpdateCodeMap()
|
D | cpu-profiler.h | 99 Builtins::Name builtin_id; variable
|
D | profile-generator.cc | 737 if (pc_entry->builtin_id() == Builtins::kFunctionPrototypeApply || in RecordTickSample() 738 pc_entry->builtin_id() == Builtins::kFunctionPrototypeCall) { in RecordTickSample()
|
D | profile-generator.h | 97 Builtins::Name builtin_id() const { in builtin_id() function
|
/external/v8/src/compiler/ |
D | js-heap-broker.cc | 434 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/ |
D | instrument_pass.h | 269 void GenBuiltinOutputCode(uint32_t builtin_id, uint32_t builtin_off,
|
D | instrument_pass.cpp | 146 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/ |
D | instrument_pass.h | 270 void GenBuiltinOutputCode(uint32_t builtin_id, uint32_t builtin_off,
|
D | instrument_pass.cpp | 146 void InstrumentPass::GenBuiltinOutputCode(uint32_t builtin_id, in GenBuiltinOutputCode() argument 152 builder->AddUnaryOp(GetUintId(), SpvOpLoad, builtin_id); in GenBuiltinOutputCode()
|
/external/v8/src/debug/ |
D | debug-evaluate.cc | 386 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/ |
D | factory.h | 1042 int builtin_id); 1048 int instance_size, int inobject_properties, int builtin_id, 1051 int builtin_id,
|