Lines Matching refs:osr_offset

77 constexpr bool IsOSR(BytecodeOffset osr_offset) { return !osr_offset.IsNone(); }
79 void SetTieringState(JSFunction function, BytecodeOffset osr_offset,
81 if (IsOSR(osr_offset)) {
88 void ResetTieringState(JSFunction function, BytecodeOffset osr_offset) {
90 SetTieringState(function, osr_offset, TieringState::kNone);
94 void ResetProfilerTicks(JSFunction function, BytecodeOffset osr_offset) {
95 if (!IsOSR(osr_offset)) {
124 BytecodeOffset osr_offset,
130 function->DebugNameCStr().get(), osr_offset.ToInt(), ToString(mode));
135 BytecodeOffset osr_offset,
142 function->DebugNameCStr().get(), osr_offset.ToInt(), ToString(mode));
187 BytecodeOffset osr_offset,
192 if (IsOSR(osr_offset)) {
193 PrintF(scope.file(), " at OSR bytecode offset %d", osr_offset.ToInt());
898 Isolate* isolate, Handle<JSFunction> function, BytecodeOffset osr_offset,
907 if (IsOSR(osr_offset)) {
910 shared, osr_offset, isolate);
927 DCHECK_IMPLIES(IsOSR(osr_offset), CodeKindCanOSR(code.kind()));
929 CompilerTracer::TraceOptimizedCodeCacheHit(isolate, function, osr_offset,
942 const BytecodeOffset osr_offset = compilation_info->osr_offset();
944 if (IsOSR(osr_offset)) {
950 osr_offset);
954 DCHECK(!IsOSR(osr_offset));
1063 SetTieringState(*function, compilation_info->osr_offset(),
1094 BytecodeOffset osr_offset,
1111 osr_offset, osr_frame));
1152 BytecodeOffset osr_offset,
1158 CHECK(!IsOSR(osr_offset));
1205 SetTieringState(*function, osr_offset, TieringState::kInProgress);
1215 CodeKind code_kind, BytecodeOffset osr_offset = BytecodeOffset::None(),
1224 if (!IsOSR(osr_offset)) {
1225 ResetTieringState(*function, osr_offset);
1251 if (OptimizedCodeCache::Get(isolate, function, osr_offset, code_kind)
1258 ResetProfilerTicks(*function, osr_offset);
1261 return CompileTurbofan(isolate, function, shared, mode, osr_offset,
1265 return CompileMaglev(isolate, function, mode, osr_offset, osr_frame,
3378 BytecodeOffset osr_offset,
3381 DCHECK(IsOSR(osr_offset));
3411 CompilerTracer::TraceOptimizeOSR(isolate, function, osr_offset, mode);
3413 isolate, function, mode, CodeKind::TURBOFAN, osr_offset, frame);
3416 CompilerTracer::TraceOptimizeOSRUnavailable(isolate, function, osr_offset,
3427 ResetTieringState(*function, job->compilation_info()->osr_offset());
3448 const BytecodeOffset osr_offset = compilation_info->osr_offset();
3451 ResetProfilerTicks(*function, osr_offset);
3469 ResetTieringState(*function, osr_offset);
3472 if (IsOSR(osr_offset)) {
3476 function->DebugNameCStr().get(), osr_offset.ToInt());
3478 shared->GetBytecodeArray(isolate).set_osr_install_target(osr_offset);
3490 ResetTieringState(*function, osr_offset);
3491 if (!IsOSR(osr_offset)) {