Lines Matching +defs:mov +defs:reg

91     __ mov(Operand(esp, offset), eax);  in MakeSureStackPagesMapped()  local
119 __ mov(ecx, Operand(esp, receiver_offset)); in GeneratePrologue() local
124 __ mov(ecx, GlobalObjectOperand()); in GeneratePrologue() local
125 __ mov(ecx, FieldOperand(ecx, GlobalObject::kGlobalProxyOffset)); in GeneratePrologue() local
127 __ mov(Operand(esp, receiver_offset), ecx); in GeneratePrologue() local
142 __ mov(ebx, esp); in GeneratePrologue() local
143 __ mov(edx, Immediate(kAlignmentPaddingPushed)); in GeneratePrologue() local
145 __ mov(ecx, Immediate(scope()->num_parameters() + 2)); in GeneratePrologue() local
148 __ mov(eax, Operand(ebx, 1 * kPointerSize)); in GeneratePrologue() local
149 __ mov(Operand(ebx, 0), eax); in GeneratePrologue() local
153 __ mov(Operand(ebx, 0), Immediate(kAlignmentZapValue)); in GeneratePrologue() local
194 __ mov(Operand(eax), Immediate(slots)); in GeneratePrologue() local
197 __ mov(MemOperand(esp, eax, times_4, 0), in GeneratePrologue() local
214 __ mov(Operand(ebp, offset), edx); in GeneratePrologue() local
216 __ mov(Operand(ebp, offset), Immediate(kNoAlignmentPadding)); in GeneratePrologue() local
240 __ mov(esi, eax); in GeneratePrologue() local
241 __ mov(Operand(ebp, StandardFrameConstants::kContextOffset), eax); in GeneratePrologue() local
251 __ mov(eax, Operand(ebp, parameter_offset)); in GeneratePrologue() local
254 __ mov(Operand(esi, context_offset), eax); in GeneratePrologue() local
298 __ mov(ebx, esp); in GenerateOsrPrologue() local
299 __ mov(edx, Immediate(kAlignmentPaddingPushed)); in GenerateOsrPrologue() local
304 __ mov(ecx, Immediate(scope()->num_parameters() + in GenerateOsrPrologue() local
308 __ mov(eax, Operand(ebx, 1 * kPointerSize)); in GenerateOsrPrologue() local
309 __ mov(Operand(ebx, 0), eax); in GenerateOsrPrologue() local
313 __ mov(Operand(ebx, 0), Immediate(kAlignmentZapValue)); in GenerateOsrPrologue() local
323 __ mov(alignment_loc, edx); in GenerateOsrPrologue() local
410 __ mov(MemOperand(esp, 4 * kPointerSize), ebp); in GenerateJumpTable() local
459 __ mov(esp, ebp); in GenerateDeferredCode() local
499 void LCodeGen::X87LoadForUsage(X87Register reg) { in X87LoadForUsage()
533 void LCodeGen::X87Stack::Fxch(X87Register reg, int other_slot) { in Fxch()
561 int LCodeGen::X87Stack::ArrayIndex(X87Register reg) { in ArrayIndex()
570 bool LCodeGen::X87Stack::Contains(X87Register reg) { in Contains()
578 void LCodeGen::X87Stack::Free(X87Register reg) { in Free()
657 void LCodeGen::X87Stack::PrepareToWrite(X87Register reg) { in PrepareToWrite()
667 void LCodeGen::X87Stack::CommitWrite(X87Register reg) { in CommitWrite()
691 X87Register reg = stack_[i]; in FlushIfNecessary() local
959 Register reg = ToRegister(op); in AddToTranslation() local
968 X87Register reg = ToX87Register(op); in AddToTranslation() local
1020 __ mov(esi, ToRegister(context)); in LoadContextFromDeferred() local
1023 __ mov(esi, ToOperand(context)); in LoadContextFromDeferred() local
1104 __ mov(eax, Operand::StaticVariable(count)); in DeoptimizeIf() local
1108 __ mov(eax, Immediate(FLAG_deopt_every_n_times)); in DeoptimizeIf() local
1109 __ mov(Operand::StaticVariable(count), eax); in DeoptimizeIf() local
1121 __ mov(Operand::StaticVariable(count), eax); in DeoptimizeIf() local
1439 __ mov(eax, dividend); in DoModByConstI() local
1568 __ mov(eax, edx); in DoDivByConstI() local
1662 __ mov(dividend, Immediate(kMinInt / divisor)); in DoFlooringDivByPowerOf2I() local
1773 __ mov(ToRegister(instr->temp()), left); in DoMulI() local
2012 X87Register reg = ToX87Register(instr->result()); in DoConstantD() local
2024 Register reg = ToRegister(instr->result()); in DoConstantT() local
2053 __ mov(result, FieldOperand(object, JSDate::kValueOffset)); in DoDateField() local
2057 __ mov(scratch, Operand::StaticVariable(stamp)); in DoDateField() local
2060 __ mov(result, FieldOperand(object, JSDate::kValueOffset + in DoDateField() local
2066 __ mov(Operand(esp, 0), object); in DoDateField() local
2067 __ mov(Operand(esp, 1 * kPointerSize), Immediate(index)); in DoDateField() local
2100 __ mov(string, FieldOperand(string, HeapObject::kMapOffset)); in DoSeqStringGetChar() local
2202 __ mov(left_op, immediate); in DoMathMinMax() local
2208 __ mov(left_reg, right_op); in DoMathMinMax() local
2362 Register reg = ToRegister(instr->value()); in DoBranch() local
2366 X87Register reg = ToX87Register(instr->value()); in DoBranch() local
2373 Register reg = ToRegister(instr->value()); in DoBranch() local
2430 __ mov(map, FieldOperand(reg, HeapObject::kMapOffset)); in DoBranch() local
2653 __ mov(temp1, FieldOperand(input, HeapObject::kMapOffset)); in EmitIsObject() local
2668 Register reg = ToRegister(instr->value()); in DoIsObjectAndBranch() local
2693 Register reg = ToRegister(instr->value()); in DoIsStringAndBranch() local
2723 __ mov(temp, FieldOperand(input, HeapObject::kMapOffset)); in DoIsUndetectableAndBranch() local
2802 __ mov(result, FieldOperand(input, String::kHashFieldOffset)); in DoGetCachedArrayIndex() local
2847 __ mov(temp, FieldOperand(input, HeapObject::kMapOffset)); in EmitClassOfTest() local
2857 __ mov(temp, FieldOperand(temp, Map::kConstructorOffset)); in EmitClassOfTest() local
2868 __ mov(temp, FieldOperand(temp, JSFunction::kSharedFunctionInfoOffset)); in EmitClassOfTest() local
2869 __ mov(temp, FieldOperand(temp, in EmitClassOfTest() local
2897 Register reg = ToRegister(instr->value()); in DoCmpMapAndBranch() local
2912 __ mov(ToRegister(instr->result()), factory()->false_value()); in DoInstanceOf() local
2915 __ mov(ToRegister(instr->result()), factory()->true_value()); in DoInstanceOf() local
2952 __ mov(map, FieldOperand(object, HeapObject::kMapOffset)); in DoInstanceOfKnownGlobal() local
2957 __ mov(eax, factory()->the_hole_value()); // Patched to either true or false. in DoInstanceOfKnownGlobal() local
2975 __ mov(ToRegister(instr->result()), factory()->false_value()); in DoInstanceOfKnownGlobal() local
3006 __ mov(temp, Immediate(delta)); in DoDeferredInstanceOfKnownGlobal() local
3032 __ mov(ToRegister(instr->result()), factory()->false_value()); in DoCmpT() local
3035 __ mov(ToRegister(instr->result()), factory()->true_value()); in DoCmpT() local
3053 Register reg = ToRegister(instr->parameter_count()); in EmitReturn() local
3084 __ mov(esi, Operand(ebp, StandardFrameConstants::kContextOffset)); in DoReturn() local
3089 __ mov(edx, Operand(ebp, in DoReturn() local
3094 __ mov(esp, ebp); in DoReturn() local
3116 __ mov(result, Operand::ForCell(instr->hydrogen()->cell().handle())); in DoLoadGlobalCell() local
3129 __ mov(vector, instr->hydrogen()->feedback_vector()); in EmitVectorLoadICRegisters() local
3132 __ mov(VectorLoadICDescriptor::SlotRegister(), in EmitVectorLoadICRegisters() local
3143 __ mov(LoadDescriptor::NameRegister(), instr->name()); in DoLoadGlobalGeneric() local
3167 __ mov(Operand::ForCell(cell_handle), value); in DoStoreGlobalCell() local
3175 __ mov(result, ContextOperand(context, instr->slot_index())); in DoLoadContextSlot() local
3184 __ mov(result, factory()->undefined_value()); in DoLoadContextSlot() local
3207 __ mov(target, value); in DoStoreContextSlot() local
3244 __ mov(result, FieldOperand(object, JSObject::kPropertiesOffset)); in DoLoadNamedField() local
3274 __ mov(LoadDescriptor::NameRegister(), instr->name()); in DoLoadNamedGeneric() local
3289 __ mov(result, in DoLoadFunctionPrototype() local
3302 __ mov(result, FieldOperand(result, Map::kPrototypeOffset)); in DoLoadFunctionPrototype() local
3323 __ mov(result, Operand(arguments, index * kPointerSize)); in DoAccessArgumentsAt() local
3330 __ mov(result, Operand(arguments, length, times_4, kPointerSize)); in DoAccessArgumentsAt() local
3378 __ mov(result, operand); in DoLoadKeyedExternalArray() local
3382 __ mov(result, operand); in DoLoadKeyedExternalArray() local
3432 __ mov(result, in DoLoadKeyedFixedArray() local
3514 __ mov(result, Operand(ebp, StandardFrameConstants::kCallerFPOffset)); in DoArgumentsElements() local
3515 __ mov(result, Operand(result, StandardFrameConstants::kContextOffset)); in DoArgumentsElements() local
3521 __ mov(result, Operand(ebp)); in DoArgumentsElements() local
3526 __ mov(result, Operand(ebp, StandardFrameConstants::kCallerFPOffset)); in DoArgumentsElements() local
3543 __ mov(result, Immediate(scope()->num_parameters())); in DoArgumentsLength() local
3547 __ mov(result, Operand(ebp, StandardFrameConstants::kCallerFPOffset)); in DoArgumentsLength() local
3548 __ mov(result, Operand(result, in DoArgumentsLength() local
3571 __ mov(scratch, in DoWrapReceiver() local
3597 __ mov(receiver, FieldOperand(function, JSFunction::kContextOffset)); in DoWrapReceiver() local
3599 __ mov(receiver, Operand(receiver, global_offset)); in DoWrapReceiver() local
3601 __ mov(receiver, FieldOperand(receiver, proxy_offset)); in DoWrapReceiver() local
3622 __ mov(receiver, length); in DoApplyArguments() local
3664 __ mov(result, Operand(ebp, JavaScriptFrameConstants::kFunctionOffset)); in DoThisFunction() local
3671 __ mov(result, Operand(ebp, StandardFrameConstants::kContextOffset)); in DoContext() local
3704 __ mov(esi, FieldOperand(edi, JSFunction::kContextOffset)); in CallKnownFunction() local
3709 __ mov(eax, arity); in CallKnownFunction() local
3784 __ mov(eax, instr->arity()); in DoCallJSFunction() local
3788 __ mov(esi, FieldOperand(edi, JSFunction::kContextOffset)); in DoCallJSFunction() local
3821 __ mov(tmp, FieldOperand(input_reg, HeapNumber::kExponentOffset)); in DoDeferredMathAbsTaggedHeapNumber() local
3837 if (!tmp.is(eax)) __ mov(tmp, eax); in DoDeferredMathAbsTaggedHeapNumber() local
3842 __ mov(tmp2, FieldOperand(input_reg, HeapNumber::kExponentOffset)); in DoDeferredMathAbsTaggedHeapNumber() local
3844 __ mov(FieldOperand(tmp, HeapNumber::kExponentOffset), tmp2); in DoDeferredMathAbsTaggedHeapNumber() local
3845 __ mov(tmp2, FieldOperand(input_reg, HeapNumber::kMantissaOffset)); in DoDeferredMathAbsTaggedHeapNumber() local
3846 __ mov(FieldOperand(tmp, HeapNumber::kMantissaOffset), tmp2); in DoDeferredMathAbsTaggedHeapNumber() local
4046 __ mov(esi, Operand(ebp, StandardFrameConstants::kContextOffset)); in DoMathSqrt() local
4060 __ mov(esi, Operand(ebp, StandardFrameConstants::kContextOffset)); in DoMathSqrt() local
4261 __ mov(esi, Operand(ebp, StandardFrameConstants::kContextOffset)); in DoMathExp() local
4275 __ mov(esi, Operand(ebp, StandardFrameConstants::kContextOffset)); in DoMathExp() local
4338 __ mov(ebx, isolate()->factory()->undefined_value()); in DoCallNew() local
4351 __ mov(ebx, isolate()->factory()->undefined_value()); in DoCallNewArray() local
4367 __ mov(ecx, Operand(esp, 0)); in DoCallNewArray() local
4400 __ mov(FieldOperand(function, JSFunction::kCodeEntryOffset), code_object); in DoStoreCodeEntry() local
4431 __ mov(operand, Immediate(ToInteger32(operand_value))); in DoStoreNamedField() local
4456 __ mov(FieldOperand(object, HeapObject::kMapOffset), transition); in DoStoreNamedField() local
4460 __ mov(temp_map, transition); in DoStoreNamedField() local
4461 __ mov(FieldOperand(object, HeapObject::kMapOffset), temp_map); in DoStoreNamedField() local
4471 __ mov(write_register, FieldOperand(object, JSObject::kPropertiesOffset)); in DoStoreNamedField() local
4483 __ mov(operand, immediate); in DoStoreNamedField() local
4487 __ mov(operand, handle_value); in DoStoreNamedField() local
4511 __ mov(StoreDescriptor::NameRegister(), instr->name()); in DoStoreNamedGeneric() local
4583 __ mov(operand, value); in DoStoreKeyedExternalArray() local
4623 __ mov(double_store_operand, Immediate(lower)); in DoStoreKeyedFixedDoubleArray() local
4630 __ mov(double_store_operand2, Immediate(upper)); in DoStoreKeyedFixedDoubleArray() local
4672 __ mov(operand, ToRegister(instr->value())); in DoStoreKeyedFixedArray() local
4677 __ mov(operand, immediate); in DoStoreKeyedFixedArray() local
4681 __ mov(operand, handle_value); in DoStoreKeyedFixedArray() local
4752 __ mov(FieldOperand(object_reg, HeapObject::kMapOffset), in DoTransitionElementsKind() local
4762 __ mov(ebx, to_map); in DoTransitionElementsKind() local
4858 __ mov(result, FieldOperand(result, in DoStringCharFromCode() local
4939 Register reg = ToRegister(input); in DoNumberTagI() local
4967 Register reg = ToRegister(input); in DoNumberTagU() local
4983 Register reg = ToRegister(value); in DoDeferredNumberTagIU() local
5026 __ mov(esi, Operand(ebp, StandardFrameConstants::kContextOffset)); in DoDeferredNumberTagIU() local
5053 Register reg = ToRegister(instr->result()); in DoNumberTagD() local
5078 Register reg = ToRegister(instr->result()); in DoDeferredNumberTagD() local
5087 __ mov(esi, Operand(ebp, StandardFrameConstants::kContextOffset)); in DoDeferredNumberTagD() local
5169 __ mov(temp_reg, FieldOperand(input_reg, HeapNumber::kExponentOffset)); in EmitNumberUntagDNoSSE2() local
5185 __ mov(temp_reg, input_reg); in EmitNumberUntagDNoSSE2() local
5417 __ mov(temp, FieldOperand(input, HeapObject::kMapOffset)); in DoCheckInstanceType() local
5461 Register reg = ToRegister(instr->value()); in DoCheckValue() local
5518 Register reg = ToRegister(input); in DoCheckMaps() local
5591 __ mov(scratch, FieldOperand(input_reg, HeapNumber::kExponentOffset)); in DoClampTToUint8NoSSE2() local
5592 __ mov(scratch3, FieldOperand(input_reg, HeapNumber::kMantissaOffset)); in DoClampTToUint8NoSSE2() local
5599 __ mov(scratch2, scratch); in DoClampTToUint8NoSSE2() local
5629 __ mov(scratch2, scratch); in DoClampTToUint8NoSSE2() local
5637 __ mov(scratch2, Immediate(1 << one_half_bit_shift)); in DoClampTToUint8NoSSE2() local
5641 __ mov(scratch2, scratch); in DoClampTToUint8NoSSE2() local
5649 __ mov(result_reg, scratch); in DoClampTToUint8NoSSE2() local
5665 __ mov(result_reg, Immediate(255)); in DoClampTToUint8NoSSE2() local
5675 __ mov(result_reg, input_reg); in DoClampTToUint8NoSSE2() local
5690 __ mov(result_reg, Operand(esp, kPointerSize)); in DoDoubleBits() local
5692 __ mov(result_reg, Operand(esp, 0)); in DoDoubleBits() local
5705 __ mov(Operand(esp, 0), lo_reg); in DoConstructDouble() local
5706 __ mov(Operand(esp, kPointerSize), hi_reg); in DoConstructDouble() local
5765 __ mov(temp, (size / kPointerSize) - 1); in DoAllocate() local
5773 __ mov(FieldOperand(result, temp, times_pointer_size, 0), in DoAllocate() local
5844 __ mov(ebx, FieldOperand(ecx, literal_offset)); in DoRegExpLiteral() local
5855 __ mov(ebx, eax); in DoRegExpLiteral() local
5873 __ mov(edx, FieldOperand(ebx, i)); in DoRegExpLiteral() local
5874 __ mov(ecx, FieldOperand(ebx, i + kPointerSize)); in DoRegExpLiteral() local
5875 __ mov(FieldOperand(eax, i), edx); in DoRegExpLiteral() local
5876 __ mov(FieldOperand(eax, i + kPointerSize), ecx); in DoRegExpLiteral() local
5879 __ mov(edx, FieldOperand(ebx, size - kPointerSize)); in DoRegExpLiteral() local
5880 __ mov(FieldOperand(eax, size - kPointerSize), edx); in DoRegExpLiteral() local
5893 __ mov(ebx, Immediate(instr->hydrogen()->shared_info())); in DoFunctionLiteral() local
5965 __ mov(input, FieldOperand(input, HeapObject::kMapOffset)); in EmitTypeofIs() local
6008 __ mov(temp, Operand(ebp, StandardFrameConstants::kCallerFPOffset)); in EmitIsConstructCall() local
6015 __ mov(temp, Operand(temp, StandardFrameConstants::kCallerFPOffset)); in EmitIsConstructCall() local
6072 __ mov(esi, Operand(ebp, StandardFrameConstants::kContextOffset)); in DoDeferredStackCheck() local
6168 __ mov(eax, FieldOperand(eax, HeapObject::kMapOffset)); in DoForInPrepareMap() local
6190 __ mov(result, isolate()->factory()->empty_fixed_array()); in DoForInCacheArray() local
6195 __ mov(result, in DoForInCacheArray() local
6197 __ mov(result, in DoForInCacheArray() local
6265 __ mov(object, FieldOperand(object, in DoLoadFieldByIndex() local
6272 __ mov(object, FieldOperand(object, JSObject::kPropertiesOffset)); in DoLoadFieldByIndex() local
6275 __ mov(object, FieldOperand(object, in DoLoadFieldByIndex() local
6286 __ mov(Operand(ebp, StandardFrameConstants::kContextOffset), context); in DoStoreFrameContext() local