Home | History | Annotate | Download | only in runtime

Lines Matching full:instruction

35 class Instruction {
154 // Decodes this instruction, populating its arguments.
157 // Returns the size (in 2 byte code units) of this instruction.
167 // Reads an instruction out of the stream at the specified address.
168 static const Instruction* At(const uint16_t* code) {
170 return reinterpret_cast<const Instruction*>(code);
173 // Reads an instruction out of the stream from the current address plus an offset.
174 const Instruction* RelativeAt(int32_t offset) const {
178 // Returns a pointer to the next instruction in the stream.
179 const Instruction* Next() const {
183 // Returns a pointer to the instruction after this 1xx instruction in the stream.
184 const Instruction* Next_1xx() const {
189 // Returns a pointer to the instruction after this 2xx instruction in the stream.
190 const Instruction* Next_2xx() const {
195 // Returns a pointer to the instruction after this 3xx instruction in the stream.
196 const Instruction* Next_3xx() const {
201 // Returns a pointer to the instruction after this 51l instruction in the stream.
202 const Instruction* Next_51l() const {
207 // Returns the name of this instruction's opcode.
209 return Instruction::Name(Opcode());
279 // Fills the given array with the 'arg' array of the instruction.
282 // Returns the opcode field of the instruction.
327 // Returns true if this instruction is a branch.
332 // Returns true if this instruction is a unconditional branch.
337 // Returns the branch offset if this instruction is a branch.
340 // Returns true if the instruction allows control flow to go to the following instruction.
343 // Returns true if this instruction is a switch.
348 // Returns true if this instruction can throw.
353 // Determine if the instruction is any of 'return' instructions.
358 // Determine if this instruction ends execution of its basic block.
363 // Determine if this instruction is an invoke.
387 // Get the dex PC of this instruction as a offset in code units from the beginning of insns.
392 // Dump decoded version of instruction
395 // Dump code_units worth of this instruction, padding to code_units for shorter instructions
427 DISALLOW_IMPLICIT_CONSTRUCTORS(Instruction);
429 std::ostream& operator<<(std::ostream& os, const Instruction::Code& code);
430 std::ostream& operator<<(std::ostream& os, const Instruction::Format& format);
431 std::ostream& operator<<(std::ostream& os, const Instruction::Flags& flags);
432 std::ostream& operator<<(std::ostream& os, const Instruction::VerifyFlag& vflags);
435 * Holds the contents of a decoded instruction.
443 Instruction::Code opcode;
445 explicit DecodedInstruction(const Instruction* inst) {