Searched refs:opcode (Results 1 – 12 of 12) sorted by relevance
96 auto verify_flags = dex::GetVerifyFlagsFromOpcode(bytecode->opcode); in GetRegA()105 auto verify_flags = dex::GetVerifyFlagsFromOpcode(bytecode->opcode); in GetRegB()114 auto verify_flags = dex::GetVerifyFlagsFromOpcode(bytecode->opcode); in GetRegC()127 dex::Opcode opcode = bytecode->opcode; in Visit() local132 if (opcode == dex::OP_GOTO) { in Visit()133 opcode = dex::OP_GOTO_16; in Visit()137 auto format = dex::GetFormatFromOpcode(opcode); in Visit()143 bytecode_.Push<dex::u2>(Pack_Z_8(opcode)); in Visit()151 bytecode_.Push<dex::u2>(Pack_4_4_8(vB, vA, opcode)); in Visit()159 bytecode_.Push<dex::u2>(Pack_8_8(vA, opcode)); in Visit()[all …]
26 Opcode opcode = Opcode(bytecode & 0xff); in OpcodeFromBytecode() local27 return opcode; in OpcodeFromBytecode()46 InstructionIndexType GetIndexTypeFromOpcode(Opcode opcode) { in GetIndexTypeFromOpcode() argument47 return gInstructionDescriptors[opcode].index_type; in GetIndexTypeFromOpcode()50 InstructionFormat GetFormatFromOpcode(Opcode opcode) { in GetFormatFromOpcode() argument51 return gInstructionDescriptors[opcode].format; in GetFormatFromOpcode()54 OpcodeFlags GetFlagsFromOpcode(Opcode opcode) { in GetFlagsFromOpcode() argument55 return gInstructionDescriptors[opcode].flags; in GetFlagsFromOpcode()58 VerifyFlags GetVerifyFlagsFromOpcode(Opcode opcode) { in GetVerifyFlagsFromOpcode() argument59 return gInstructionDescriptors[opcode].verify_flags; in GetVerifyFlagsFromOpcode()[all …]
83 boxing_invoke->opcode = dex::OP_INVOKE_STATIC_RANGE; in BoxValue()89 move_result->opcode = dex::OP_MOVE_RESULT_OBJECT; in BoxValue()157 hook_invoke->opcode = dex::OP_INVOKE_STATIC_RANGE; in Apply()190 move->opcode = dex::OP_MOVE_OBJECT_16; in GenerateShiftParamsCode()196 move->opcode = dex::OP_MOVE_16; in GenerateShiftParamsCode()202 move->opcode = dex::OP_MOVE_WIDE_16; in GenerateShiftParamsCode()246 const_size_op->opcode = dex::OP_CONST; in InjectArrayParamsHook()255 allocate_array_op->opcode = dex::OP_NEW_ARRAY; in InjectArrayParamsHook()283 const_str_op->opcode = dex::OP_CONST_STRING; in InjectArrayParamsHook()300 index_const_op->opcode = dex::OP_CONST; in InjectArrayParamsHook()[all …]
146 dex::u1 opcode = 0; in DissasembleDebugInfo() local147 while ((opcode = *ptr++) != dex::DBG_END_SEQUENCE) { in DissasembleDebugInfo()150 switch (opcode) { in DissasembleDebugInfo()163 annotation = Alloc<DbgInfoAnnotation>(opcode); in DissasembleDebugInfo()178 annotation = Alloc<DbgInfoAnnotation>(opcode); in DissasembleDebugInfo()198 annotation = Alloc<DbgInfoAnnotation>(opcode); in DissasembleDebugInfo()204 annotation = Alloc<DbgInfoAnnotation>(opcode); in DissasembleDebugInfo()208 annotation = Alloc<DbgInfoAnnotation>(opcode); in DissasembleDebugInfo()212 annotation = Alloc<DbgInfoAnnotation>(opcode); in DissasembleDebugInfo()223 int adjusted_opcode = opcode - dex::DBG_FIRST_SPECIAL; in DissasembleDebugInfo()[all …]
764 dex::u1 opcode = 0; in WriteDebugInfo() local765 while ((opcode = *src++) != dex::DBG_END_SEQUENCE) { in WriteDebugInfo()766 data.Push<dex::u1>(opcode); in WriteDebugInfo()768 switch (opcode) { in WriteDebugInfo()831 auto opcode = dex::OpcodeFromBytecode(*ptr); in WriteInstructions() local835 switch (dex::GetFormatFromOpcode(opcode)) { in WriteInstructions()852 switch (dex::GetIndexTypeFromOpcode(opcode)) { in WriteInstructions()
56 const auto flags = dex::GetFlagsFromOpcode(bytecode->opcode); in Visit()69 terminate_block = bytecode->opcode == dex::OP_THROW || (flags & exit_instr_flags) != 0; in Visit()
633 dex::u1 opcode = 0; in ExtractDebugInfo() local634 while ((opcode = *ptr++) != dex::DBG_END_SEQUENCE) { in ExtractDebugInfo()635 switch (opcode) { in ExtractDebugInfo()884 switch (dex::GetFormatFromOpcode(dex_instr.opcode)) { in ParseInstructions()901 switch (GetIndexTypeFromOpcode(dex_instr.opcode)) { in ParseInstructions()
40 #define INSTRUCTION_ENUM(opcode, cname, ...) OP_##cname = (opcode), argument153 Opcode opcode; // instruction opcode member191 const char* GetOpcodeName(Opcode opcode);194 InstructionIndexType GetIndexTypeFromOpcode(Opcode opcode);197 InstructionFormat GetFormatFromOpcode(Opcode opcode);200 OpcodeFlags GetFlagsFromOpcode(Opcode opcode);203 VerifyFlags GetVerifyFlagsFromOpcode(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;
301 dex::Opcode opcode = dex::OP_NOP; member
74 switch (bytecode->opcode) { in StressWrapInvoke()108 new_call->opcode = new_call_opcode; in StressWrapInvoke()174 call->opcode = dex::OP_INVOKE_STATIC_RANGE; in StressEntryHook()237 switch (bytecode->opcode) { in StressExitHook()267 call->opcode = dex::OP_INVOKE_STATIC_RANGE; in StressExitHook()281 move_result->opcode = move_result_opcode; in StressExitHook()413 auto opcode = static_cast<lir::Bytecode*>(trace_point)->opcode; in CodeCoverage() local414 if (opcode == dex::OP_MOVE_RESULT || in CodeCoverage()415 opcode == dex::OP_MOVE_RESULT_WIDE || in CodeCoverage()416 opcode == dex::OP_MOVE_RESULT_OBJECT) { in CodeCoverage()[all …]
64 printf("\t%5u| %s", bytecode->offset, dex::GetOpcodeName(bytecode->opcode)); in Visit()