Lines Matching defs:Immediate

106 class Immediate {
109 inline explicit Immediate(int x, RelocInfo::Mode rmode = RelocInfo::NO_INFO) {
113 inline explicit Immediate(const ExternalReference& ext)
114 : Immediate(ext.address(), RelocInfo::EXTERNAL_REFERENCE) {}
115 inline explicit Immediate(Handle<HeapObject> handle)
116 : Immediate(handle.address(), RelocInfo::FULL_EMBEDDED_OBJECT) {}
117 inline explicit Immediate(Smi value)
118 : Immediate(static_cast<intptr_t>(value.ptr())) {}
120 static Immediate EmbeddedNumber(double number); // Smi or HeapNumber.
121 static Immediate EmbeddedStringConstant(const StringConstantBase* str);
123 static Immediate CodeRelativeOffset(Label* label) { return Immediate(label); }
180 inline explicit Immediate(Label* value) {
232 V8_INLINE explicit Operand(Immediate imm) {
260 static Operand ForRegisterPlusImmediate(Register base, Immediate imm) {
481 void push(const Immediate& x);
495 void mov_b(Operand dst, int8_t src) { mov_b(dst, Immediate(src)); }
496 void mov_b(Operand dst, const Immediate& src);
500 void mov_w(Operand dst, int16_t src) { mov_w(dst, Immediate(src)); }
501 void mov_w(Operand dst, const Immediate& src);
505 void mov(Register dst, const Immediate& x);
509 void mov(Operand dst, const Immediate& x);
576 void add(Register dst, const Immediate& imm) { add(Operand(dst), imm); }
577 void add(Operand dst, const Immediate& x);
580 void and_(Register dst, const Immediate& x);
584 void and_(Operand dst, const Immediate& x);
586 void cmpb(Register reg, Immediate imm8) {
590 void cmpb(Operand op, Immediate imm8);
596 void cmpw(Operand dst, Immediate src);
597 void cmpw(Register dst, Immediate src) { cmpw(Operand(dst), src); }
605 void cmp(Register reg, const Immediate& imm) { cmp(Operand(reg), imm); }
607 void cmp(Operand op, const Immediate& imm);
648 void or_(Register dst, const Immediate& imm) { or_(Operand(dst), imm); }
649 void or_(Operand dst, const Immediate& x);
687 void sub(Register dst, const Immediate& imm) { sub(Operand(dst), imm); }
688 void sub(Operand dst, const Immediate& x);
694 void test(Register reg, const Immediate& imm);
697 void test(Operand op, const Immediate& imm);
700 void test_b(Register reg, Immediate imm8);
701 void test_b(Operand op, Immediate imm8);
705 void test_w(Register reg, Immediate imm16);
706 void test_w(Operand op, Immediate imm16);
714 void xor_(Register dst, const Immediate& imm) { xor_(Operand(dst), imm); }
715 void xor_(Operand dst, const Immediate& x);
1697 inline void emit(const Immediate& x);
1698 inline void emit_b(Immediate x);
1699 inline void emit_w(const Immediate& x);
1712 void emit_arith(int sel, Operand dst, const Immediate& x);