• Home
  • Raw
  • Download

Lines Matching refs:opcode

172   static inline Instruction OpNoArgs(Op opcode) {  in OpNoArgs()  argument
173 return Instruction{opcode, /*method_id*/ 0, /*dest*/ {}}; in OpNoArgs()
177 static inline Instruction OpWithArgs(Op opcode, std::optional<const Value> dest, T... args) { in OpWithArgs() argument
178 return Instruction{opcode, /*method_id=*/0, /*result_is_object=*/false, dest, args...}; in OpWithArgs()
238 Op opcode() const { return opcode_; } in opcode() function
245 inline Instruction(Op opcode, size_t method_id, std::optional<const Value> dest) in Instruction() argument
246 : opcode_{opcode}, method_id_{method_id}, result_is_object_{false}, dest_{dest}, args_{} {} in Instruction()
249 inline constexpr Instruction(Op opcode, size_t method_id, bool result_is_object, in Instruction() argument
251 : opcode_{opcode}, in Instruction()
266 std::ostream& operator<<(std::ostream& out, const Instruction::Op& opcode);
315 void EncodeReturn(const Instruction& instruction, ::art::Instruction::Code opcode);
318 void EncodeInvoke(const Instruction& instruction, ::art::Instruction::Code opcode);
327 inline void Encode10x(art::Instruction::Code opcode) { in Encode10x() argument
329 buffer_.push_back(opcode); in Encode10x()
332 inline void Encode11x(art::Instruction::Code opcode, uint8_t a) { in Encode11x() argument
334 buffer_.push_back((a << 8) | opcode); in Encode11x()
337 inline void Encode11n(art::Instruction::Code opcode, uint8_t a, int8_t b) { in Encode11n() argument
345 buffer_.push_back(((b & 0xf) << 12) | (a << 8) | opcode); in Encode11n()
348 inline void Encode21c(art::Instruction::Code opcode, uint8_t a, uint16_t b) { in Encode21c() argument
350 buffer_.push_back((a << 8) | opcode); in Encode21c()
354 inline void Encode32x(art::Instruction::Code opcode, uint16_t a, uint16_t b) { in Encode32x() argument
355 buffer_.push_back(opcode); in Encode32x()
360 inline void Encode35c(art::Instruction::Code opcode, size_t a, uint16_t b, uint8_t c, uint8_t d, in Encode35c() argument
370 buffer_.push_back((a << 12) | (g << 8) | opcode); in Encode35c()
375 inline void Encode3rc(art::Instruction::Code opcode, size_t a, uint16_t b, uint16_t c) { in Encode3rc() argument
377 buffer_.push_back((a << 8) | opcode); in Encode3rc()