Searched refs:bcIns (Results 1 – 7 of 7) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | bytecode_info_collector.cpp | 237 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 …]
|
D | pgo_bc_info.cpp | 62 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()
|
D | pgo_bc_info.h | 76 void Record(const BytecodeInstruction &bcIns, int32_t bcIndex,
|
D | bytecode_info_collector.h | 793 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/ |
D | dropframe_manager.cpp | 82 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/ |
D | panda_file_translator.cpp | 1507 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/ |
D | pgo_profiler_info.cpp | 307 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()
|