Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/compiler/
Dbytecode_circuit_builder.cpp257 EnumerateBlock(bb, [&bb](const BytecodeInfo &bytecodeInfo) -> bool { in CollectTryPredsInfo() argument
258 if (bytecodeInfo.IsGeneral()) { in CollectTryPredsInfo()
262 if (!bytecodeInfo.NoThrow()) { in CollectTryPredsInfo()
273 EnumerateBlock(bb, [&bb](const BytecodeInfo &bytecodeInfo) -> bool { in RemoveUnusedPredsInfo() argument
274 if (bytecodeInfo.IsGeneral()) { in RemoveUnusedPredsInfo()
276 if (!bytecodeInfo.NoThrow()) { in RemoveUnusedPredsInfo()
535 const BytecodeInfo& bytecodeInfo, uint32_t bcIndex) in MergeExceptionGete() argument
545 if (bytecodeInfo.GetOpcode() == EcmaOpcode::CREATEASYNCGENERATOROBJ_V8) { in MergeExceptionGete()
556 const BytecodeInfo& bytecodeInfo = iterator.GetBytecodeInfo(); in NewJSGate() local
559 size_t numValueInputs = bytecodeInfo.ComputeValueInputCount(); in NewJSGate()
[all …]
Dframe_states.cpp130 auto &bytecodeInfo = iterator.GetBytecodeInfo(); in ComputeLiveOut() local
131 if (!bb.catches.empty() && !bytecodeInfo.NoThrow()) { in ComputeLiveOut()
135 ComputeLiveOutBC(bytecodeInfo); in ComputeLiveOut()
185 void FrameStateBuilder::ComputeLiveOutBC(const BytecodeInfo &bytecodeInfo) in ComputeLiveOutBC() argument
187 if (bytecodeInfo.GetOpcode() == EcmaOpcode::RESUMEGENERATOR) { in ComputeLiveOutBC()
191 if (bytecodeInfo.AccOut()) { in ComputeLiveOutBC()
195 for (const auto &out: bytecodeInfo.vregOut) { in ComputeLiveOutBC()
201 if (bytecodeInfo.AccIn()) { in ComputeLiveOutBC()
204 for (size_t i = 0; i < bytecodeInfo.inputs.size(); i++) { in ComputeLiveOutBC()
205 auto in = bytecodeInfo.inputs[i]; in ComputeLiveOutBC()
[all …]
Dframe_states.h115 void AdvanceToNextBc(const BytecodeInfo &bytecodeInfo, FrameLiveOut* liveout, uint32_t bcId);
116 void UpdateFrameValues(const BytecodeInfo &bytecodeInfo, uint32_t bcId,
118 void UpdateMoveValues(const BytecodeInfo &bytecodeInfo, uint32_t bcId);
166 void ComputeLiveOutBC(const BytecodeInfo &bytecodeInfo);
211 void FillBcInputs(const BytecodeInfo &bytecodeInfo, uint32_t bcIndex, GateRef gate);
233 … void BindStateSplitBefore(const BytecodeInfo &bytecodeInfo, FrameLiveOut* liveout, uint32_t bcId);
234 void BindStateSplitAfter(const BytecodeInfo &bytecodeInfo, uint32_t bcId, GateRef gate);
Daot_compiler_preprocessor.cpp206 BCInfo &bytecodeInfo = collector.GetBytecodeInfo(); in GenerateGlobalTypes() local
208 const auto &methodPcInfos = bytecodeInfo.GetMethodPcInfos(); in GenerateGlobalTypes()
209 auto &methodList = bytecodeInfo.GetMethodList(); in GenerateGlobalTypes()
Dbytecode_circuit_builder.h345 auto &bytecodeInfo = iterator.GetBytecodeInfo(); in EnumerateBlock() local
346 bool ret = cb(bytecodeInfo); in EnumerateBlock()
558 void MergeExceptionGete(BytecodeRegion &bb, const BytecodeInfo& bytecodeInfo, uint32_t bcIndex);
Dts_inline_lowering.cpp134 auto &bytecodeInfo = ctx_->GetBytecodeInfo(); in TryInline() local
135 auto &methodInfo = bytecodeInfo.GetMethodList().at(methodOffset); in TryInline()
136 auto &methodPcInfos = bytecodeInfo.GetMethodPcInfos(); in TryInline()
/arkcompiler/ets_frontend/es2panda/util/
DpatchFix.cpp462 SymbolTable::OriginFunctionInfo &bytecodeInfo) in CompareLexenv() argument
465 auto &lexenv = bytecodeInfo.lexenv; in CompareLexenv()
497 SymbolTable::OriginFunctionInfo &bytecodeInfo) in CompareClassHash() argument
499 auto &classInfo = bytecodeInfo.classHash; in CompareClassHash()
554 auto &bytecodeInfo = originFunction->second; in HandleFunction() local
555 if (!CompareLexenv(funcName, pg, bytecodeInfo)) { in HandleFunction()
560 if (!CompareClassHash(hashList, bytecodeInfo)) { in HandleFunction()
577 if (funcHash == bytecodeInfo.funcHash) { in HandleFunction()
DpatchFix.h105 SymbolTable::OriginFunctionInfo &bytecodeInfo);
107 SymbolTable::OriginFunctionInfo &bytecodeInfo);
/arkcompiler/ets_runtime/ecmascript/compiler/type_inference/
Dmethod_type_infer.cpp197 auto &bytecodeInfo = GetByteCodeInfo(gate); in ShouldInfer() local
198 return !bytecodeInfo.IsJump() && !IsNewLexEnv(bytecodeInfo.GetOpcode()); in ShouldInfer()
213 auto &bytecodeInfo = GetByteCodeInfo(gate); in Infer() local
214 switch (bytecodeInfo.GetOpcode()) { in Infer()
858 auto &bytecodeInfo = GetByteCodeInfo(funcGate); in InferCallMethod() local
859 if (bytecodeInfo.GetOpcode() == EcmaOpcode::LDOBJBYNAME_IMM8_ID16 || in InferCallMethod()
860 bytecodeInfo.GetOpcode() == EcmaOpcode::LDOBJBYNAME_IMM16_ID16) { in InferCallMethod()
1283 auto &bytecodeInfo = GetByteCodeInfo(namespaceObj); in SetAndReturnNamespaceObjType() local
1284 if (!bytecodeInfo.IsBc(EcmaOpcode::CREATEEMPTYOBJECT)) { in SetAndReturnNamespaceObjType()
1316 auto &bytecodeInfo = GetByteCodeInfo(gate); in IsNamespace() local
[all …]