Lines Matching refs:Operand
291 friend class Operand;
312 class Operand BASE_EMBEDDED {
315 INLINE(explicit Operand(Register reg));
318 INLINE(explicit Operand(int32_t disp, RelocInfo::Mode rmode));
321 INLINE(explicit Operand(Immediate imm));
324 explicit Operand(Register base, int32_t disp,
328 explicit Operand(Register base,
335 explicit Operand(Register index,
340 static Operand JumpTable(Register index, ScaleFactor scale, Label* table) {
341 return Operand(index, scale, reinterpret_cast<int32_t>(table),
345 static Operand StaticVariable(const ExternalReference& ext) {
346 return Operand(reinterpret_cast<int32_t>(ext.address()),
350 static Operand StaticArray(Register index,
353 return Operand(index, scale, reinterpret_cast<int32_t>(arr.address()),
357 static Operand ForCell(Handle<Cell> cell) {
359 return Operand(reinterpret_cast<int32_t>(cell.location()),
363 static Operand ForRegisterPlusImmediate(Register base, Immediate imm) {
364 return Operand(base, imm.x_, imm.rmode_);
367 // Returns true if this Operand is a wrapper for the specified register.
370 // Returns true if this Operand is a wrapper for one register.
373 // Asserts that this Operand is a wrapper for one register and returns the
558 // can in some cases be replaced with an Operand(Register) argument.
561 // Operand is possible, or should we have a Register (overloaded) form
587 void push(const Operand& src);
590 void pop(const Operand& dst);
596 void mov_b(Register dst, Register src) { mov_b(dst, Operand(src)); }
597 void mov_b(Register dst, const Operand& src);
598 void mov_b(Register dst, int8_t imm8) { mov_b(Operand(dst), imm8); }
599 void mov_b(const Operand& dst, int8_t imm8);
600 void mov_b(const Operand& dst, const Immediate& src);
601 void mov_b(const Operand& dst, Register src);
603 void mov_w(Register dst, const Operand& src);
604 void mov_w(const Operand& dst, Register src);
605 void mov_w(const Operand& dst, int16_t imm16);
606 void mov_w(const Operand& dst, const Immediate& src);
612 void mov(Register dst, const Operand& src);
614 void mov(const Operand& dst, const Immediate& x);
615 void mov(const Operand& dst, Handle<Object> handle);
616 void mov(const Operand& dst, Register src);
618 void movsx_b(Register dst, Register src) { movsx_b(dst, Operand(src)); }
619 void movsx_b(Register dst, const Operand& src);
621 void movsx_w(Register dst, Register src) { movsx_w(dst, Operand(src)); }
622 void movsx_w(Register dst, const Operand& src);
624 void movzx_b(Register dst, Register src) { movzx_b(dst, Operand(src)); }
625 void movzx_b(Register dst, const Operand& src);
627 void movzx_w(Register dst, Register src) { movzx_w(dst, Operand(src)); }
628 void movzx_w(Register dst, const Operand& src);
640 void xchg(Register dst, const Operand& src);
644 void adc(Register dst, const Operand& src);
646 void add(Register dst, Register src) { add(dst, Operand(src)); }
647 void add(Register dst, const Operand& src);
648 void add(const Operand& dst, Register src);
649 void add(Register dst, const Immediate& imm) { add(Operand(dst), imm); }
650 void add(const Operand& dst, const Immediate& x);
654 void and_(Register dst, Register src) { and_(dst, Operand(src)); }
655 void and_(Register dst, const Operand& src);
656 void and_(const Operand& dst, Register src);
657 void and_(const Operand& dst, const Immediate& x);
659 void cmpb(Register reg, int8_t imm8) { cmpb(Operand(reg), imm8); }
660 void cmpb(const Operand& op, int8_t imm8);
661 void cmpb(Register reg, const Operand& op);
662 void cmpb(const Operand& op, Register reg);
663 void cmpb_al(const Operand& op);
664 void cmpw_ax(const Operand& op);
665 void cmpw(const Operand& op, Immediate imm16);
668 void cmp(Register reg0, Register reg1) { cmp(reg0, Operand(reg1)); }
669 void cmp(Register reg, const Operand& op);
670 void cmp(Register reg, const Immediate& imm) { cmp(Operand(reg), imm); }
671 void cmp(const Operand& op, const Immediate& imm);
672 void cmp(const Operand& op, Handle<Object> handle);
675 void dec_b(const Operand& dst);
678 void dec(const Operand& dst);
682 void idiv(Register src) { idiv(Operand(src)); }
683 void idiv(const Operand& src);
684 void div(Register src) { div(Operand(src)); }
685 void div(const Operand& src);
689 void imul(Register dst, Register src) { imul(dst, Operand(src)); }
690 void imul(Register dst, const Operand& src); // dst = dst * src.
692 void imul(Register dst, const Operand& src, int32_t imm32);
695 void inc(const Operand& dst);
697 void lea(Register dst, const Operand& src);
703 void neg(const Operand& dst);
706 void not_(const Operand& dst);
709 void or_(Register dst, Register src) { or_(dst, Operand(src)); }
710 void or_(Register dst, const Operand& src);
711 void or_(const Operand& dst, Register src);
712 void or_(Register dst, const Immediate& imm) { or_(Operand(dst), imm); }
713 void or_(const Operand& dst, const Immediate& x);
718 void ror(Register dst, uint8_t imm8) { ror(Operand(dst), imm8); }
719 void ror(const Operand& dst, uint8_t imm8);
720 void ror_cl(Register dst) { ror_cl(Operand(dst)); }
721 void ror_cl(const Operand& dst);
723 void sar(Register dst, uint8_t imm8) { sar(Operand(dst), imm8); }
724 void sar(const Operand& dst, uint8_t imm8);
725 void sar_cl(Register dst) { sar_cl(Operand(dst)); }
726 void sar_cl(const Operand& dst);
728 void sbb(Register dst, const Operand& src);
730 void shld(Register dst, Register src) { shld(dst, Operand(src)); }
731 void shld(Register dst, const Operand& src);
733 void shl(Register dst, uint8_t imm8) { shl(Operand(dst), imm8); }
734 void shl(const Operand& dst, uint8_t imm8);
735 void shl_cl(Register dst) { shl_cl(Operand(dst)); }
736 void shl_cl(const Operand& dst);
738 void shrd(Register dst, Register src) { shrd(dst, Operand(src)); }
739 void shrd(Register dst, const Operand& src);
741 void shr(Register dst, uint8_t imm8) { shr(Operand(dst), imm8); }
742 void shr(const Operand& dst, uint8_t imm8);
743 void shr_cl(Register dst) { shr_cl(Operand(dst)); }
744 void shr_cl(const Operand& dst);
746 void sub(Register dst, const Immediate& imm) { sub(Operand(dst), imm); }
747 void sub(const Operand& dst, const Immediate& x);
748 void sub(Register dst, Register src) { sub(dst, Operand(src)); }
749 void sub(Register dst, const Operand& src);
750 void sub(const Operand& dst, Register src);
753 void test(Register reg0, Register reg1) { test(reg0, Operand(reg1)); }
754 void test(Register reg, const Operand& op);
755 void test_b(Register reg, const Operand& op);
756 void test(const Operand& op, const Immediate& imm);
758 void test_b(const Operand& op, uint8_t imm8);
761 void xor_(Register dst, Register src) { xor_(dst, Operand(src)); }
762 void xor_(Register dst, const Operand& src);
763 void xor_(const Operand& dst, Register src);
764 void xor_(Register dst, const Immediate& imm) { xor_(Operand(dst), imm); }
765 void xor_(const Operand& dst, const Immediate& x);
768 void bt(const Operand& dst, Register src);
769 void bts(Register dst, Register src) { bts(Operand(dst), src); }
770 void bts(const Operand& dst, Register src);
771 void bsr(Register dst, Register src) { bsr(dst, Operand(src)); }
772 void bsr(Register dst, const Operand& src);
773 void bsf(Register dst, Register src) { bsf(dst, Operand(src)); }
774 void bsf(Register dst, const Operand& src);
803 int CallSize(const Operand& adr);
804 void call(Register reg) { call(Operand(reg)); }
805 void call(const Operand& adr);
815 void jmp(Register reg) { jmp(Operand(reg)); }
816 void jmp(const Operand& adr);
836 void fld_s(const Operand& adr);
837 void fld_d(const Operand& adr);
839 void fstp_s(const Operand& adr);
840 void fst_s(const Operand& adr);
841 void fstp_d(const Operand& adr);
842 void fst_d(const Operand& adr);
844 void fild_s(const Operand& adr);
845 void fild_d(const Operand& adr);
847 void fist_s(const Operand& adr);
849 void fistp_s(const Operand& adr);
850 void fistp_d(const Operand& adr);
853 void fisttp_s(const Operand& adr);
854 void fisttp_d(const Operand& adr);
869 void fadd_d(const Operand& adr);
872 void fsub_d(const Operand& adr);
873 void fsubr_d(const Operand& adr);
875 void fmul_d(const Operand& adr);
878 void fdiv_d(const Operand& adr);
879 void fdivr_d(const Operand& adr);
882 void fisub_s(const Operand& adr);
905 void fldcw(const Operand& adr);
906 void fnstcw(const Operand& adr);
909 void fnsave(const Operand& adr);
910 void frstor(const Operand& adr);
1012 // with a given destination expression and an immediate operand. It attempts
1015 void emit_arith(int sel, Operand dst, const Immediate& x);
1017 void emit_operand(Register reg, const Operand& adr);