Home
last modified time | relevance | path

Searched refs:Safepoint (Results 1 – 25 of 26) sorted by relevance

12

/external/v8/src/
Dsafepoint-table.cc48 Safepoint::kNoDeoptimizationIndex); in SafepointTable()
97 void Safepoint::DefinePointerRegister(Register reg, Zone* zone) { in DefinePointerRegister()
102 Safepoint SafepointTableBuilder::DefineSafepoint( in DefineSafepoint()
104 Safepoint::Kind kind, in DefineSafepoint()
106 Safepoint::DeoptMode deopt_mode) { in DefineSafepoint()
111 info.has_doubles = (kind & Safepoint::kWithDoubles); in DefineSafepoint()
113 deopt_index_list_.Add(Safepoint::kNoDeoptimizationIndex, zone_); in DefineSafepoint()
114 if (deopt_mode == Safepoint::kNoLazyDeopt) { in DefineSafepoint()
118 registers_.Add((kind & Safepoint::kWithRegisters) in DefineSafepoint()
122 return Safepoint(indexes_.last(), registers_.last()); in DefineSafepoint()
Dsafepoint-table.h148 class Safepoint BASE_EMBEDDED {
169 Safepoint(ZoneList<int>* indexes, ZoneList<int>* registers) in Safepoint() function
193 Safepoint DefineSafepoint(Assembler* assembler,
194 Safepoint::Kind kind,
196 Safepoint::DeoptMode mode);
Dframes.cc934 int deopt_index = Safepoint::kNoDeoptimizationIndex; in Summarize()
1061 DCHECK(*deopt_index != Safepoint::kNoDeoptimizationIndex); in GetDeoptimizationData()
1079 int deopt_index = Safepoint::kNoDeoptimizationIndex; in GetFunctions()
Ddeoptimizer.cc153 CHECK_NE(deoptimization_index, Safepoint::kNoDeoptimizationIndex); in DebuggerInspectableFrame()
352 deopt_index != Safepoint::kNoDeoptimizationIndex || turbofanned; in DeoptimizeMarkedCodeForContext()
3285 int deopt_index = Safepoint::kNoDeoptimizationIndex; in TranslatedState()
/external/v8/src/crankshaft/arm/
Dlithium-codegen-arm.h33 expected_safepoint_kind_(Safepoint::kSimple) { in LCodeGen()
227 Safepoint::DeoptMode mode);
253 Safepoint::Kind kind,
255 Safepoint::DeoptMode mode);
256 void RecordSafepoint(LPointerMap* pointers, Safepoint::DeoptMode mode);
257 void RecordSafepoint(Safepoint::DeoptMode mode);
260 Safepoint::DeoptMode mode);
326 Safepoint::Kind expected_safepoint_kind_;
333 DCHECK(codegen_->expected_safepoint_kind_ == Safepoint::kSimple); in PushSafepointRegistersScope()
334 codegen_->expected_safepoint_kind_ = Safepoint::kWithRegisters; in PushSafepointRegistersScope()
[all …]
Dlithium-codegen-arm.cc24 Safepoint::DeoptMode mode) in SafepointGenerator()
39 Safepoint::DeoptMode deopt_mode_;
168 Safepoint::DeoptMode deopt_mode = Safepoint::kNoLazyDeopt; in DoPrologue()
173 deopt_mode = Safepoint::kLazyDeopt; in DoPrologue()
749 instr->pointer_map(), argc, Safepoint::kNoLazyDeopt); in CallRuntimeFromDeferred()
754 Safepoint::DeoptMode mode) { in RegisterEnvironmentForDeoptimization()
784 (mode == Safepoint::kLazyDeopt) ? pc_offset : -1); in RegisterEnvironmentForDeoptimization()
794 RegisterEnvironmentForDeoptimization(environment, Safepoint::kNoLazyDeopt); in DeoptimizeIf()
880 RecordSafepoint(instr->pointer_map(), Safepoint::kLazyDeopt); in RecordSafepointWithLazyDeopt()
884 instr->pointer_map(), 0, Safepoint::kLazyDeopt); in RecordSafepointWithLazyDeopt()
[all …]
/external/v8/src/crankshaft/x64/
Dlithium-codegen-x64.h35 expected_safepoint_kind_(Safepoint::kSimple) { in LCodeGen()
201 Safepoint::DeoptMode mode);
238 Safepoint::Kind kind,
240 Safepoint::DeoptMode mode);
241 void RecordSafepoint(LPointerMap* pointers, Safepoint::DeoptMode mode);
242 void RecordSafepoint(Safepoint::DeoptMode mode);
245 Safepoint::DeoptMode mode);
319 Safepoint::Kind expected_safepoint_kind_;
326 DCHECK(codegen_->expected_safepoint_kind_ == Safepoint::kSimple); in PushSafepointRegistersScope()
328 codegen_->expected_safepoint_kind_ = Safepoint::kWithRegisters; in PushSafepointRegistersScope()
[all …]
Dlithium-codegen-x64.cc27 Safepoint::DeoptMode mode) in SafepointGenerator()
42 Safepoint::DeoptMode deopt_mode_;
183 Safepoint::DeoptMode deopt_mode = Safepoint::kNoLazyDeopt; in DoPrologue()
188 deopt_mode = Safepoint::kLazyDeopt; in DoPrologue()
687 instr->pointer_map(), argc, Safepoint::kNoLazyDeopt); in CallRuntimeFromDeferred()
692 Safepoint::DeoptMode mode) { in RegisterEnvironmentForDeoptimization()
722 (mode == Safepoint::kLazyDeopt) ? pc_offset : -1); in RegisterEnvironmentForDeoptimization()
732 RegisterEnvironmentForDeoptimization(environment, Safepoint::kNoLazyDeopt); in DeoptimizeIf()
814 RecordSafepoint(instr->pointer_map(), Safepoint::kLazyDeopt); in RecordSafepointWithLazyDeopt()
818 instr->pointer_map(), argc, Safepoint::kLazyDeopt); in RecordSafepointWithLazyDeopt()
[all …]
/external/v8/src/crankshaft/ppc/
Dlithium-codegen-ppc.h33 expected_safepoint_kind_(Safepoint::kSimple) { in LCodeGen()
201 Safepoint::DeoptMode mode);
225 void RecordSafepoint(LPointerMap* pointers, Safepoint::Kind kind,
226 int arguments, Safepoint::DeoptMode mode);
227 void RecordSafepoint(LPointerMap* pointers, Safepoint::DeoptMode mode);
228 void RecordSafepoint(Safepoint::DeoptMode mode);
230 Safepoint::DeoptMode mode);
290 Safepoint::Kind expected_safepoint_kind_;
297 DCHECK(codegen_->expected_safepoint_kind_ == Safepoint::kSimple); in PushSafepointRegistersScope()
298 codegen_->expected_safepoint_kind_ = Safepoint::kWithRegisters; in PushSafepointRegistersScope()
[all …]
Dlithium-codegen-ppc.cc23 Safepoint::DeoptMode mode) in SafepointGenerator()
36 Safepoint::DeoptMode deopt_mode_;
174 Safepoint::DeoptMode deopt_mode = Safepoint::kNoLazyDeopt; in DoPrologue()
179 deopt_mode = Safepoint::kLazyDeopt; in DoPrologue()
692 Safepoint::kNoLazyDeopt); in CallRuntimeFromDeferred()
697 Safepoint::DeoptMode mode) { in RegisterEnvironmentForDeoptimization()
726 (mode == Safepoint::kLazyDeopt) ? pc_offset : -1); in RegisterEnvironmentForDeoptimization()
737 RegisterEnvironmentForDeoptimization(environment, Safepoint::kNoLazyDeopt); in DeoptimizeIf()
809 RecordSafepoint(instr->pointer_map(), Safepoint::kLazyDeopt); in RecordSafepointWithLazyDeopt()
813 Safepoint::kLazyDeopt); in RecordSafepointWithLazyDeopt()
[all …]
/external/v8/src/crankshaft/ia32/
Dlithium-codegen-ia32.h37 expected_safepoint_kind_(Safepoint::kSimple) { in LCodeGen()
202 Safepoint::DeoptMode mode);
241 Safepoint::Kind kind,
243 Safepoint::DeoptMode mode);
244 void RecordSafepoint(LPointerMap* pointers, Safepoint::DeoptMode mode);
245 void RecordSafepoint(Safepoint::DeoptMode mode);
248 Safepoint::DeoptMode mode);
329 Safepoint::Kind expected_safepoint_kind_;
335 DCHECK(codegen_->expected_safepoint_kind_ == Safepoint::kSimple); in PushSafepointRegistersScope()
337 codegen_->expected_safepoint_kind_ = Safepoint::kWithRegisters; in PushSafepointRegistersScope()
[all …]
Dlithium-codegen-ia32.cc29 Safepoint::DeoptMode mode) in SafepointGenerator()
44 Safepoint::DeoptMode deopt_mode_;
244 Safepoint::DeoptMode deopt_mode = Safepoint::kNoLazyDeopt; in DoPrologue()
249 deopt_mode = Safepoint::kLazyDeopt; in DoPrologue()
763 instr->pointer_map(), argc, Safepoint::kNoLazyDeopt); in CallRuntimeFromDeferred()
770 LEnvironment* environment, Safepoint::DeoptMode mode) { in RegisterEnvironmentForDeoptimization()
800 (mode == Safepoint::kLazyDeopt) ? pc_offset : -1); in RegisterEnvironmentForDeoptimization()
810 RegisterEnvironmentForDeoptimization(environment, Safepoint::kNoLazyDeopt); in DeoptimizeIf()
886 RecordSafepoint(instr->pointer_map(), Safepoint::kLazyDeopt); in RecordSafepointWithLazyDeopt()
890 instr->pointer_map(), 0, Safepoint::kLazyDeopt); in RecordSafepointWithLazyDeopt()
[all …]
/external/v8/src/crankshaft/mips/
Dlithium-codegen-mips.h33 expected_safepoint_kind_(Safepoint::kSimple) { in LCodeGen()
221 Safepoint::DeoptMode mode);
251 Safepoint::Kind kind,
253 Safepoint::DeoptMode mode);
254 void RecordSafepoint(LPointerMap* pointers, Safepoint::DeoptMode mode);
255 void RecordSafepoint(Safepoint::DeoptMode mode);
258 Safepoint::DeoptMode mode);
355 Safepoint::Kind expected_safepoint_kind_;
362 DCHECK(codegen_->expected_safepoint_kind_ == Safepoint::kSimple); in PushSafepointRegistersScope()
363 codegen_->expected_safepoint_kind_ = Safepoint::kWithRegisters; in PushSafepointRegistersScope()
[all …]
Dlithium-codegen-mips.cc48 Safepoint::DeoptMode mode) in SafepointGenerator()
63 Safepoint::DeoptMode deopt_mode_;
188 Safepoint::DeoptMode deopt_mode = Safepoint::kNoLazyDeopt; in DoPrologue()
193 deopt_mode = Safepoint::kLazyDeopt; in DoPrologue()
725 instr->pointer_map(), argc, Safepoint::kNoLazyDeopt); in CallRuntimeFromDeferred()
730 Safepoint::DeoptMode mode) { in RegisterEnvironmentForDeoptimization()
760 (mode == Safepoint::kLazyDeopt) ? pc_offset : -1); in RegisterEnvironmentForDeoptimization()
771 RegisterEnvironmentForDeoptimization(environment, Safepoint::kNoLazyDeopt); in DeoptimizeIf()
847 RecordSafepoint(instr->pointer_map(), Safepoint::kLazyDeopt); in RecordSafepointWithLazyDeopt()
851 instr->pointer_map(), 0, Safepoint::kLazyDeopt); in RecordSafepointWithLazyDeopt()
[all …]
/external/v8/src/crankshaft/mips64/
Dlithium-codegen-mips64.h33 expected_safepoint_kind_(Safepoint::kSimple) { in LCodeGen()
223 Safepoint::DeoptMode mode);
254 Safepoint::Kind kind,
256 Safepoint::DeoptMode mode);
257 void RecordSafepoint(LPointerMap* pointers, Safepoint::DeoptMode mode);
258 void RecordSafepoint(Safepoint::DeoptMode mode);
261 Safepoint::DeoptMode mode);
358 Safepoint::Kind expected_safepoint_kind_;
365 DCHECK(codegen_->expected_safepoint_kind_ == Safepoint::kSimple); in PushSafepointRegistersScope()
366 codegen_->expected_safepoint_kind_ = Safepoint::kWithRegisters; in PushSafepointRegistersScope()
[all …]
Dlithium-codegen-mips64.cc23 Safepoint::DeoptMode mode) in SafepointGenerator()
38 Safepoint::DeoptMode deopt_mode_;
163 Safepoint::DeoptMode deopt_mode = Safepoint::kNoLazyDeopt; in DoPrologue()
168 deopt_mode = Safepoint::kLazyDeopt; in DoPrologue()
713 instr->pointer_map(), argc, Safepoint::kNoLazyDeopt); in CallRuntimeFromDeferred()
718 Safepoint::DeoptMode mode) { in RegisterEnvironmentForDeoptimization()
748 (mode == Safepoint::kLazyDeopt) ? pc_offset : -1); in RegisterEnvironmentForDeoptimization()
759 RegisterEnvironmentForDeoptimization(environment, Safepoint::kNoLazyDeopt); in DeoptimizeIf()
836 RecordSafepoint(instr->pointer_map(), Safepoint::kLazyDeopt); in RecordSafepointWithLazyDeopt()
840 instr->pointer_map(), 0, Safepoint::kLazyDeopt); in RecordSafepointWithLazyDeopt()
[all …]
/external/v8/src/crankshaft/arm64/
Dlithium-codegen-arm64.h35 expected_safepoint_kind_(Safepoint::kSimple), in LCodeGen()
254 Safepoint::DeoptMode mode);
330 Safepoint::Kind kind,
332 Safepoint::DeoptMode mode);
333 void RecordSafepoint(LPointerMap* pointers, Safepoint::DeoptMode mode);
334 void RecordSafepoint(Safepoint::DeoptMode mode);
337 Safepoint::DeoptMode mode);
355 Safepoint::Kind expected_safepoint_kind_;
373 DCHECK(codegen_->expected_safepoint_kind_ == Safepoint::kSimple); in PushSafepointRegistersScope()
374 codegen_->expected_safepoint_kind_ = Safepoint::kWithRegisters; in PushSafepointRegistersScope()
[all …]
Dlithium-codegen-arm64.cc25 Safepoint::DeoptMode mode) in SafepointGenerator()
40 Safepoint::DeoptMode deopt_mode_;
319 Safepoint::DeoptMode mode) { in RegisterEnvironmentForDeoptimization()
336 (mode == Safepoint::kLazyDeopt) ? pc_offset : -1); in RegisterEnvironmentForDeoptimization()
490 instr->pointer_map(), argc, Safepoint::kNoLazyDeopt); in CallRuntimeFromDeferred()
504 RecordSafepoint(instr->pointer_map(), Safepoint::kLazyDeopt); in RecordSafepointWithLazyDeopt()
508 instr->pointer_map(), 0, Safepoint::kLazyDeopt); in RecordSafepointWithLazyDeopt()
514 Safepoint::Kind kind, in RecordSafepoint()
516 Safepoint::DeoptMode deopt_mode) { in RecordSafepoint()
520 Safepoint safepoint = safepoints_.DefineSafepoint( in RecordSafepoint()
[all …]
/external/v8/src/crankshaft/x87/
Dlithium-codegen-x87.h40 expected_safepoint_kind_(Safepoint::kSimple) { in LCodeGen()
230 Safepoint::DeoptMode mode);
269 Safepoint::Kind kind,
271 Safepoint::DeoptMode mode);
272 void RecordSafepoint(LPointerMap* pointers, Safepoint::DeoptMode mode);
273 void RecordSafepoint(Safepoint::DeoptMode mode);
276 Safepoint::DeoptMode mode);
427 Safepoint::Kind expected_safepoint_kind_;
433 DCHECK(codegen_->expected_safepoint_kind_ == Safepoint::kSimple); in PushSafepointRegistersScope()
435 codegen_->expected_safepoint_kind_ = Safepoint::kWithRegisters; in PushSafepointRegistersScope()
[all …]
Dlithium-codegen-x87.cc30 Safepoint::DeoptMode mode) in SafepointGenerator()
45 Safepoint::DeoptMode deopt_mode_;
215 Safepoint::DeoptMode deopt_mode = Safepoint::kNoLazyDeopt; in DoPrologue()
220 deopt_mode = Safepoint::kLazyDeopt; in DoPrologue()
1033 instr->pointer_map(), argc, Safepoint::kNoLazyDeopt); in CallRuntimeFromDeferred()
1040 LEnvironment* environment, Safepoint::DeoptMode mode) { in RegisterEnvironmentForDeoptimization()
1070 (mode == Safepoint::kLazyDeopt) ? pc_offset : -1); in RegisterEnvironmentForDeoptimization()
1080 RegisterEnvironmentForDeoptimization(environment, Safepoint::kNoLazyDeopt); in DeoptimizeIf()
1177 RecordSafepoint(instr->pointer_map(), Safepoint::kLazyDeopt); in RecordSafepointWithLazyDeopt()
1181 instr->pointer_map(), 0, Safepoint::kLazyDeopt); in RecordSafepointWithLazyDeopt()
[all …]
/external/v8/src/compiler/
Dcode-generator.cc227 Safepoint::Kind kind, int arguments, in RecordSafepoint()
228 Safepoint::DeoptMode deopt_mode) { in RecordSafepoint()
229 Safepoint safepoint = in RecordSafepoint()
241 } else if (operand.IsRegister() && (kind & Safepoint::kWithRegisters)) { in RecordSafepoint()
427 instr->reference_map(), Safepoint::kSimple, 0, in RecordCallPosition()
428 needs_frame_state ? Safepoint::kLazyDeopt : Safepoint::kNoLazyDeopt); in RecordCallPosition()
Dcode-generator.h74 void RecordSafepoint(ReferenceMap* references, Safepoint::Kind kind,
75 int arguments, Safepoint::DeoptMode deopt_mode);
/external/v8/src/crankshaft/
Dlithium.h413 deoptimization_index_(Safepoint::kNoDeoptimizationIndex), in LEnvironment()
508 return deoptimization_index_ != Safepoint::kNoDeoptimizationIndex; in HasBeenRegistered()
Dlithium.cc194 if (deoptimization_index() != Safepoint::kNoDeoptimizationIndex) { in PrintTo()
/external/llvm/docs/
DStatepoints.rst586 Safepoint Semantics & Verification
626 Utility Passes for Safepoint Insertion

12