Home
last modified time | relevance | path

Searched refs:bcIns (Results 1 – 7 of 7) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/compiler/
Dbytecode_info_collector.cpp237 auto bcIns = BytecodeInst(insArr); in CollectMethodPcsFromBC() local
238 auto bcInsLast = bcIns.JumpTo(insSz); in CollectMethodPcsFromBC()
243 const uint8_t *curPc = bcIns.GetAddress(); in CollectMethodPcsFromBC()
247 while (bcIns.GetAddress() != bcInsLast.GetAddress()) { in CollectMethodPcsFromBC()
249 …CollectMethodInfoFromBC(bcIns, method, classNameVec, bcIndex, classConstructIndexes, &fastCallFlag… in CollectMethodPcsFromBC()
253 CollectModuleInfoFromBC(bcIns, method, recordName); in CollectMethodPcsFromBC()
254 CollectConstantPoolIndexInfoFromBC(bcIns, method, bcIndex); in CollectMethodPcsFromBC()
255 pgoBCInfo_.Record(bcIns, bcIndex, recordName, method); in CollectMethodPcsFromBC()
259 curPc = bcIns.GetAddress(); in CollectMethodPcsFromBC()
260 auto nextInst = bcIns.GetNext(); in CollectMethodPcsFromBC()
[all …]
Dpgo_bc_info.cpp62 void PGOBCInfo::Record(const BytecodeInstruction &bcIns, int32_t bcIndex, in Record() argument
65 … BytecodeInstruction::Opcode opcode = static_cast<BytecodeInstruction::Opcode>(bcIns.GetOpcode()); in Record()
67 uint32_t bcOffset = bcIns.GetAddress() - method->GetBytecodeArray(); in Record()
69 auto cpIndex = bcIns.GetId().AsRawValue(); in Record()
72 auto cpIndex = bcIns.GetId().AsRawValue(); in Record()
Dpgo_bc_info.h76 void Record(const BytecodeInstruction &bcIns, int32_t bcIndex,
Dbytecode_info_collector.h793 void CollectMethodInfoFromBC(const BytecodeInstruction &bcIns, const MethodLiteral *method,
797 void CollectModuleInfoFromBC(const BytecodeInstruction &bcIns, const MethodLiteral *method,
799 …void CollectConstantPoolIndexInfoFromBC(const BytecodeInstruction &bcIns, const MethodLiteral *met…
/arkcompiler/ets_runtime/ecmascript/debugger/
Ddropframe_manager.cpp82 auto bcIns = BytecodeInstruction(method->GetBytecodeArray()); in MethodEntry() local
83 auto bcInsLast = bcIns.JumpTo(codeSize); in MethodEntry()
84 while (bcIns.GetAddress() != bcInsLast.GetAddress()) { in MethodEntry()
85 BytecodeInstruction::Opcode op = bcIns.GetOpcode(); in MethodEntry()
89 std::pair<uint16_t, uint16_t> lexVarPos = ReadStlexvarParams(bcIns.GetAddress(), op); in MethodEntry()
112 bcIns = bcIns.GetNext(); in MethodEntry()
/arkcompiler/ets_runtime/ecmascript/jspandafile/
Dpanda_file_translator.cpp1507 auto bcIns = OldBytecodeInst(insArr); in TranslateBytecode() local
1508 auto bcInsLast = bcIns.JumpTo(insSz); in TranslateBytecode()
1510 while (bcIns.GetAddress() != bcInsLast.GetAddress()) { in TranslateBytecode()
1511 if (bcIns.HasFlag(OldBytecodeInst::Flags::STRING_ID) && in TranslateBytecode()
1512 OldBytecodeInst::HasId(OldBytecodeInst::GetFormat(bcIns.GetOpcode()), 0)) { in TranslateBytecode()
1513 auto index = jsPandaFile->GetOrInsertConstantPool(ConstPoolType::STRING, bcIns.GetId()); in TranslateBytecode()
1514 FixInstructionId32(bcIns, index); in TranslateBytecode()
1516 … OldBytecodeInst::Opcode opcode = static_cast<OldBytecodeInst::Opcode>(bcIns.GetOpcode()); in TranslateBytecode()
1521 … methodId = jsPandaFile->ResolveMethodIndex(method->GetMethodId(), bcIns.GetId()).GetOffset(); in TranslateBytecode()
1523 FixInstructionId32(bcIns, index); in TranslateBytecode()
[all …]
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/
Dpgo_profiler_info.cpp307 BytecodeInstruction bcIns(byteCodeArray); in CalcOpCodeChecksum() local
308 auto bcInsLast = bcIns.JumpTo(byteCodeLength); in CalcOpCodeChecksum()
309 while (bcIns.GetAddress() != bcInsLast.GetAddress()) { in CalcOpCodeChecksum()
310 auto opCode = bcIns.GetOpcode(); in CalcOpCodeChecksum()
312 bcIns = bcIns.GetNext(); in CalcOpCodeChecksum()