Home
last modified time | relevance | path

Searched refs:ast_id (Results 1 – 25 of 64) sorted by relevance

123

/external/v8/src/runtime/
Druntime-compiler.cc226 BailoutId ast_id = caller_code->TranslatePcOffsetToAstId(pc_offset); in RUNTIME_FUNCTION() local
227 DCHECK(!ast_id.IsNone()); in RUNTIME_FUNCTION()
234 PrintF(" at AST id %d]\n", ast_id.ToInt()); in RUNTIME_FUNCTION()
236 maybe_result = Compiler::GetOptimizedCodeForOSR(function, ast_id, frame); in RUNTIME_FUNCTION()
250 DCHECK(BailoutId(data->OsrAstId()->value()) == ast_id); in RUNTIME_FUNCTION()
253 ast_id.ToInt(), data->OsrPcOffset()->value()); in RUNTIME_FUNCTION()
276 PrintF(" at AST id %d]\n", ast_id.ToInt()); in RUNTIME_FUNCTION()
/external/v8/src/
Dtype-info.cc32 static uint32_t IdToKey(TypeFeedbackId ast_id) { in IdToKey() argument
33 return static_cast<uint32_t>(ast_id.ToInt()); in IdToKey()
37 Handle<Object> TypeFeedbackOracle::GetInfo(TypeFeedbackId ast_id) { in GetInfo() argument
38 int entry = dictionary_->FindEntry(IdToKey(ast_id)); in GetInfo()
443 TypeFeedbackId ast_id = in ProcessRelocInfos() local
454 SetInfo(ast_id, target); in ProcessRelocInfos()
464 void TypeFeedbackOracle::SetInfo(TypeFeedbackId ast_id, Object* target) { in SetInfo() argument
465 DCHECK(dictionary_->FindEntry(IdToKey(ast_id)) == in SetInfo()
471 dictionary_, IdToKey(ast_id), handle(target, isolate()))); in SetInfo()
/external/v8/src/crankshaft/
Dhydrogen.h136 void SetJoinId(BailoutId ast_id);
140 HSimulate* AddNewSimulate(BailoutId ast_id, SourcePosition position,
142 HSimulate* instr = CreateSimulate(ast_id, removable);
191 HSimulate* CreateSimulate(BailoutId ast_id, RemovableSimulate removable);
569 BailoutId ast_id() const { return ast_id_; } in ast_id() function
781 virtual void ReturnInstruction(HInstruction* instr, BailoutId ast_id) = 0;
787 virtual void ReturnControl(HControlInstruction* instr, BailoutId ast_id) = 0;
794 BailoutId ast_id) = 0;
829 void ReturnInstruction(HInstruction* instr, BailoutId ast_id) override;
830 void ReturnControl(HControlInstruction* instr, BailoutId ast_id) override;
[all …]
Dlithium.cc198 stream->Add("[id=%d|", ast_id().ToInt()); in PrintTo()
577 BailoutId ast_id = hydrogen_env->ast_id(); in CreateEnvironment() local
578 DCHECK(!ast_id.IsNone() || in CreateEnvironment()
593 ast_id, 0, 0, 0, outer, hydrogen_env->entry(), zone()); in CreateEnvironment()
608 ast_id, in CreateEnvironment()
Dhydrogen-removable-simulates.cc31 !current_simulate->ast_id().IsNone()) { in Process()
74 } else if (current_simulate->ast_id().IsNone()) { in Process()
Dhydrogen.cc317 DCHECK(!last_environment()->ast_id().IsNone()); in AddInstruction()
342 HSimulate* HBasicBlock::CreateSimulate(BailoutId ast_id, in CreateSimulate() argument
346 DCHECK(ast_id.IsNone() || in CreateSimulate()
347 ast_id == BailoutId::StubEntry() || in CreateSimulate()
348 environment->closure()->shared()->VerifyBailoutId(ast_id)); in CreateSimulate()
354 new(zone()) HSimulate(ast_id, pop_count, zone(), removable); in CreateSimulate()
438 void HBasicBlock::SetJoinId(BailoutId ast_id) { in SetJoinId() argument
448 ->VerifyBailoutId(ast_id))); in SetJoinId()
449 simulate->set_ast_id(ast_id); in SetJoinId()
450 predecessor->last_environment()->set_ast_id(ast_id); in SetJoinId()
[all …]
Dlithium-codegen.cc221 translation->BeginJSFrame(environment->ast_id(), shared_id, height); in WriteTranslationFrame()
343 data->SetAstId(i, env->ast_id()); in PopulateDeoptimizationData()
Dlithium.h404 BailoutId ast_id, in LEnvironment() argument
416 ast_id_(ast_id), in LEnvironment()
434 BailoutId ast_id() const { return ast_id_; } in ast_id() function
/external/v8/src/s390/
Dassembler-s390-inl.h374 TypeFeedbackId ast_id) { in emit_code_target() argument
376 if (rmode == RelocInfo::CODE_TARGET && !ast_id.IsNone()) { in emit_code_target()
377 SetRecordedAstId(ast_id); in emit_code_target()
Dassembler-s390.h625 TypeFeedbackId ast_id = TypeFeedbackId::None());
1228 void SetRecordedAstId(TypeFeedbackId ast_id) { recorded_ast_id_ = ast_id; } in SetRecordedAstId() argument
1350 TypeFeedbackId ast_id = TypeFeedbackId::None());
Dmacro-assembler-s390.h191 TypeFeedbackId ast_id = TypeFeedbackId::None(),
194 TypeFeedbackId ast_id = TypeFeedbackId::None(),
1266 void CallStub(CodeStub* stub, TypeFeedbackId ast_id = TypeFeedbackId::None(),
/external/v8/src/compiler/
Dast-graph-builder.h237 void PrepareFrameState(Node* node, BailoutId ast_id,
244 void PrepareEagerCheckpoint(BailoutId ast_id);
538 Node* Checkpoint(BailoutId ast_id, OutputFrameStateCombine combine =
Dast-graph-builder.cc894 Node* AstGraphBuilder::Environment::Checkpoint(BailoutId ast_id, in Checkpoint() argument
907 ast_id, combine, builder()->frame_state_function_info()); in Checkpoint()
4062 void AstGraphBuilder::PrepareFrameState(Node* node, BailoutId ast_id, in PrepareFrameState() argument
4072 environment()->Checkpoint(ast_id, combine, node_has_exception)); in PrepareFrameState()
4076 void AstGraphBuilder::PrepareEagerCheckpoint(BailoutId ast_id) { in PrepareEagerCheckpoint() argument
4082 if (ast_id != BailoutId::None()) { in PrepareEagerCheckpoint()
4087 environment()->Checkpoint(ast_id)); in PrepareEagerCheckpoint()
/external/v8/src/x64/
Dassembler-x64-inl.h59 TypeFeedbackId ast_id) { in emit_code_target() argument
62 if (rmode == RelocInfo::CODE_TARGET && !ast_id.IsNone()) { in emit_code_target()
63 RecordRelocInfo(RelocInfo::CODE_TARGET_WITH_ID, ast_id.ToInt()); in emit_code_target()
Dmacro-assembler-x64.h1010 TypeFeedbackId ast_id = TypeFeedbackId::None());
1432 void CallStub(CodeStub* stub, TypeFeedbackId ast_id = TypeFeedbackId::None());
/external/v8/src/profiler/
Dprofiler-listener.cc293 BailoutId ast_id = BailoutId(it.Next()); in RecordDeoptInlinedFrames() local
298 int source_position = Deoptimizer::ComputeSourcePosition(shared, ast_id); in RecordDeoptInlinedFrames()
/external/v8/src/arm/
Dmacro-assembler-arm.h102 TypeFeedbackId ast_id = TypeFeedbackId::None(),
114 TypeFeedbackId ast_id = TypeFeedbackId::None(), Condition cond = al,
118 TypeFeedbackId ast_id = TypeFeedbackId::None(),
1089 TypeFeedbackId ast_id = TypeFeedbackId::None(),
Dmacro-assembler-arm.cc87 CodeStub* stub, TypeFeedbackId ast_id, Condition cond) { in CallStubSize() argument
88 return CallSize(stub->GetCode(), RelocInfo::CODE_TARGET, ast_id, cond); in CallStubSize()
135 TypeFeedbackId ast_id, in CallSize() argument
144 TypeFeedbackId ast_id, in Call() argument
150 if (rmode == RelocInfo::CODE_TARGET && !ast_id.IsNone()) { in Call()
151 SetRecordedAstId(ast_id); in Call()
2622 TypeFeedbackId ast_id, in CallStub() argument
2625 Call(stub->GetCode(), RelocInfo::CODE_TARGET, ast_id, cond); in CallStub()
/external/v8/src/arm64/
Dmacro-assembler-arm64.cc1730 void MacroAssembler::CallStub(CodeStub* stub, TypeFeedbackId ast_id) { in CallStub() argument
1732 Call(stub->GetCode(), RelocInfo::CODE_TARGET, ast_id); in CallStub()
2001 TypeFeedbackId ast_id) { in Call() argument
2007 if ((rmode == RelocInfo::CODE_TARGET) && (!ast_id.IsNone())) { in Call()
2008 SetRecordedAstId(ast_id); in Call()
2017 AssertSizeOfCodeGeneratedSince(&start_call, CallSize(code, rmode, ast_id)); in Call()
2050 TypeFeedbackId ast_id) { in CallSize() argument
2052 USE(ast_id); in CallSize()
Dmacro-assembler-arm64.h1133 void CallStub(CodeStub* stub, TypeFeedbackId ast_id = TypeFeedbackId::None());
1194 TypeFeedbackId ast_id = TypeFeedbackId::None());
1203 TypeFeedbackId ast_id = TypeFeedbackId::None());
/external/v8/src/ppc/
Dmacro-assembler-ppc.h135 TypeFeedbackId ast_id = TypeFeedbackId::None(),
138 TypeFeedbackId ast_id = TypeFeedbackId::None(),
1001 void CallStub(CodeStub* stub, TypeFeedbackId ast_id = TypeFeedbackId::None(),
Dmacro-assembler-ppc.cc142 TypeFeedbackId ast_id, Condition cond) { in CallSize() argument
149 TypeFeedbackId ast_id, Condition cond) { in Call() argument
156 int expected_size = CallSize(code, rmode, ast_id, cond); in Call()
161 if (rmode == RelocInfo::CODE_TARGET && !ast_id.IsNone()) { in Call()
162 SetRecordedAstId(ast_id); in Call()
2480 void MacroAssembler::CallStub(CodeStub* stub, TypeFeedbackId ast_id, in CallStub() argument
2483 Call(stub->GetCode(), RelocInfo::CODE_TARGET, ast_id, cond); in CallStub()
/external/v8/src/mips/
Dmacro-assembler-mips.h191 TypeFeedbackId ast_id = TypeFeedbackId::None(),
195 TypeFeedbackId ast_id = TypeFeedbackId::None(),
1354 TypeFeedbackId ast_id = TypeFeedbackId::None(),
Dassembler-mips.h1032 void SetRecordedAstId(TypeFeedbackId ast_id) { in SetRecordedAstId() argument
1034 recorded_ast_id_ = ast_id; in SetRecordedAstId()
/external/v8/src/mips64/
Dmacro-assembler-mips64.h219 TypeFeedbackId ast_id = TypeFeedbackId::None(),
223 TypeFeedbackId ast_id = TypeFeedbackId::None(),
1461 TypeFeedbackId ast_id = TypeFeedbackId::None(),

123