/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | bytecode_circuit_builder.cpp | 391 EnumerateBlock(bb, [&noThrow](const BytecodeInfo &bytecodeInfo) -> bool { in BuildCatchBlocks() 392 if (bytecodeInfo.IsGeneral()) { in BuildCatchBlocks() 393 if (!bytecodeInfo.NoThrow()) { in BuildCatchBlocks() 438 EnumerateBlock(bb, [&bb](const BytecodeInfo &bytecodeInfo) -> bool { in CollectTryPredsInfo() 439 if (bytecodeInfo.IsGeneral()) { in CollectTryPredsInfo() 443 if (!bytecodeInfo.NoThrow()) { in CollectTryPredsInfo() 454 EnumerateBlock(bb, [&bb](const BytecodeInfo &bytecodeInfo) -> bool { in RemoveUnusedPredsInfo() 455 if (bytecodeInfo.IsGeneral()) { in RemoveUnusedPredsInfo() 457 if (!bytecodeInfo.NoThrow()) { in RemoveUnusedPredsInfo() 555 EnumerateBlock(bb, [&bb](const BytecodeInfo &bytecodeInfo) in ComputeNumOfLoopBack() 807 MergeExceptionGete(BytecodeRegion &bb, const BytecodeInfo& bytecodeInfo, uint32_t bcIndex) MergeExceptionGete() argument 831 const BytecodeInfo& bytecodeInfo = iterator.GetBytecodeInfo(); NewJSGate() local 874 const BytecodeInfo& bytecodeInfo = iterator.GetBytecodeInfo(); NewJump() local 923 const BytecodeInfo& bytecodeInfo = iterator.GetBytecodeInfo(); NewReturn() local 949 const BytecodeInfo& bytecodeInfo = iterator.GetBytecodeInfo(); NewByteCode() local 1023 const BytecodeInfo& bytecodeInfo = GetBytecodeInfo(bb.end); BuildSubCircuit() local 1111 const BytecodeInfo &bytecodeInfo = GetBytecodeInfo(osrLoopBodyBB.end); HandleOsrLoopBody() local [all...] |
H A D | frame_states.cpp | 129 auto &bytecodeInfo = iterator.GetBytecodeInfo(); in ComputeLiveOut() local 130 if (!bb.catches.empty() && !bytecodeInfo.NoThrow()) { in ComputeLiveOut() 134 ComputeLiveOutBC(bytecodeInfo); in ComputeLiveOut() 184 void FrameStateBuilder::ComputeLiveOutBC(const BytecodeInfo &bytecodeInfo) in ComputeLiveOutBC() argument 186 if (bytecodeInfo.GetOpcode() == EcmaOpcode::RESUMEGENERATOR) { in ComputeLiveOutBC() 190 if (bytecodeInfo.AccOut()) { in ComputeLiveOutBC() 194 for (const auto &out: bytecodeInfo.vregOut) { in ComputeLiveOutBC() 200 if (bytecodeInfo.AccIn()) { in ComputeLiveOutBC() 203 for (size_t i = 0; i < bytecodeInfo.inputs.size(); i++) { in ComputeLiveOutBC() 204 auto in = bytecodeInfo in ComputeLiveOutBC() 256 FillBcInputs(const BytecodeInfo &bytecodeInfo, GateRef gate) FillBcInputs() argument 284 AdvanceToNextBc(const BytecodeInfo &bytecodeInfo, FrameLiveOut* liveout, uint32_t bcId) AdvanceToNextBc() argument 316 UpdateMoveValues(const BytecodeInfo &bytecodeInfo) UpdateMoveValues() argument 334 UpdateFrameValues(const BytecodeInfo &bytecodeInfo, uint32_t bcId, GateRef gate) UpdateFrameValues() argument 1435 BindStateSplitBefore(const BytecodeInfo &bytecodeInfo, FrameLiveOut* liveout, uint32_t bcId) BindStateSplitBefore() argument 1446 BindStateSplitAfter(const BytecodeInfo &bytecodeInfo, uint32_t bcId, GateRef gate) BindStateSplitAfter() argument [all...] |
H A D | frame_states.h | 126 void AdvanceToNextBc(const BytecodeInfo &bytecodeInfo, FrameLiveOut* liveout, uint32_t bcId); 127 void UpdateFrameValues(const BytecodeInfo &bytecodeInfo, uint32_t bcId, 129 void UpdateMoveValues(const BytecodeInfo &bytecodeInfo); 194 void ComputeLiveOutBC(const BytecodeInfo &bytecodeInfo); 238 void FillBcInputs(const BytecodeInfo &bytecodeInfo, GateRef gate); 266 void BindStateSplitBefore(const BytecodeInfo &bytecodeInfo, FrameLiveOut* liveout, uint32_t bcId); 267 void BindStateSplitAfter(const BytecodeInfo &bytecodeInfo, uint32_t bcId, GateRef gate);
|
H A D | aot_compiler_preprocessor.cpp | 208 auto &bytecodeInfo = collector.GetBytecodeInfo(); in AnalyzeGraphs() local 209 auto &methodPcInfos = bytecodeInfo.GetMethodPcInfos(); in AnalyzeGraphs() 210 for (auto &[methodId, methodInfo] : bytecodeInfo.GetMethodList()) { in AnalyzeGraphs() 214 AnalyzeGraph(bytecodeInfo, cOptions, collector, methodLiteral, methodPcInfo); in AnalyzeGraphs() 219 void AotCompilerPreprocessor::AnalyzeGraph(BCInfo &bytecodeInfo, CompilationOptions &cOptions, in AnalyzeGraph() argument 248 fullName, bytecodeInfo.GetRecordNameWithIndex(0), decoder, false); in AnalyzeGraph() 419 bool AotCompilerPreprocessor::IsSkipMethod(const JSPandaFile *jsPandaFile, const BCInfo &bytecodeInfo, in IsSkipMethod() argument 424 if (methodPCInfo.methodsSize > bytecodeInfo.GetMaxMethodSize() || in IsSkipMethod() 452 BCInfo &bytecodeInfo = collector.GetBytecodeInfo(); in GenerateMethodMap() local 453 const auto &methodPcInfos = bytecodeInfo in GenerateMethodMap() [all...] |
H A D | aot_compiler_preprocessor.h | 123 void AnalyzeGraph(BCInfo &bytecodeInfo, CompilationOptions &cOptions, BytecodeInfoCollector &collector, 141 bool IsSkipMethod(const JSPandaFile *jsPandaFile, const BCInfo &bytecodeInfo,
|
H A D | bytecode_circuit_builder.h | 346 auto &bytecodeInfo = iterator.GetBytecodeInfo(); 347 bool ret = cb(bytecodeInfo); 662 void MergeExceptionGete(BytecodeRegion &bb, const BytecodeInfo& bytecodeInfo, uint32_t bcIndex);
|
H A D | ts_inline_lowering.cpp | 124 auto &bytecodeInfo = ctx_->GetBytecodeInfo(); in TryInline() local 128 ASSERT(bytecodeInfo.GetMethodList().find(methodOffset) != bytecodeInfo.GetMethodList().end()); in TryInline() 129 auto &methodInfo = bytecodeInfo.GetMethodList().at(methodOffset); in TryInline() 130 auto &methodPcInfos = bytecodeInfo.GetMethodPcInfos(); in TryInline()
|
/arkcompiler/ets_frontend/es2panda/util/ |
H A D | patchFix.cpp | 484 SymbolTable::OriginFunctionInfo &bytecodeInfo) in CompareLexenv() 487 auto &lexenv = bytecodeInfo.lexenv; in CompareLexenv() 519 SymbolTable::OriginFunctionInfo &bytecodeInfo) in CompareClassHash() 521 auto &classInfo = bytecodeInfo.classHash; in CompareClassHash() 584 auto &bytecodeInfo = originFunction->second; in HandleFunction() local 585 if (!CompareLexenv(funcName, pg, bytecodeInfo)) { in HandleFunction() 590 if (!CompareClassHash(hashList, bytecodeInfo)) { in HandleFunction() 607 if (funcHash == bytecodeInfo.funcHash) { in HandleFunction() 483 CompareLexenv(const std::string &funcName, const compiler::PandaGen *pg, SymbolTable::OriginFunctionInfo &bytecodeInfo) CompareLexenv() argument 518 CompareClassHash(std::vector<std::pair<std::string, std::string>> &hashList, SymbolTable::OriginFunctionInfo &bytecodeInfo) CompareClassHash() argument
|
H A D | patchFix.h | 108 SymbolTable::OriginFunctionInfo &bytecodeInfo); 110 SymbolTable::OriginFunctionInfo &bytecodeInfo);
|