Searched refs:opcode (Results 1 – 12 of 12) sorted by relevance
28 Opcode opcode = Opcode(bytecode & 0xff); in OpcodeFromBytecode() local29 return opcode; in OpcodeFromBytecode()48 InstructionIndexType GetIndexTypeFromOpcode(Opcode opcode) { in GetIndexTypeFromOpcode() argument49 return gInstructionDescriptors[opcode].index_type; in GetIndexTypeFromOpcode()52 InstructionFormat GetFormatFromOpcode(Opcode opcode) { in GetFormatFromOpcode() argument53 return gInstructionDescriptors[opcode].format; in GetFormatFromOpcode()56 OpcodeFlags GetFlagsFromOpcode(Opcode opcode) { in GetFlagsFromOpcode() argument57 return gInstructionDescriptors[opcode].flags; in GetFlagsFromOpcode()60 VerifyFlags GetVerifyFlagsFromOpcode(Opcode opcode) { in GetVerifyFlagsFromOpcode() argument61 return gInstructionDescriptors[opcode].verify_flags; in GetVerifyFlagsFromOpcode()[all …]
99 auto verify_flags = dex::GetVerifyFlagsFromOpcode(bytecode->opcode); in GetRegA()108 auto verify_flags = dex::GetVerifyFlagsFromOpcode(bytecode->opcode); in GetRegB()117 auto verify_flags = dex::GetVerifyFlagsFromOpcode(bytecode->opcode); in GetRegC()130 dex::Opcode opcode = bytecode->opcode; in Visit() local135 if (opcode == dex::OP_GOTO) { in Visit()136 opcode = dex::OP_GOTO_16; in Visit()140 auto format = dex::GetFormatFromOpcode(opcode); in Visit()146 bytecode_.Push<dex::u2>(Pack_Z_8(opcode)); in Visit()154 bytecode_.Push<dex::u2>(Pack_4_4_8(vB, vA, opcode)); in Visit()162 bytecode_.Push<dex::u2>(Pack_8_8(vA, opcode)); in Visit()[all …]
87 boxing_invoke->opcode = dex::OP_INVOKE_STATIC_RANGE; in BoxValue()93 move_result->opcode = dex::OP_MOVE_RESULT_OBJECT; in BoxValue()161 hook_invoke->opcode = dex::OP_INVOKE_STATIC_RANGE; in Apply()199 move->opcode = dex::OP_MOVE_OBJECT_16; in GenerateShiftParamsCode()205 move->opcode = dex::OP_MOVE_16; in GenerateShiftParamsCode()211 move->opcode = dex::OP_MOVE_WIDE_16; in GenerateShiftParamsCode()255 const_size_op->opcode = dex::OP_CONST; in InjectArrayParamsHook()264 allocate_array_op->opcode = dex::OP_NEW_ARRAY; in InjectArrayParamsHook()292 const_str_op->opcode = dex::OP_CONST_STRING; in InjectArrayParamsHook()309 index_const_op->opcode = dex::OP_CONST; in InjectArrayParamsHook()[all …]
145 dex::u1 opcode = 0; in DisassembleDebugInfo() local146 while ((opcode = *ptr++) != dex::DBG_END_SEQUENCE) { in DisassembleDebugInfo()149 switch (opcode) { in DisassembleDebugInfo()162 annotation = Alloc<DbgInfoAnnotation>(opcode); in DisassembleDebugInfo()177 annotation = Alloc<DbgInfoAnnotation>(opcode); in DisassembleDebugInfo()197 annotation = Alloc<DbgInfoAnnotation>(opcode); in DisassembleDebugInfo()203 annotation = Alloc<DbgInfoAnnotation>(opcode); in DisassembleDebugInfo()207 annotation = Alloc<DbgInfoAnnotation>(opcode); in DisassembleDebugInfo()211 annotation = Alloc<DbgInfoAnnotation>(opcode); in DisassembleDebugInfo()222 int adjusted_opcode = opcode - dex::DBG_FIRST_SPECIAL; in DisassembleDebugInfo()[all …]
55 const auto flags = dex::GetFlagsFromOpcode(bytecode->opcode); in Visit()68 terminate_block = bytecode->opcode == dex::OP_THROW || (flags & exit_instr_flags) != 0; in Visit()
799 dex::u1 opcode = 0; in WriteDebugInfo() local800 while ((opcode = *src++) != dex::DBG_END_SEQUENCE) { in WriteDebugInfo()801 data.Push<dex::u1>(opcode); in WriteDebugInfo()803 switch (opcode) { in WriteDebugInfo()866 auto opcode = dex::OpcodeFromBytecode(*ptr); in WriteInstructions() local871 switch (dex::GetFormatFromOpcode(opcode)) { in WriteInstructions()894 switch (dex::GetIndexTypeFromOpcode(opcode)) { in WriteInstructions()
674 dex::u1 opcode = 0; in ExtractDebugInfo() local675 while ((opcode = *ptr++) != dex::DBG_END_SEQUENCE) { in ExtractDebugInfo()676 switch (opcode) { in ExtractDebugInfo()942 switch (dex::GetFormatFromOpcode(dex_instr.opcode)) { in ParseInstructions()965 switch (GetIndexTypeFromOpcode(dex_instr.opcode)) { in ParseInstructions()
44 #define INSTRUCTION_ENUM(opcode, cname, ...) OP_##cname = (opcode), argument130 Opcode opcode; // instruction opcode member168 const char* GetOpcodeName(Opcode opcode);171 InstructionIndexType GetIndexTypeFromOpcode(Opcode opcode);174 InstructionFormat GetFormatFromOpcode(Opcode opcode);177 OpcodeFlags GetFlagsFromOpcode(Opcode opcode);180 VerifyFlags GetVerifyFlagsFromOpcode(Opcode opcode);194 std::ostream& operator<<(std::ostream& os, Opcode opcode);
141 virtual dex::Opcode GetNewOpcode(dex::Opcode opcode) = 0;153 virtual dex::Opcode GetNewOpcode(dex::Opcode opcode) override;165 virtual dex::Opcode GetNewOpcode(dex::Opcode opcode) override;
333 dex::Opcode opcode = dex::OP_NOP; member
75 switch (bytecode->opcode) { in StressWrapInvoke()109 new_call->opcode = new_call_opcode; in StressWrapInvoke()175 call->opcode = dex::OP_INVOKE_STATIC_RANGE; in StressEntryHook()238 switch (bytecode->opcode) { in StressExitHook()268 call->opcode = dex::OP_INVOKE_STATIC_RANGE; in StressExitHook()282 move_result->opcode = move_result_opcode; in StressExitHook()414 auto opcode = static_cast<lir::Bytecode*>(trace_point)->opcode; in CodeCoverage() local415 if (opcode == dex::OP_MOVE_RESULT || in CodeCoverage()416 opcode == dex::OP_MOVE_RESULT_WIDE || in CodeCoverage()417 opcode == dex::OP_MOVE_RESULT_OBJECT) { in CodeCoverage()[all …]
64 printf("\t%5u| %s", bytecode->offset, dex::GetOpcodeName(bytecode->opcode)); in Visit()