/arkcompiler/ets_runtime/ecmascript/deoptimizer/ |
H A D | deoptimizer.cpp | 124 size_t curDepth = DecodeDeoptDepth(id, shift); in CollectVregs() local 127 deoptVregs_.insert({{curDepth, vregId}, JSHandle<JSTaggedValue>(thread_, JSTaggedValue(v))}); in CollectVregs() 129 pc_.insert({curDepth, static_cast<size_t>(v)}); in CollectVregs() 342 size_t curDepth) in CollectVirtualRegisters() 346 if (curDepth == 0) { in CollectVirtualRegisters() 347 actualNumArgs = static_cast<int32_t>(GetDeoptValue(curDepth, in CollectVirtualRegisters() 375 if (HasDeoptValue(curDepth, virtualIndex)) { in CollectVirtualRegisters() 376 value = GetDeoptValue(curDepth, virtualIndex); in CollectVirtualRegisters() 385 {curDepth, static_cast<OffsetType>(SpecVregIndex::THIS_OBJECT_INDEX)}).GetTaggedValue(); in CollectVirtualRegisters() 391 {curDepth, static_cas in CollectVirtualRegisters() 341 CollectVirtualRegisters(JSTaggedValue callTarget, Method *method, FrameWriter *frameWriter, size_t curDepth) CollectVirtualRegisters() argument 609 GetCallSize(size_t curDepth, const uint8_t *resumePc) GetCallSize() argument [all...] |
H A D | deoptimizer.h | 159 bool CollectVirtualRegisters(JSTaggedValue callTarget, Method *method, FrameWriter *frameWriter, size_t curDepth); 160 bool HasDeoptValue(size_t curDepth, int32_t index) const 162 ASSERT(curDepth <= inlineDepth_); 163 return deoptVregs_.find({curDepth, static_cast<OffsetType>(index)}) != deoptVregs_.end(); 165 JSTaggedValue GetDeoptValue(size_t curDepth, int32_t index) const 167 ASSERT(curDepth <= inlineDepth_); 168 if (!HasDeoptValue(curDepth, index)) { 171 return deoptVregs_.at({curDepth, static_cast<OffsetType>(index)}).GetTaggedValue(); 176 size_t GetCallSize(size_t curDepth, const uint8_t *resumePc);
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/llvm/ |
H A D | llvm_ir_builder.cpp | 938 for (int32_t curDepth = static_cast<int32_t>(maxDepth - 1); curDepth >= 0; curDepth--) { in CollectExraCallSiteInfo() 946 int32_t specCallTargetIndex = static_cast<int32_t>(SpecVregIndex::FIRST_METHOD_OFFSET_INDEX) - curDepth; in CollectExraCallSiteInfo() 947 int32_t encodeIndex = Deoptimizier::EncodeDeoptVregIndex(specCallTargetIndex, curDepth, shift); in CollectExraCallSiteInfo() 2858 void LLVMIRBuilder::SaveDeoptVregInfo(std::vector<LLVMValueRef> &values, int32_t index, size_t curDepth, size_t shift, in SaveDeoptVregInfo() argument 2861 int32_t encodeIndex = Deoptimizier::EncodeDeoptVregIndex(index, curDepth, shift); in SaveDeoptVregInfo() 2866 void LLVMIRBuilder::SaveDeoptVregInfoWithI64(std::vector<LLVMValueRef> &values, int32_t index, size_t curDepth, in SaveDeoptVregInfoWithI64() argument 2870 int32_t encodeIndex = Deoptimizier::EncodeDeoptVregIndex(index, curDepth, shift); in SaveDeoptVregInfoWithI64() 2894 for (int32_t curDepth in VisitDeoptCheck() [all...] |
H A D | llvm_ir_builder.h | 444 void SaveDeoptVregInfo(std::vector<LLVMValueRef> &values, int32_t index, size_t curDepth, size_t shift, 446 void SaveDeoptVregInfoWithI64(std::vector<LLVMValueRef> &values, int32_t index, size_t curDepth, size_t shift,
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/ |
H A D | litecg_ir_builder.cpp | 1627 for (int32_t curDepth = static_cast<int32_t>(maxDepth - 1); curDepth >= 0; curDepth--) { in CollectExraCallSiteInfo() 1635 int32_t specCallTargetIndex = static_cast<int32_t>(SpecVregIndex::FIRST_METHOD_OFFSET_INDEX) - curDepth; in CollectExraCallSiteInfo() 1636 int32_t encodeIndex = Deoptimizier::EncodeDeoptVregIndex(specCallTargetIndex, curDepth, shift); in CollectExraCallSiteInfo() 2900 size_t curDepth, size_t shift, GateRef gate) in SaveDeoptVregInfo() 2902 int32_t encodeIndex = Deoptimizier::EncodeDeoptVregIndex(index, curDepth, shift); in SaveDeoptVregInfo() 2910 int32_t index, size_t curDepth, size_t shift, GateRef gate) in SaveDeoptVregInfoWithI64() 2912 int32_t encodeIndex = Deoptimizier::EncodeDeoptVregIndex(index, curDepth, shift); in SaveDeoptVregInfoWithI64() 2948 for (int32_t curDepth in VisitDeoptCheck() 2899 SaveDeoptVregInfo(std::unordered_map<int, LiteCGValue> &deoptBundleInfo, BB &bb, int32_t index, size_t curDepth, size_t shift, GateRef gate) SaveDeoptVregInfo() argument 2909 SaveDeoptVregInfoWithI64(std::unordered_map<int, LiteCGValue> &deoptBundleInfo, BB &bb, int32_t index, size_t curDepth, size_t shift, GateRef gate) SaveDeoptVregInfoWithI64() argument [all...] |
H A D | litecg_ir_builder.h | 200 int32_t index, size_t curDepth, size_t shift, GateRef gate); 202 maple::litecg::BB &bb, int32_t index, size_t curDepth, size_t shift, GateRef gate);
|