Lines Matching defs:operand
76 bts(Operand(object, Page::kDirtyFlagOffset), addr);
103 lea(dst, Operand(object, offset));
110 lea(dst, Operand(object, dst, times_half_pointer_size,
167 xor_(dst, Operand(dst)); // Shorter than mov.
174 void MacroAssembler::Set(const Operand& dst, const Immediate& x) {
199 xor_(Operand(esp, 0), Immediate(jit_cookie()));
257 sub(Operand(scratch), Immediate(FIRST_JS_OBJECT_TYPE));
284 Assert(equal, "Operand not a number");
291 Assert(equal, "Operand is not a smi");
297 Assert(not_equal, "Operand is not a string");
302 Assert(below, "Operand is not a string");
308 Assert(not_equal, "Operand is a smi");
314 mov(ebp, Operand(esp));
319 cmp(Operand(esp, 0), Immediate(isolate()->factory()->undefined_value()));
327 cmp(Operand(ebp, StandardFrameConstants::kMarkerOffset),
341 mov(ebp, Operand(esp));
353 mov(Operand::StaticVariable(c_entry_fp_address), ebp);
354 mov(Operand::StaticVariable(context_address), esi);
363 sub(Operand(esp), Immediate(space));
367 movdbl(Operand(ebp, offset - ((i + 1) * kDoubleSize)), reg);
370 sub(Operand(esp), Immediate(argc * kPointerSize));
381 mov(Operand(ebp, ExitFrameConstants::kSPOffset), esp);
390 mov(edi, Operand(eax));
391 lea(esi, Operand(ebp, eax, times_4, offset));
411 movdbl(reg, Operand(ebp, offset - ((i + 1) * kDoubleSize)));
416 mov(ecx, Operand(ebp, 1 * kPointerSize));
417 mov(ebp, Operand(ebp, 0 * kPointerSize));
420 lea(esp, Operand(esi, 1 * kPointerSize));
431 mov(esi, Operand::StaticVariable(context_address));
433 mov(Operand::StaticVariable(context_address), Immediate(0));
439 mov(Operand::StaticVariable(c_entry_fp_address), Immediate(0));
444 mov(esp, Operand(ebp));
472 push(Operand::StaticVariable(ExternalReference(Isolate::k_handler_address,
475 mov(Operand::StaticVariable(ExternalReference(Isolate::k_handler_address,
483 pop(Operand::StaticVariable(ExternalReference(Isolate::k_handler_address,
485 add(Operand(esp), Immediate(StackHandlerConstants::kSize - kPointerSize));
501 mov(esp, Operand::StaticVariable(handler_address));
505 pop(Operand::StaticVariable(handler_address));
517 mov(esi, Operand(ebp, StandardFrameConstants::kContextOffset));
538 mov(esp, Operand::StaticVariable(handler_address));
545 cmp(Operand(esp, kStateOffset), Immediate(StackHandler::ENTRY));
549 mov(esp, Operand(esp, kNextOffset));
555 pop(Operand::StaticVariable(handler_address));
563 mov(Operand::StaticVariable(external_caught), eax);
569 mov(Operand::StaticVariable(pending_exception), eax);
593 mov(scratch, Operand(ebp, StandardFrameConstants::kContextOffset));
597 cmp(Operand(scratch), Immediate(0));
665 cmp(result, Operand::StaticVariable(new_space_allocation_top));
673 mov(result, Operand::StaticVariable(new_space_allocation_top));
675 mov(Operand(scratch), Immediate(new_space_allocation_top));
676 mov(result, Operand(scratch, 0));
693 mov(Operand::StaticVariable(new_space_allocation_top), result_end);
695 mov(Operand(scratch, 0), result_end);
734 add(Operand(top_reg), Immediate(object_size));
736 cmp(top_reg, Operand::StaticVariable(new_space_allocation_limit));
745 sub(Operand(result), Immediate(object_size - kHeapObjectTag));
747 sub(Operand(result), Immediate(object_size));
750 add(Operand(result), Immediate(kHeapObjectTag));
787 lea(result_end, Operand(element_count, element_size, header_size));
788 add(result_end, Operand(result));
790 cmp(result_end, Operand::StaticVariable(new_space_allocation_limit));
795 lea(result, Operand(result, kHeapObjectTag));
833 add(result_end, Operand(result));
835 cmp(result_end, Operand::StaticVariable(new_space_allocation_limit));
840 lea(result, Operand(result, kHeapObjectTag));
853 and_(Operand(object), Immediate(~kHeapObjectTagMask));
855 cmp(object, Operand::StaticVariable(new_space_allocation_top));
858 mov(Operand::StaticVariable(new_space_allocation_top), object);
891 lea(scratch1, Operand(length, length, times_1, kObjectAlignmentMask));
892 and_(Operand(scratch1), Immediate(~kObjectAlignmentMask));
926 add(Operand(scratch1), Immediate(kObjectAlignmentMask));
927 and_(Operand(scratch1), Immediate(~kObjectAlignmentMask));
1025 cmp(Operand(length), Immediate(10));
1035 mov(scratch, Operand(source, length, times_1, -4));
1036 mov(Operand(destination, length, times_1, -4), scratch);
1040 and_(Operand(scratch), Immediate(0x3));
1041 add(destination, Operand(scratch));
1045 test(length, Operand(length));
1049 mov_b(scratch, Operand(source, 0));
1050 mov_b(Operand(destination, 0), scratch);
1064 test(result, Operand(result));
1066 test(op, Operand(op));
1078 test(result, Operand(result));
1080 mov(scratch, Operand(op1));
1081 or_(scratch, Operand(op2));
1112 cmp(Operand(result), Immediate(isolate()->factory()->the_hole_value()));
1176 add(Operand(esp), Immediate(num_arguments * kPointerSize));
1326 Operand ApiParameterOperand(int index) {
1327 return Operand(
1354 lea(scratch, Operand(esp, (argc + 1) * kPointerSize));
1355 mov(Operand(esp, 0 * kPointerSize), scratch); // output.
1357 mov(Operand(esp, (argc + 1) * kPointerSize), Immediate(0)); // out cell.
1373 mov(ebx, Operand::StaticVariable(next_address));
1374 mov(edi, Operand::StaticVariable(limit_address));
1375 add(Operand::StaticVariable(level_address), Immediate(1));
1383 mov(eax, Operand(eax, 0));
1393 test(eax, Operand(eax));
1396 mov(eax, Operand(eax, 0));
1400 mov(Operand::StaticVariable(next_address), ebx);
1401 sub(Operand::StaticVariable(level_address), Immediate(1));
1403 cmp(edi, Operand::StaticVariable(limit_address));
1410 cmp(Operand::StaticVariable(scheduled_exception_address),
1430 mov(Operand::StaticVariable(limit_address), edi);
1432 mov(Operand(esp, 0), Immediate(ExternalReference::isolate_address()));
1434 call(Operand(eax));
1462 const Operand& code_operand,
1497 cmp(expected.reg(), Operand(actual.reg()));
1509 add(Operand(edx), Immediate(Code::kHeaderSize - kHeapObjectTag));
1526 void MacroAssembler::InvokeCode(const Operand& code,
1552 Operand dummy(eax);
1624 mov(target, Operand(esi, Context::SlotOffset(Context::GLOBAL_INDEX)));
1642 mov(dst, Operand(esi, Context::SlotOffset(Context::CLOSURE_INDEX)));
1646 mov(dst, Operand(dst, Context::SlotOffset(Context::CLOSURE_INDEX)));
1661 cmp(dst, Operand(dst, Context::SlotOffset(Context::FCONTEXT_INDEX)));
1670 mov(function, Operand(esi, Context::SlotOffset(Context::GLOBAL_INDEX)));
1674 mov(function, Operand(function, Context::SlotOffset(index)));
1710 Operand MacroAssembler::SafepointRegisterSlot(Register reg) {
1711 return Operand(esp, SafepointRegisterStackIndex(reg.code()) * kPointerSize);
1734 add(Operand(esp), Immediate(bytes_dropped));
1745 add(Operand(esp), Immediate(stack_elements * kPointerSize));
1764 mov(Operand::StaticVariable(ExternalReference(counter)), Immediate(value));
1772 Operand operand = Operand::StaticVariable(ExternalReference(counter));
1774 inc(operand);
1776 add(operand, Immediate(value));
1785 Operand operand = Operand::StaticVariable(ExternalReference(counter));
1787 dec(operand);
1789 sub(operand, Immediate(value));
1941 add(Operand
1956 movd(dst, Operand(scratch));
1982 mov(scratch1, Operand(object1));
1983 and_(scratch1, Operand(object2));
2001 lea(scratch1, Operand(scratch1, scratch2, times_8, 0));
2013 sub(Operand(esp), Immediate((num_arguments + 1) * kPointerSize));
2016 mov(Operand(esp, num_arguments * kPointerSize), scratch);
2018 sub(Operand(esp), Immediate(num_arguments * kPointerSize));
2026 mov(Operand(eax), Immediate(function));
2038 call(Operand(function));
2040 mov(esp, Operand(esp, num_arguments * kPointerSize));
2042 add(Operand(esp), Immediate(num_arguments * kPointerSize));