Home
last modified time | relevance | path

Searched refs:deopt (Results 1 – 10 of 10) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/stackmap/
Dark_stackmap_parser.cpp179 ARKDeopt deopt; in ParseArkDeopt() local
189 LLVMStackMapType::DecodeVRegsInfo(vregsInfo, deopt.id, kindType); in ParseArkDeopt()
196 deopt.kind = LocationTy::Kind::CONSTANTNDEX; in ParseArkDeopt()
197 deopt.value = static_cast<LLVMStackMapType::LargeInt>(constant); in ParseArkDeopt()
199 deopt.kind = LocationTy::Kind::CONSTANT; in ParseArkDeopt()
200 deopt.value = static_cast<LLVMStackMapType::IntType>(constant); in ParseArkDeopt()
207 deopt.kind = LocationTy::Kind::INDIRECT; in ParseArkDeopt()
208 deopt.value = std::make_pair(reg, offsetType); in ParseArkDeopt()
211 deopts.emplace_back(deopt); in ParseArkDeopt()
Dark_stackmap_builder.cpp142 auto &deopt = callsite2Deopt.at(j); in SaveArkDeopt() local
148 LLVMStackMapType::EncodeVRegsInfo(vregsInfo, vregsInfoSize, deopt.id, deopt.kind); in SaveArkDeopt()
151 auto& value = deopt.value; in SaveArkDeopt()
239 void ArkStackMapBuilder::GenARKDeopt(const LLVMStackMapType::DeoptInfoType& deopt, std::pair<uint32… in GenARKDeopt() argument
242 ASSERT(deopt.size() % 2 == 0); // 2:<id, value> in GenARKDeopt()
245 for (size_t i = 0; i < deopt.size(); i += 2) { // 2:<id, value> in GenARKDeopt()
246 ASSERT(std::holds_alternative<LLVMStackMapType::IntType>(deopt[i])); in GenARKDeopt()
248 std::get<LLVMStackMapType::IntType>(deopt[i])); in GenARKDeopt()
250 auto value = deopt[i + 1]; in GenARKDeopt()
327 LLVMStackMapType::DeoptInfoType deopt = x.second; in GenArkCallsiteAOTFileInfo() local
[all …]
Dark_stackmap_parser.h49 std::vector<ARKDeopt>& deopt) const;
Dark_stackmap_builder.h100 void GenARKDeopt(const LLVMStackMapType::DeoptInfoType& deopt,
/arkcompiler/ets_runtime/ecmascript/deoptimizer/
Ddeoptimizer.cpp95 ARKDeopt deopt = deoptBundle.at(i); in CollectVregs() local
97 VRegId id = deopt.id; in CollectVregs()
98 if (std::holds_alternative<DwarfRegAndOffsetType>(deopt.value)) { in CollectVregs()
99 ASSERT(deopt.kind == LocationTy::Kind::INDIRECT); in CollectVregs()
100 auto value = std::get<DwarfRegAndOffsetType>(deopt.value); in CollectVregs()
111 } else if (std::holds_alternative<LargeInt>(deopt.value)) { in CollectVregs()
112 ASSERT(deopt.kind == LocationTy::Kind::CONSTANTNDEX); in CollectVregs()
113 v = JSTaggedType(static_cast<int64_t>(std::get<LargeInt>(deopt.value))); in CollectVregs()
115 ASSERT(std::holds_alternative<IntType>(deopt.value)); in CollectVregs()
116 ASSERT(deopt.kind == LocationTy::Kind::CONSTANT); in CollectVregs()
[all …]
/arkcompiler/ets_runtime/test/aottest/deopt/
DBUILD.gn16 host_aot_test_action("deopt") {
/arkcompiler/ets_runtime/test/aottest/
DBUILD.gn83 "deopt",
/arkcompiler/ets_runtime/ecmascript/compiler/tests/
Dsatepoint_GC_0.ll70 ;call void @DoSafepoint() [ "deopt"() ]
/arkcompiler/ets_runtime/test/
Dtest_helper.gni575 _aot_compile_options_ += " --compiler-trace-deopt=true"
848 _aot_compile_options_ += " --compiler-trace-deopt=true"
919 _aot_compile_options_ += " --compiler-trace-deopt=true"
/arkcompiler/ets_runtime/ecmascript/stubs/
Druntime_stubs.cpp2356 Deoptimizier deopt(thread, depth); in DEF_RUNTIME_STUBS() local
2358 deopt.CollectDeoptBundleVec(deoptBundle); in DEF_RUNTIME_STUBS()
2361 deopt.CollectVregs(deoptBundle, shift); in DEF_RUNTIME_STUBS()
2363 deopt.UpdateAndDumpDeoptInfo(type); in DEF_RUNTIME_STUBS()
2364 return deopt.ConstructAsmInterpretFrame(); in DEF_RUNTIME_STUBS()