Lines Matching refs:Immediate
60 mov(destination, Immediate(Smi::cast(*object))); in LoadRoot()
70 mov(destination, Immediate(index)); in LoadRoot()
80 mov(scratch, Immediate(index)); in CompareRoot()
91 cmp(with, Immediate(Smi::cast(*object))); in CompareRoot()
101 cmp(with, Immediate(Smi::cast(*object))); in CompareRoot()
131 mov(destination, Immediate(ExternalReference::roots_array_start(isolate()))); in LoadRootRegisterOffset()
133 add(destination, Immediate(offset)); in LoadRootRegisterOffset()
151 mov(destination, Immediate(source)); in LoadAddress()
206 sub(esp, Immediate(delta)); in PushCallerSaved()
227 add(esp, Immediate(delta)); in PopCallerSaved()
274 test_b(dst, Immediate(kPointerSize - 1)); in RecordWriteField()
288 mov(value, Immediate(bit_cast<int32_t>(kZapValue))); in RecordWriteField()
289 mov(dst, Immediate(bit_cast<int32_t>(kZapValue))); in RecordWriteField()
343 Immediate(ExternalReference::isolate_address(isolate()))); in CallRecordWriteStub()
404 mov(address, Immediate(bit_cast<int32_t>(kZapValue))); in RecordWrite()
405 mov(value, Immediate(bit_cast<int32_t>(kZapValue))); in RecordWrite()
443 or_(tmp, Immediate(1)); in Cvtui2ss()
458 or_(dst, Immediate(0x80000000)); in Cvttss2ui()
464 cmp(src, Immediate(0)); in Cvtui2sd()
476 add(dst, Immediate(0x80000000)); in Cvttsd2ui()
494 test(ecx, Immediate(0x20)); in ShlPair_cl()
516 test(ecx, Immediate(0x20)); in ShrPair_cl()
538 test(ecx, Immediate(0x20)); in SarPair_cl()
554 cmpw(FieldOperand(map, Map::kInstanceTypeOffset), Immediate(type)); in CmpInstanceType()
559 test(object, Immediate(kSmiTagMask)); in AssertSmi()
566 test(object, Immediate(kSmiTagMask)); in AssertConstructor()
571 Immediate(Map::IsConstructorBit::kMask)); in AssertConstructor()
579 test(object, Immediate(kSmiTagMask)); in AssertFunction()
591 test(object, Immediate(kSmiTagMask)); in AssertBoundFunction()
603 test(object, Immediate(kSmiTagMask)); in AssertGeneratorObject()
635 Immediate(isolate()->factory()->allocation_site_map())); in AssertUndefinedOrAllocationSite()
644 test(object, Immediate(kSmiTagMask)); in AssertNotSmi()
652 push(Immediate(StackFrame::TypeToMarker(type))); in StubPrologue()
665 push(Immediate(StackFrame::TypeToMarker(type))); in EnterFrame()
671 Immediate(StackFrame::TypeToMarker(type))); in LeaveFrame()
688 sub(esp, Immediate(kPageSize)); in AllocateStackFrame()
690 mov(Operand(esp, 0), Immediate(0)); in AllocateStackFrame()
691 sub(bytes_scratch, Immediate(kPageSize)); in AllocateStackFrame()
730 push(Immediate(StackFrame::TypeToMarker(frame_type))); in EnterExitFramePrologue()
732 push(Immediate(0)); // Saved entry sp, patched before call. in EnterExitFramePrologue()
734 push(Immediate(CodeObject())); // Accessed from ExitFrame::code_slot. in EnterExitFramePrologue()
753 sub(esp, Immediate(space)); in EnterExitFrameEpilogue()
760 sub(esp, Immediate(argc * kPointerSize)); in EnterExitFrameEpilogue()
828 mov(StaticVariable(context_address), Immediate(Context::kInvalidContext)); in LeaveExitFrameEpilogue()
834 mov(StaticVariable(c_entry_fp_address), Immediate(0)); in LeaveExitFrameEpilogue()
850 push(Immediate(0)); // Padding. in PushStackHandler()
867 add(esp, Immediate(StackHandlerConstants::kSize - kPointerSize)); in PopStackHandler()
901 Move(kRuntimeCallArgCountRegister, Immediate(num_arguments)); in CallRuntime()
902 Move(kRuntimeCallFunctionRegister, Immediate(ExternalReference::Create(f))); in CallRuntime()
915 Move(kRuntimeCallArgCountRegister, Immediate(f->nargs)); in CallRuntimeWithCEntry()
916 Move(kRuntimeCallFunctionRegister, Immediate(ExternalReference::Create(f))); in CallRuntimeWithCEntry()
919 add(centry, Immediate(Code::kHeaderSize - kHeapObjectTag)); in CallRuntimeWithCEntry()
941 Move(kRuntimeCallArgCountRegister, Immediate(function->nargs)); in TailCallRuntime()
949 Move(kRuntimeCallFunctionRegister, Immediate(ext)); in JumpToExternalReference()
1012 mov(count_reg, Immediate(callee_args_count.immediate() + 2 + in PrepareForTailCall()
1026 cmp(count_reg, Immediate(0)); in PrepareForTailCall()
1102 cmpb(StaticVariable(debug_hook_active), Immediate(0)); in CheckDebugHook()
1172 add(ecx, Immediate(Code::kHeaderSize - kHeapObjectTag)); in InvokeFunctionCode()
1239 add(esp, Immediate(bytes_dropped)); in Ret()
1248 add(esp, Immediate(stack_elements * kPointerSize)); in Drop()
1258 void TurboAssembler::Move(Register dst, const Immediate& src) { in Move()
1268 void TurboAssembler::Move(Operand dst, const Immediate& src) { mov(dst, src); } in Move()
1295 mov(eax, Immediate(src)); in Move()
1325 Move(eax, Immediate(lower)); in Move()
1328 Move(eax, Immediate(upper)); in Move()
1333 push(Immediate(upper)); in Move()
1334 push(Immediate(lower)); in Move()
1336 add(esp, Immediate(kDoubleSize)); in Move()
1555 Move(dst, Immediate(63)); // 63^31 == 32 in Lzcnt()
1557 xor_(dst, Immediate(31)); // for x in [0..31], 31^x == 31-x. in Lzcnt()
1569 Move(dst, Immediate(32)); // The result of tzcnt is 32 if src = 0. in Tzcnt()
1583 cmp(in_out, Immediate(kClearedWeakHeapObject)); in LoadWeakValue()
1586 and_(in_out, Immediate(~kWeakHeapObjectMask)); in LoadWeakValue()
1596 add(operand, Immediate(value)); in IncrementCounter()
1609 sub(operand, Immediate(value)); in DecrementCounter()
1636 test(esp, Immediate(frame_alignment_mask)); in CheckStackAlignment()
1661 mov(Operand(esp, 0), Immediate(static_cast<int>(reason))); in Abort()
1688 sub(esp, Immediate((num_arguments + 1) * kPointerSize)); in PrepareCallCFunction()
1693 sub(esp, Immediate(num_arguments * kPointerSize)); in PrepareCallCFunction()
1700 mov(eax, Immediate(function)); in CallCFunction()
1716 add(esp, Immediate(num_arguments * kPointerSize)); in CallCFunction()
1835 and_(scratch, Immediate(~kPageAlignmentMask)); in CheckPageFlag()
1837 mov(scratch, Immediate(~kPageAlignmentMask)); in CheckPageFlag()
1841 test_b(Operand(scratch, MemoryChunk::kFlagsOffset), Immediate(mask)); in CheckPageFlag()
1843 test(Operand(scratch, MemoryChunk::kFlagsOffset), Immediate(mask)); in CheckPageFlag()
1858 sub(dst, Immediate(pc)); in ComputeCodeStartAddress()
1863 mov(kSpeculationPoisonRegister, Immediate(-1)); in ResetSpeculationPoisonRegister()