Home
last modified time | relevance | path

Searched refs:frameArgs (Results 1 - 13 of 13) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dargument_accessor.cpp136 GateRef frameArgs = Circuit::NullGate(); in GetFrameArgsIn() local
141 frameArgs = gateAcc.GetValueIn(frameState, 0); // 0: frame args in GetFrameArgsIn()
144 frameArgs = frameState; in GetFrameArgsIn()
147 frameArgs = gateAcc.GetValueIn(gate, 0); // 0: frame args in GetFrameArgsIn()
149 return gateAcc.GetValueIn(frameArgs, static_cast<size_t>(idx)); in GetFrameArgsIn()
H A Dts_inline_lowering.cpp136 GateRef frameArgs = acc_.GetValueIn(frameState); in TryInline() local
137 size_t inlineCallCounts = GetOrInitialInlineCounts(frameArgs); in TryInline()
151 UpdateInlineCounts(frameArgs, inlineCallCounts); in TryInline()
509 GateRef frameArgs = GetFrameArgs(info); in LowerToInlineCall() local
510 GateRef callerFunc = acc_.GetValueIn(frameArgs, 0); in LowerToInlineCall()
589 GateRef frameArgs = acc_.GetFrameArgs(preFrameState); in BuildFrameStateChain() local
590 builder.SetPreFrameArgs(frameArgs); in BuildFrameStateChain()
628 size_t TSInlineLowering::GetOrInitialInlineCounts(GateRef frameArgs) in GetOrInitialInlineCounts() argument
630 auto it = inlinedCallMap_.find(frameArgs); in GetOrInitialInlineCounts()
632 inlinedCallMap_[frameArgs] in GetOrInitialInlineCounts()
644 GateRef frameArgs = GetFrameArgs(info); IsRecursiveFunc() local
718 GateRef frameArgs = GetFrameArgs(info); SetInitCallTargetAndConstPoolId() local
[all...]
H A Dargument_accessor.h98 void SetFrameArgs(GateRef frameArgs) in SetFrameArgs() argument
100 frameArgs_ = frameArgs; in SetFrameArgs()
H A Dts_inline_lowering.h95 void UpdateInlineCounts(GateRef frameArgs, size_t inlineCallCounts) in UpdateInlineCounts() argument
97 inlinedCallMap_[frameArgs] = ++inlineCallCounts; in UpdateInlineCounts()
126 size_t GetOrInitialInlineCounts(GateRef frameArgs);
H A Dbytecode_circuit_builder.h561 GateRef frameArgs = preFrameArgs_; in GetCurrentConstpool() local
565 while (gateAcc_.GetOpCode(frameArgs) != OpCode::CIRCUIT_ROOT) { in GetCurrentConstpool()
566 preSharedConstPool = gateAcc_.GetValueIn(frameArgs, static_cast<size_t>(FrameArgIdx::SHARED_CONST_POOL)); in GetCurrentConstpool()
568 gateAcc_.GetValueIn(frameArgs, static_cast<size_t>(FrameArgIdx::UNSHARED_CONST_POOL)); in GetCurrentConstpool()
575 frameArgs = gateAcc_.GetFrameState(frameArgs); in GetCurrentConstpool()
H A Dframe_states.cpp428 GateRef frameArgs = bcBuilder_->GetFrameArgs(); in InitEntryBB() local
430 GateRef jsFunc = acc_.GetValueIn(frameArgs, static_cast<size_t>(FrameArgIdx::FUNC)); in InitEntryBB()
1416 GateRef frameArgs = bcBuilder_->GetFrameArgs(); in BuildFrameState() local
1421 {frameArgs, gateValues, preFrameState}); in BuildFrameState()
H A Dcircuit_builder.cpp466 GateRef frameArgs = acc_.GetFrameArgs(hirGate); in AppendFrameArgs() local
467 if (frameArgs == Circuit::NullGate()) { in AppendFrameArgs()
470 args.emplace_back(frameArgs); in AppendFrameArgs()
H A Dbytecode_circuit_builder.cpp628 GateRef frameArgs = circuit_->NewGate(metaData, args); in BuildFrameArgs() local
629 argAcc_.SetFrameArgs(frameArgs); in BuildFrameArgs()
H A Dnative_inline_lowering.cpp410 GateRef frameArgs = acc_.GetValueIn(frameState); in AddTraceLogs() local
411 GateRef callerFunc = acc_.GetValueIn(frameArgs, 0); in AddTraceLogs()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/llvm/
H A Dllvm_ir_builder.cpp656 GateRef frameArgs = Circuit::NullGate(); in VisitRuntimeCall() local
657 ComputeArgCountAndExtraInfo(actualNumArgs, pcOffset, frameArgs, inList, kind); in VisitRuntimeCall()
677 CollectExraCallSiteInfo(values, pcOffset, frameArgs); in VisitRuntimeCall()
858 void LLVMIRBuilder::ComputeArgCountAndExtraInfo(size_t &actualNumArgs, LLVMValueRef &pcOffset, GateRef &frameArgs, in ComputeArgCountAndExtraInfo() argument
862 actualNumArgs = inList.size() - 2; // 2: pcOffset and frameArgs in ComputeArgCountAndExtraInfo()
864 frameArgs = inList.at(actualNumArgs); in ComputeArgCountAndExtraInfo()
913 GateRef frameArgs) in CollectExraCallSiteInfo()
924 if (frameArgs == Circuit::NullGate()) { in CollectExraCallSiteInfo()
927 if (acc_.GetOpCode(frameArgs) != OpCode::FRAME_ARGS) { in CollectExraCallSiteInfo()
930 uint32_t maxDepth = acc_.GetFrameDepth(frameArgs, OpCod in CollectExraCallSiteInfo()
912 CollectExraCallSiteInfo(std::vector<LLVMValueRef> &values, LLVMValueRef pcOffset, GateRef frameArgs) CollectExraCallSiteInfo() argument
1038 GateRef frameArgs = Circuit::NullGate(); VisitCall() local
[all...]
H A Dllvm_ir_builder.h427 void ComputeArgCountAndExtraInfo(size_t &actualNumArgs, LLVMValueRef &pcOffset, GateRef &frameArgs,
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/
H A Dlitecg_ir_builder.cpp1330 size_t actualNumArgs = hasPCOffset ? (inList.size() - 2) : inList.size(); // 2: pcOffset and frameArgs in VisitRuntimeCall()
1363 auto frameArgs = inList.at(actualNumArgs); in VisitRuntimeCall() local
1366 CollectExraCallSiteInfo(deoptBundleInfo, pcOffset, frameArgs); in VisitRuntimeCall()
1559 size_t actualNumArgs = hasPCOffset ? (inList.size() - 2) : inList.size(); // 2: pcOffset and frameArgs in VisitCall()
1587 auto frameArgs = inList.at(actualNumArgs); in VisitCall() local
1590 CollectExraCallSiteInfo(deoptBundleInfo, pcOffset, frameArgs); in VisitCall()
1601 maple::litecg::Expr pcOffset, GateRef frameArgs) in CollectExraCallSiteInfo()
1613 if (frameArgs == Circuit::NullGate()) { in CollectExraCallSiteInfo()
1616 if (acc_.GetOpCode(frameArgs) != OpCode::FRAME_ARGS) { in CollectExraCallSiteInfo()
1619 uint32_t maxDepth = acc_.GetFrameDepth(frameArgs, OpCod in CollectExraCallSiteInfo()
1600 CollectExraCallSiteInfo(std::unordered_map<int, maple::litecg::LiteCGValue> &deoptBundleInfo, maple::litecg::Expr pcOffset, GateRef frameArgs) CollectExraCallSiteInfo() argument
[all...]
H A Dlitecg_ir_builder.h206 maple::litecg::Expr pcOffset, GateRef frameArgs);

Completed in 25 milliseconds