Home
last modified time | relevance | path

Searched refs:Code (Results 1 – 17 of 17) sorted by relevance

/art/libdexfile/dex/
Ddex_instruction_utils.h54 constexpr bool IsInstructionDirectConst(Instruction::Code opcode) { in IsInstructionDirectConst()
58 constexpr bool IsInstructionConstWide(Instruction::Code opcode) { in IsInstructionConstWide()
62 constexpr bool IsInstructionReturn(Instruction::Code opcode) { in IsInstructionReturn()
66 constexpr bool IsInstructionInvoke(Instruction::Code opcode) { in IsInstructionInvoke()
71 constexpr bool IsInstructionQuickInvoke(Instruction::Code opcode) { in IsInstructionQuickInvoke()
76 constexpr bool IsInstructionInvokeStatic(Instruction::Code opcode) { in IsInstructionInvokeStatic()
80 constexpr bool IsInstructionGoto(Instruction::Code opcode) { in IsInstructionGoto()
84 constexpr bool IsInstructionIfCc(Instruction::Code opcode) { in IsInstructionIfCc()
88 constexpr bool IsInstructionIfCcZ(Instruction::Code opcode) { in IsInstructionIfCcZ()
92 constexpr bool IsInstructionIGet(Instruction::Code code) { in IsInstructionIGet()
[all …]
Ddex_instruction.h83 enum Code { // private marker to avoid generate-operator-out.py from processing. enum
291 static const char* Name(Code opcode) { in Name()
479 Code Opcode(uint16_t inst_data) const { in Opcode()
481 return static_cast<Code>(inst_data & 0xFF); in Opcode()
485 Code Opcode() const { in Opcode()
489 void SetOpcode(Code opcode) { in SetOpcode()
532 static Format FormatOf(Code opcode) { in FormatOf()
537 static IndexType IndexTypeOf(Code opcode) { in IndexTypeOf()
542 static uint8_t FlagsOf(Code opcode) { in FlagsOf()
547 static uint32_t VerifyFlagsOf(Code opcode) { in VerifyFlagsOf()
[all …]
Ddex_instruction_test.cc24 Instruction::Code nop = Instruction::NOP; in TEST()
142 Instruction::Code code, in Build35c()
159 static std::string DumpInst35c(Instruction::Code code, in DumpInst35c()
Ddex_instruction.cc43 static constexpr int8_t InstructionSizeInCodeUnitsByOpcode(Instruction::Code opcode, in InstructionSizeInCodeUnitsByOpcode()
45 if (opcode == Instruction::Code::NOP) { in InstructionSizeInCodeUnitsByOpcode()
94 Code opcode = static_cast<Code>(insn & 0xFF); in CanFlowThrough()
550 std::ostream& operator<<(std::ostream& os, Instruction::Code code) { in operator <<()
/art/compiler/dex/
Dinline_method_analyser.h106 static constexpr bool IsInstructionIGet(Instruction::Code opcode) { in IsInstructionIGet()
110 static constexpr bool IsInstructionIPut(Instruction::Code opcode) { in IsInstructionIPut()
114 static constexpr uint16_t IGetVariant(Instruction::Code opcode) { in IGetVariant()
118 static constexpr uint16_t IPutVariant(Instruction::Code opcode) { in IPutVariant()
Dinline_method_analyser.cc61 template <Instruction::Code opcode> bool Opcode();
111 template <Instruction::Code opcode>
453 Instruction::Code opcode = code_item->begin()->Opcode(); in AnalyseMethodCode()
525 Instruction::Code return_opcode = return_instruction->Opcode(); in AnalyseReturnMethod()
548 Instruction::Code return_opcode = return_instruction->Opcode(); in AnalyseConstMethod()
581 Instruction::Code opcode = instruction->Opcode(); in AnalyseIGetMethod()
585 Instruction::Code return_opcode = return_instruction->Opcode(); in AnalyseIGetMethod()
645 Instruction::Code opcode = instruction->Opcode(); in AnalyseIPutMethod()
649 Instruction::Code return_opcode = return_instruction->Opcode(); in AnalyseIPutMethod()
Dverified_method.cc71 const Instruction::Code code = inst.Opcode(); in GenerateSafeCastSet()
/art/runtime/
Ddex_to_dex_decompiler.cc45 void DecompileInstanceFieldAccess(Instruction* inst, Instruction::Code new_opcode) { in DecompileInstanceFieldAccess()
51 void DecompileInvokeVirtual(Instruction* inst, Instruction::Code new_opcode, bool is_range) { in DecompileInvokeVirtual()
/art/tools/dexanalyze/
Ddexanalyze_bytecode.cc192 os << Instruction::Name(static_cast<Instruction::Code>(idx)); in Dump()
208 << Instruction::Name(static_cast<Instruction::Code>(pairs[i].second[0])) in Dump()
237 const Instruction::Code opcode = inst->Opcode(); in ProcessCodeItem()
238 Instruction::Code new_opcode = opcode; in ProcessCodeItem()
525 void NewRegisterInstructions::Add(Instruction::Code opcode, const Instruction& inst) { in Add()
567 std::cout << " ==> " << Instruction::Name(static_cast<Instruction::Code>(opcode)) << " "; in InstNibbles()
Ddexanalyze_bytecode.h71 void Add(Instruction::Code opcode, const Instruction& inst);
Ddexanalyze_experiments.h42 bool IsRange(Instruction::Code code);
Ddexanalyze_experiments.cc37 bool IsRange(Instruction::Code code) { in IsRange()
/art/dex2oat/dex/
Ddex_to_dex_compiler.cc91 Instruction::Code new_opcode, bool is_put);
100 Instruction::Code new_opcode, bool is_range);
428 Instruction::Code new_opcode, in CompileInstanceFieldAccess()
461 Instruction::Code new_opcode, in CompileInvokeVirtual()
/art/dexlayout/
Dcompact_dex_writer.cc176 const Instruction::Code opcode = it->Opcode(); in WriteCodeItem()
/art/runtime/verifier/
Dmethod_verifier.cc131 constexpr bool IsCompatThrow(Instruction::Code opcode) { in IsCompatThrow()
132 return opcode == Instruction::Code::RETURN_OBJECT || opcode == Instruction::Code::MOVE_EXCEPTION; in IsCompatThrow()
1082 Instruction::Code opcode = it->Opcode(); in ComputeWidthsAndCountOps()
2009 Instruction::Code opcode = ret_inst->Opcode(); in AdjustReturnLine()
5556 Instruction::Code opcode = inst.Opcode(); in Fail()
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints.cc1247 Instruction::Code instr_code = instr.Opcode(); in artQuickResolutionTrampoline()
2398 Instruction::Code instr_code = instr.Opcode(); in artInvokeInterfaceTrampoline()
/art/compiler/optimizing/
Dinstruction_builder.cc802 static InvokeType GetInvokeTypeFromOpCode(Instruction::Code opcode) { in GetInvokeTypeFromOpCode()