Home
last modified time | relevance | path

Searched refs:Deoptimizer (Results 1 – 25 of 27) sorted by relevance

12

/external/v8/src/
Ddeoptimizer.cc78 Deoptimizer* Deoptimizer::New(JSFunction* function, in New()
85 Deoptimizer* deoptimizer = new Deoptimizer(isolate, in New()
98 Deoptimizer* Deoptimizer::Grab(Isolate* isolate) { in Grab()
100 Deoptimizer* result = isolate->deoptimizer_data()->current_; in Grab()
108 int Deoptimizer::ConvertJSFrameIndexToFrameIndex(int jsframe_index) { in ConvertJSFrameIndexToFrameIndex()
125 DeoptimizedFrameInfo* Deoptimizer::DebuggerInspectableFrame( in DebuggerInspectableFrame()
148 Deoptimizer* deoptimizer = new Deoptimizer(isolate, in DebuggerInspectableFrame()
150 Deoptimizer::DEBUGGER, in DebuggerInspectableFrame()
159 Deoptimizer::ComputeOutputFrames(deoptimizer); in DebuggerInspectableFrame()
213 void Deoptimizer::DeleteDebuggerInspectableFrame(DeoptimizedFrameInfo* info, in DeleteDebuggerInspectableFrame()
[all …]
Ddeoptimizer.h76 class Deoptimizer; variable
91 Deoptimizer* current_;
103 friend class Deoptimizer; variable
109 class Deoptimizer : public Malloced {
125 static Deoptimizer* New(JSFunction* function,
131 static Deoptimizer* Grab(Isolate* isolate);
197 ~Deoptimizer();
209 static void ComputeOutputFrames(Deoptimizer* deoptimizer);
218 static int input_offset() { return OFFSET_OF(Deoptimizer, input_); } in input_offset()
220 return OFFSET_OF(Deoptimizer, output_count_); in output_count_offset()
[all …]
Ddisassembler.cc288 int id = Deoptimizer::GetDeoptimizationId(addr, Deoptimizer::EAGER); in DecodeIt()
289 if (id == Deoptimizer::kNotDeoptimizationEntry) { in DecodeIt()
Dassembler.cc668 int id = Deoptimizer::GetDeoptimizationId( in Print()
669 target_address(), Deoptimizer::EAGER); in Print()
670 if (id != Deoptimizer::kNotDeoptimizationEntry) { in Print()
859 Redirect(isolate, FUNCTION_ADDR(Deoptimizer::New))); in new_deoptimizer_function()
866 Redirect(isolate, FUNCTION_ADDR(Deoptimizer::ComputeOutputFrames))); in compute_output_frames_function()
Dsafepoint-table.cc163 int target_offset = assembler->pc_offset() + Deoptimizer::patch_size(); in Emit()
Druntime-profiler.cc198 Deoptimizer::PatchStackCheckCode(unoptimized_code, in AttemptOnStackReplacement()
Dliveedit.cc1053 Deoptimizer::DeoptimizeFunction(function); in VisitFunction()
1069 Deoptimizer::VisitAllOptimizedFunctions(&visitor); in DeoptimizeDependentFunctions()
Druntime.cc8134 Deoptimizer::BailoutType type = in RUNTIME_FUNCTION()
8135 static_cast<Deoptimizer::BailoutType>(args.smi_at(0)); in RUNTIME_FUNCTION()
8136 Deoptimizer* deoptimizer = Deoptimizer::Grab(isolate); in RUNTIME_FUNCTION()
8154 if (type == Deoptimizer::EAGER) { in RUNTIME_FUNCTION()
8160 if (FLAG_always_opt || type == Deoptimizer::LAZY) { in RUNTIME_FUNCTION()
8189 Deoptimizer::DeoptimizeFunction(*function); in RUNTIME_FUNCTION()
8196 Deoptimizer* deoptimizer = Deoptimizer::Grab(isolate); in RUNTIME_FUNCTION()
8208 Deoptimizer::DeoptimizeFunction(*function); in RUNTIME_FUNCTION()
8373 Deoptimizer::RevertStackCheckCode(*unoptimized, in RUNTIME_FUNCTION()
10322 deoptimized_frame_ = Deoptimizer::DebuggerInspectableFrame( in FrameInspector()
[all …]
Dframes.cc892 unsigned entry = Deoptimizer::GetOutputInfo(output_data, in Summarize()
Dlog.cc1388 Deoptimizer::VisitAllOptimizedFunctions(&visitor); in EnumerateCompiledFunctions()
Dapi.cc2804 i::Deoptimizer::DeoptimizeGlobalObject(*self); in ForceDelete()
3191 i::Deoptimizer::DeoptimizeGlobalObject(*obj); in TurnOnAccessCheck()
6300 internal::Deoptimizer::DeoptimizeAll(); in DeoptimizeAll()
/external/v8/test/cctest/
Dtest-deoptimization.cc41 using ::v8::internal::Deoptimizer;
133 CHECK_EQ(0, Deoptimizer::GetDeoptimizedCodeCount(Isolate::Current())); in TEST()
149 CHECK_EQ(0, Deoptimizer::GetDeoptimizedCodeCount(Isolate::Current())); in TEST()
171 CHECK_EQ(0, Deoptimizer::GetDeoptimizedCodeCount(Isolate::Current())); in TEST()
188 CHECK_EQ(0, Deoptimizer::GetDeoptimizedCodeCount(Isolate::Current())); in TEST()
212 CHECK_EQ(0, Deoptimizer::GetDeoptimizedCodeCount(Isolate::Current())); in TEST()
236 CHECK_EQ(0, Deoptimizer::GetDeoptimizedCodeCount(Isolate::Current())); in TEST()
268 CHECK_EQ(0, Deoptimizer::GetDeoptimizedCodeCount(Isolate::Current())); in TEST()
289 CHECK_EQ(0, Deoptimizer::GetDeoptimizedCodeCount(Isolate::Current())); in TEST()
306 CHECK_EQ(0, Deoptimizer::GetDeoptimizedCodeCount(Isolate::Current())); in TEST()
[all …]
Dtest-debug.cc731 i::Deoptimizer::DeoptimizeAll(); in DebugEventBreakPointHitCount()
1013 i::Deoptimizer::DeoptimizeAll(); in DebugEventBreakMax()
7072 i::Deoptimizer::DeoptimizeAll(); in DebugEventBreakDeoptimize()
/external/v8/src/x64/
Ddeoptimizer-x64.cc41 const int Deoptimizer::table_entry_size_ = 10;
44 int Deoptimizer::patch_size() { in patch_size()
49 void Deoptimizer::DeoptimizeFunction(JSFunction* function) { in DeoptimizeFunction()
114 void Deoptimizer::PatchStackCheckCodeAt(Code* unoptimized_code, in PatchStackCheckCodeAt()
151 void Deoptimizer::RevertStackCheckCodeAt(Code* unoptimized_code, in RevertStackCheckCodeAt()
191 void Deoptimizer::DoComputeOsrOutputFrame() { in DoComputeOsrOutputFrame()
340 void Deoptimizer::DoComputeArgumentsAdaptorFrame(TranslationIterator* iterator, in DoComputeArgumentsAdaptorFrame()
441 void Deoptimizer::DoComputeConstructStubFrame(TranslationIterator* iterator, in DoComputeConstructStubFrame()
561 void Deoptimizer::DoComputeJSFrame(TranslationIterator* iterator, in DoComputeJSFrame()
724 void Deoptimizer::FillInputFrame(Address tos, JavaScriptFrame* frame) { in FillInputFrame()
[all …]
Dbuiltins-x64.cc571 Deoptimizer::BailoutType type) { in Generate_NotifyDeoptimizedHelper()
603 Generate_NotifyDeoptimizedHelper(masm, Deoptimizer::EAGER); in Generate_NotifyDeoptimized()
608 Generate_NotifyDeoptimizedHelper(masm, Deoptimizer::LAZY); in Generate_NotifyLazyDeoptimized()
1736 Deoptimizer::EntryGenerator generator(masm, Deoptimizer::OSR); in Generate_OnStackReplacement()
Dlithium-codegen-x64.cc53 codegen_->EnsureSpaceForLazyDeopt(Deoptimizer::patch_size() - call_size); in BeforeCall()
246 EnsureSpaceForLazyDeopt(Deoptimizer::patch_size()); in GenerateBody()
456 EnsureSpaceForLazyDeopt(Deoptimizer::patch_size() - masm()->CallSize(code)); in CallCodeGeneric()
542 Address entry = Deoptimizer::GetDeoptimizationEntry(id, Deoptimizer::EAGER); in DeoptimizeIf()
4558 EnsureSpaceForLazyDeopt(Deoptimizer::patch_size()); in DoLazyBailout()
4637 EnsureSpaceForLazyDeopt(Deoptimizer::patch_size()); in DoStackCheck()
4649 EnsureSpaceForLazyDeopt(Deoptimizer::patch_size()); in DoStackCheck()
/external/v8/src/ia32/
Ddeoptimizer-ia32.cc40 const int Deoptimizer::table_entry_size_ = 10;
43 int Deoptimizer::patch_size() { in patch_size()
48 void Deoptimizer::EnsureRelocSpaceForLazyDeoptimization(Handle<Code> code) { in EnsureRelocSpaceForLazyDeoptimization()
117 void Deoptimizer::DeoptimizeFunction(JSFunction* function) { in DeoptimizeFunction()
217 void Deoptimizer::PatchStackCheckCodeAt(Code* unoptimized_code, in PatchStackCheckCodeAt()
259 void Deoptimizer::RevertStackCheckCodeAt(Code* unoptimized_code, in RevertStackCheckCodeAt()
305 void Deoptimizer::DoComputeOsrOutputFrame() { in DoComputeOsrOutputFrame()
453 void Deoptimizer::DoComputeArgumentsAdaptorFrame(TranslationIterator* iterator, in DoComputeArgumentsAdaptorFrame()
549 void Deoptimizer::DoComputeConstructStubFrame(TranslationIterator* iterator, in DoComputeConstructStubFrame()
662 void Deoptimizer::DoComputeJSFrame(TranslationIterator* iterator, in DoComputeJSFrame()
[all …]
Dbuiltins-ia32.cc505 Deoptimizer::BailoutType type) { in Generate_NotifyDeoptimizedHelper()
538 Generate_NotifyDeoptimizedHelper(masm, Deoptimizer::EAGER); in Generate_NotifyDeoptimized()
543 Generate_NotifyDeoptimizedHelper(masm, Deoptimizer::LAZY); in Generate_NotifyLazyDeoptimized()
1728 Deoptimizer::EntryGenerator generator(masm, Deoptimizer::OSR); in Generate_OnStackReplacement()
Dlithium-codegen-ia32.cc94 Deoptimizer::EnsureRelocSpaceForLazyDeoptimization(code); in FinishCode()
555 Address entry = Deoptimizer::GetDeoptimizationEntry(id, Deoptimizer::EAGER); in DeoptimizeIf()
4769 int patch_size = Deoptimizer::patch_size(); in EnsureSpaceForLazyDeopt()
/external/v8/src/mips/
Ddeoptimizer-mips.cc39 int Deoptimizer::patch_size() { in patch_size()
45 void Deoptimizer::DeoptimizeFunction(JSFunction* function) { in DeoptimizeFunction()
115 void Deoptimizer::PatchStackCheckCodeAt(Code* unoptimized_code, in PatchStackCheckCodeAt()
158 void Deoptimizer::RevertStackCheckCodeAt(Code* unoptimized_code, in RevertStackCheckCodeAt()
207 void Deoptimizer::DoComputeOsrOutputFrame() { in DoComputeOsrOutputFrame()
352 void Deoptimizer::DoComputeArgumentsAdaptorFrame(TranslationIterator* iterator, in DoComputeArgumentsAdaptorFrame()
448 void Deoptimizer::DoComputeConstructStubFrame(TranslationIterator* iterator, in DoComputeConstructStubFrame()
572 void Deoptimizer::DoComputeJSFrame(TranslationIterator* iterator, in DoComputeJSFrame()
735 void Deoptimizer::FillInputFrame(Address tos, JavaScriptFrame* frame) { in FillInputFrame()
761 void Deoptimizer::EntryGenerator::Generate() { in Generate()
[all …]
Dbuiltins-mips.cc1219 Deoptimizer::BailoutType type) { in Generate_NotifyDeoptimizedHelper()
1251 Generate_NotifyDeoptimizedHelper(masm, Deoptimizer::EAGER); in Generate_NotifyDeoptimized()
1256 Generate_NotifyDeoptimizedHelper(masm, Deoptimizer::LAZY); in Generate_NotifyLazyDeoptimized()
1303 Deoptimizer::EntryGenerator generator(masm, Deoptimizer::OSR); in Generate_OnStackReplacement()
Dlithium-codegen-mips.cc614 Address entry = Deoptimizer::GetDeoptimizationEntry(id, Deoptimizer::EAGER); in DeoptimizeIf()
4860 int patch_size = Deoptimizer::patch_size(); in EnsureSpaceForLazyDeopt()
/external/v8/src/arm/
Ddeoptimizer-arm.cc38 const int Deoptimizer::table_entry_size_ = 16;
41 int Deoptimizer::patch_size() { in patch_size()
47 void Deoptimizer::DeoptimizeFunction(JSFunction* function) { in DeoptimizeFunction()
115 void Deoptimizer::PatchStackCheckCodeAt(Code* unoptimized_code, in PatchStackCheckCodeAt()
163 void Deoptimizer::RevertStackCheckCodeAt(Code* unoptimized_code, in RevertStackCheckCodeAt()
217 void Deoptimizer::DoComputeOsrOutputFrame() { in DoComputeOsrOutputFrame()
362 void Deoptimizer::DoComputeArgumentsAdaptorFrame(TranslationIterator* iterator, in DoComputeArgumentsAdaptorFrame()
458 void Deoptimizer::DoComputeConstructStubFrame(TranslationIterator* iterator, in DoComputeConstructStubFrame()
582 void Deoptimizer::DoComputeJSFrame(TranslationIterator* iterator, in DoComputeJSFrame()
749 void Deoptimizer::FillInputFrame(Address tos, JavaScriptFrame* frame) { in FillInputFrame()
[all …]
Dbuiltins-arm.cc1190 Deoptimizer::BailoutType type) { in Generate_NotifyDeoptimizedHelper()
1222 Generate_NotifyDeoptimizedHelper(masm, Deoptimizer::EAGER); in Generate_NotifyDeoptimized()
1227 Generate_NotifyDeoptimizedHelper(masm, Deoptimizer::LAZY); in Generate_NotifyLazyDeoptimized()
1276 Deoptimizer::EntryGenerator generator(masm, Deoptimizer::OSR); in Generate_OnStackReplacement()
Dlithium-codegen-arm.cc650 Address entry = Deoptimizer::GetDeoptimizationEntry(id, Deoptimizer::EAGER); in DeoptimizeIf()
4924 int patch_size = Deoptimizer::patch_size(); in EnsureSpaceForLazyDeopt()

12