Home
last modified time | relevance | path

Searched refs:ecmaOpcode (Results 1 – 16 of 16) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/compiler/
Dlexical_env_specialization_pass.cpp39 EcmaOpcode ecmaOpcode = acc_.GetByteCodeOpcode(gate); in VisitGate() local
40 if (Bytecodes::IsLdLexVarOp(ecmaOpcode)) { in VisitGate()
139 EcmaOpcode ecmaOpcode = acc_.GetByteCodeOpcode(gate); in SearchStLexVar() local
140 if (Bytecodes::IsStLexVarOp(ecmaOpcode)) { in SearchStLexVar()
149 if (Bytecodes::IsCallOrAccessorOp(ecmaOpcode)) { in SearchStLexVar()
194 EcmaOpcode ecmaOpcode = acc_.GetByteCodeOpcode(curEnv); in caclulateDistanceToTarget() local
195 if (ecmaOpcode != EcmaOpcode::POPLEXENV) { in caclulateDistanceToTarget()
231 EcmaOpcode ecmaOpcode = acc_.GetByteCodeOpcode(current); in LookUpNotDomStLexVarOrCall() local
232 if (Bytecodes::IsStLexVarOp(ecmaOpcode)) { in LookUpNotDomStLexVarOrCall()
241 if (Bytecodes::IsCallOrAccessorOp(ecmaOpcode)) { in LookUpNotDomStLexVarOrCall()
[all …]
Dntype_bytecode_lowering.cpp49 EcmaOpcode ecmaOpcode = acc_.GetByteCodeOpcode(gate); in Lower() local
52 switch (ecmaOpcode) { in Lower()
224 EcmaOpcode ecmaOpcode = acc_.GetByteCodeOpcode(gate); in AddProfiling() local
225 auto ecmaOpcodeGate = builder_.Int32(static_cast<uint32_t>(ecmaOpcode)); in AddProfiling()
247 EcmaOpcode ecmaOpcode = acc_.GetByteCodeOpcode(gate); in AddProfiling() local
248 auto ecmaOpcodeGate = builder_.Int32(static_cast<uint32_t>(ecmaOpcode)); in AddProfiling()
Dtype_info_accessors.cpp49 EcmaOpcode ecmaOpcode = acc.GetByteCodeOpcode(gate); in IsTrustedType() local
50 switch (ecmaOpcode) { in IsTrustedType()
83 EcmaOpcode ecmaOpcode = acc.GetByteCodeOpcode(gate); in IsTrustedStringType() local
84 switch (ecmaOpcode) { in IsTrustedStringType()
484 EcmaOpcode ecmaOpcode = acc_.GetByteCodeOpcode(gate); in StoreObjByNameTypeInfoAccessor() local
485 switch (ecmaOpcode) { in StoreObjByNameTypeInfoAccessor()
639 EcmaOpcode ecmaOpcode = acc_.GetByteCodeOpcode(gate); in LoadBulitinObjTypeInfoAccessor() local
640 switch (ecmaOpcode) { in LoadBulitinObjTypeInfoAccessor()
719 EcmaOpcode ecmaOpcode = acc_.GetByteCodeOpcode(gate); in StoreBulitinObjTypeInfoAccessor() local
720 switch (ecmaOpcode) { in StoreBulitinObjTypeInfoAccessor()
Dnative_inline_lowering.cpp30 EcmaOpcode ecmaOpcode = acc_.GetByteCodeOpcode(gate); in RunNativeInlineLowering() local
31 switch (ecmaOpcode) { in RunNativeInlineLowering()
100 EcmaOpcode ecmaOpcode = acc_.GetByteCodeOpcode(gate); in RunArrayForeachInline() local
101 if (ecmaOpcode == EcmaOpcode::CALLTHIS2_IMM8_V8_V8_V8) { in RunArrayForeachInline()
Dts_inline_lowering.cpp75 EcmaOpcode ecmaOpcode = acc_.GetByteCodeOpcode(gate); in CandidateInlineCall() local
76 switch (ecmaOpcode) { in CandidateInlineCall()
195 auto ecmaOpcode = ctx_->GetByteCodes()->GetOpcode(pc); in FilterInlinedMethod() local
196 switch (ecmaOpcode) { in FilterInlinedMethod()
687 EcmaOpcode ecmaOpcode = acc_.GetByteCodeOpcode(gate); in GetAccessorReceiver() local
688 if (UNLIKELY(ecmaOpcode == EcmaOpcode::STTHISBYNAME_IMM8_ID16 || in GetAccessorReceiver()
689 ecmaOpcode == EcmaOpcode::STTHISBYNAME_IMM16_ID16)) { in GetAccessorReceiver()
697 EcmaOpcode ecmaOpcode = acc_.GetByteCodeOpcode(gate); in GetCallSetterValue() local
698 if (ecmaOpcode == EcmaOpcode::STTHISBYNAME_IMM8_ID16 || in GetCallSetterValue()
699 ecmaOpcode == EcmaOpcode::STTHISBYNAME_IMM16_ID16) { in GetCallSetterValue()
Dtype_recorder.cpp104 EcmaOpcode ecmaOpcode = bytecodes_->GetOpcode(pcOffsets_[bcIdx]); in CollectLiteralGT() local
106 switch (ecmaOpcode) { in CollectLiteralGT()
161 EcmaOpcode ecmaOpcode = bytecodes_->GetOpcode(pcOffsets_[bcIdx]); in CreateTypesForPGO() local
162 if (jsPandaFile->HasTSTypes(recordName) && Bytecodes::IsCallOp(ecmaOpcode)) { in CreateTypesForPGO()
Dts_hcr_opt_pass.cpp106 EcmaOpcode ecmaOpcode = acc_.GetByteCodeOpcode(gate); in IsNotLoadStrOrStringLoadElement() local
107 return ecmaOpcode != EcmaOpcode::LDA_STR_ID16; in IsNotLoadStrOrStringLoadElement()
Dcompiler_log.cpp251 EcmaOpcode ecmaOpcode = acc_.GetByteCodeOpcode(gate); in CollectGateTypeLogInfo() local
252 log_ += "bytecode: " + GetEcmaOpcodeStr(ecmaOpcode); in CollectGateTypeLogInfo()
Dasync_function_lowering.cpp62 EcmaOpcode ecmaOpcode = accessor_.GetByteCodeOpcode(gate); in ProcessJumpTable() local
63 if (ecmaOpcode == EcmaOpcode::RESUMEGENERATOR) { in ProcessJumpTable()
Dbytecodes.h763 bool IsBc(EcmaOpcode ecmaOpcode) const in IsBc() argument
765 return metaData_.GetOpcode() == ecmaOpcode; in IsBc()
Dtyped_bytecode_lowering.cpp90 EcmaOpcode ecmaOpcode = acc_.GetByteCodeOpcode(gate); in Lower() local
93 AddBytecodeCount(ecmaOpcode); in Lower()
94 switch (ecmaOpcode) { in Lower()
289 DeleteBytecodeCount(ecmaOpcode); in Lower()
1723 EcmaOpcode ecmaOpcode = acc_.GetByteCodeOpcode(gate); in AddProfiling() local
1724 auto ecmaOpcodeGate = builder_.Int32(static_cast<uint32_t>(ecmaOpcode)); in AddProfiling()
1747 EcmaOpcode ecmaOpcode = acc_.GetByteCodeOpcode(gate); in AddProfiling() local
1748 auto ecmaOpcodeGate = builder_.Int32(static_cast<uint32_t>(ecmaOpcode)); in AddProfiling()
Dslowpath_lowering.cpp214 EcmaOpcode ecmaOpcode = acc_.GetByteCodeOpcode(gate); in Lower() local
218 switch (ecmaOpcode) { in Lower()
2704 EcmaOpcode ecmaOpcode = acc_.GetByteCodeOpcode(gate); in AddProfiling() local
2705 …if ((ecmaOpcode == EcmaOpcode::SUSPENDGENERATOR_V8 || ecmaOpcode == EcmaOpcode::RESUMEGENERATOR) && in AddProfiling()
2709 auto ecmaOpcodeGate = builder_.Int32(static_cast<uint32_t>(ecmaOpcode)); in AddProfiling()
2718 EcmaOpcode ecmaOpcode = acc_.GetByteCodeOpcode(gate); in AddProfiling() local
2719 …if ((ecmaOpcode == EcmaOpcode::SUSPENDGENERATOR_V8 || ecmaOpcode == EcmaOpcode::RESUMEGENERATOR) && in AddProfiling()
2727 auto ecmaOpcodeGate = builder_.Int32(static_cast<uint32_t>(ecmaOpcode)); in AddProfiling()
Dgate_accessor.cpp1837 EcmaOpcode ecmaOpcode = GetByteCodeOpcode(gate); in IsConstString() local
1838 return ecmaOpcode == EcmaOpcode::LDA_STR_ID16; in IsConstString()
/arkcompiler/ets_runtime/ecmascript/compiler/type_inference/
Dinitialization_analysis.cpp45 EcmaOpcode ecmaOpcode = acc_.GetByteCodeOpcode(gate); in Analyse() local
46 switch (ecmaOpcode) { in Analyse()
135 EcmaOpcode ecmaOpcode = acc_.GetByteCodeOpcode(gate); in IsThisFromSuperCall() local
136 switch (ecmaOpcode) { in IsThisFromSuperCall()
183 EcmaOpcode ecmaOpcode = acc_.GetByteCodeOpcode(gate); in CheckSimpleJSGate() local
184 switch (ecmaOpcode) { in CheckSimpleJSGate()
287 EcmaOpcode ecmaOpcode = acc_.GetByteCodeOpcode(gate); in HasEscapedThis() local
288 switch (ecmaOpcode) { in HasEscapedThis()
Dpgo_type_infer.cpp40 EcmaOpcode ecmaOpcode = acc_.GetByteCodeOpcode(gate); in RunTypeInfer() local
41 switch (ecmaOpcode) { in RunTypeInfer()
198 EcmaOpcode ecmaOpcode = acc_.GetByteCodeOpcode(gate); in InferAccessObjByValue() local
199 switch (ecmaOpcode) { in InferAccessObjByValue()
/arkcompiler/ets_runtime/ecmascript/stubs/
Druntime_stubs.cpp2480 int ecmaOpcode = GetArg(argv, argc, 0).GetInt(); in DEF_RUNTIME_STUBS() local
2485 std::string opcode = kungfu::GetEcmaOpcodeStr(static_cast<EcmaOpcode>(ecmaOpcode)); in DEF_RUNTIME_STUBS()
2495 EcmaOpcode ecmaOpcode = static_cast<EcmaOpcode>(GetArg(argv, argc, 2).GetInt()); in DEF_RUNTIME_STUBS() local
2498 profiler->Update(func, bcIndex, ecmaOpcode, mode); in DEF_RUNTIME_STUBS()