Home
last modified time | relevance | path

Searched refs:bytecodeInfo (Results 1 – 8 of 8) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/compiler/
Dframe_states.cpp274 auto &bytecodeInfo = iterator.GetBytecodeInfo(); in ComputeLiveOut() local
275 ComputeLiveOutBC(iterator.Index(), bytecodeInfo, bbId); in ComputeLiveOut()
340 void FrameStateBuilder::ComputeLiveOutBC(uint32_t index, const BytecodeInfo &bytecodeInfo, size_t b… in ComputeLiveOutBC() argument
342 if (bytecodeInfo.IsMov()) { in ComputeLiveOutBC()
345 if (bytecodeInfo.AccOut()) { in ComputeLiveOutBC()
348 } else if (bytecodeInfo.vregOut.size() != 0) { in ComputeLiveOutBC()
349 auto out = bytecodeInfo.vregOut[0]; in ComputeLiveOutBC()
355 if (bytecodeInfo.AccIn()) { in ComputeLiveOutBC()
360 } else if (bytecodeInfo.inputs.size() != 0) { in ComputeLiveOutBC()
361 auto vreg = std::get<VirtualRegister>(bytecodeInfo.inputs.at(0)).GetId(); in ComputeLiveOutBC()
[all …]
Dbytecode_circuit_builder.cpp407 (const BytecodeInfo &bytecodeInfo) -> bool { in InsertPhi() argument
408 if (bytecodeInfo.IsBc(EcmaOpcode::RESUMEGENERATOR)) { in InsertPhi()
414 for (const auto &vreg: bytecodeInfo.vregOut) { in InsertPhi()
460 (const BytecodeInfo &bytecodeInfo) -> bool { in InsertExceptionPhi() argument
461 if (bytecodeInfo.IsBc(EcmaOpcode::RESUMEGENERATOR)) { in InsertExceptionPhi()
468 for (const auto &vreg: bytecodeInfo.vregOut) { in InsertExceptionPhi()
595 (const BytecodeInfo &bytecodeInfo) -> bool { in CollectPredsInfo() argument
596 if (bytecodeInfo.IsGeneral()) { in CollectPredsInfo()
597 if (!bb.catchs.empty() && !bytecodeInfo.NoThrow()) { in CollectPredsInfo()
602 if (bytecodeInfo.IsCondJump() && bb.succs.size() == 1) { in CollectPredsInfo()
[all …]
Dframe_states.h115 void ComputeLiveOutBC(uint32_t index, const BytecodeInfo &bytecodeInfo, size_t bbId);
116 bool IsAsyncResolveOrSusp(const BytecodeInfo &bytecodeInfo);
160 void BuildFrameState(BytecodeRegion& bb, const BytecodeInfo &bytecodeInfo, size_t index);
Dts_inline_lowering.cpp99 auto &bytecodeInfo = ctx_->GetBytecodeInfo(); in TryInline() local
100 auto &methodInfo = bytecodeInfo.GetMethodList().at(methodOffset); in TryInline()
101 auto &methodPcInfos = bytecodeInfo.GetMethodPcInfos(); in TryInline()
Dbytecode_circuit_builder.h387 auto &bytecodeInfo = iterator.GetBytecodeInfo(); in EnumerateBlock() local
388 bool ret = cb(bytecodeInfo); in EnumerateBlock()
/arkcompiler/ets_frontend/es2panda/util/
DpatchFix.cpp455 SymbolTable::OriginFunctionInfo &bytecodeInfo) in CompareLexenv() argument
458 auto &lexenv = bytecodeInfo.lexenv; in CompareLexenv()
490 SymbolTable::OriginFunctionInfo &bytecodeInfo) in CompareClassHash() argument
492 auto &classInfo = bytecodeInfo.classHash; in CompareClassHash()
552 auto &bytecodeInfo = originFunction->second; in HandleFunction() local
553 if (!CompareLexenv(funcName, pg, bytecodeInfo)) { in HandleFunction()
558 if (!CompareClassHash(hashList, bytecodeInfo)) { in HandleFunction()
575 if (funcHash == bytecodeInfo.funcHash) { in HandleFunction()
DpatchFix.h104 SymbolTable::OriginFunctionInfo &bytecodeInfo);
106 SymbolTable::OriginFunctionInfo &bytecodeInfo);
/arkcompiler/ets_runtime/ecmascript/compiler/type_inference/
Dmethod_type_infer.cpp189 auto &bytecodeInfo = GetByteCodeInfo(gate); in ShouldInfer() local
190 return !bytecodeInfo.IsJump() && !IsNewLexEnv(bytecodeInfo.GetOpcode()); in ShouldInfer()
205 auto &bytecodeInfo = GetByteCodeInfo(gate); in Infer() local
206 switch (bytecodeInfo.GetOpcode()) { in Infer()
810 auto &bytecodeInfo = GetByteCodeInfo(funcGate); in InferCallMethod() local
811 if (bytecodeInfo.GetOpcode() == EcmaOpcode::LDOBJBYNAME_IMM8_ID16 || in InferCallMethod()
812 bytecodeInfo.GetOpcode() == EcmaOpcode::LDOBJBYNAME_IMM16_ID16) { in InferCallMethod()
1227 auto &bytecodeInfo = GetByteCodeInfo(namespaceObj); in SetAndReturnNamespaceObjType() local
1228 if (!bytecodeInfo.IsBc(EcmaOpcode::CREATEEMPTYOBJECT)) { in SetAndReturnNamespaceObjType()
1260 auto &bytecodeInfo = GetByteCodeInfo(gate); in IsNamespace() local
[all …]