Lines Matching defs:rbx

550       && (allocator()->count(rbx) == (frame()->is_used(rbx) ? 1 : 0))
842 __ movq(rbx, Operand(rsp, 2 * kPointerSize));
844 __ movq(Operand(rsp, 3 * kPointerSize), rbx);
1731 __ movq(rbx, FieldOperand(rcx, HeapObject::kMapOffset));
1732 __ movq(rdx, FieldOperand(rbx, Map::kInstanceDescriptorsOffset));
1749 __ movq(rcx, FieldOperand(rbx, Map::kPrototypeOffset));
1815 SmiIndex index = masm_->SmiToIndex(rbx, rax, kPointerSizeLog2);
1816 __ movq(rbx,
1820 // permanent slow case rax: current iteration count rbx: i'th entry
1826 // rbx: i'th entry of the enum cache
1835 frame_->EmitPush(rbx); // push entry
1837 __ movq(rbx, rax);
1840 __ CompareRoot(rbx, Heap::kNullValueRootIndex);
1846 frame_->EmitPush(rbx);
3964 __ movq(rbx, rsp); // Save in AMD-64 abi callee-saved register.
3973 __ movq(rsp, rbx);
6312 __ AllocateInNewSpace(JSFunction::kSize, rax, rbx, rcx, &gc, TAG_OBJECT);
6332 __ movq(rbx, FieldOperand(rdx, offset));
6333 __ movq(FieldOperand(rax, offset), rbx);
6356 rax, rbx, rcx, &gc, TAG_OBJECT);
6367 __ xor_(rbx, rbx); // Set to NULL.
6370 __ movq(Operand(rax, Context::SlotOffset(Context::PREVIOUS_INDEX)), rbx);
6371 __ movq(Operand(rax, Context::SlotOffset(Context::EXTENSION_INDEX)), rbx);
6374 __ movq(rbx, Operand(rsi, Context::SlotOffset(Context::GLOBAL_INDEX)));
6375 __ movq(Operand(rax, Context::SlotOffset(Context::GLOBAL_INDEX)), rbx);
6378 __ LoadRoot(rbx, Heap::kUndefinedValueRootIndex);
6380 __ movq(Operand(rax, Context::SlotOffset(i)), rbx);
6417 __ AllocateInNewSpace(size, rax, rbx, rdx, &slow_case, TAG_OBJECT);
6422 __ movq(rbx, FieldOperand(rcx, i));
6423 __ movq(FieldOperand(rax, i), rbx);
6436 __ movq(rbx, FieldOperand(rcx, i));
6437 __ movq(FieldOperand(rdx, i), rbx);
6464 __ movzxbq(rbx, FieldOperand(rdx, Map::kBitFieldOffset));
6465 __ and_(rbx, Immediate(1 << Map::kIsUndetectable));
6589 // Trashes rdi and rbx. Dest is rcx. Source cannot be rcx or one of the
6595 ASSERT(!source.is(rcx) && !source.is(rdi) && !source.is(rbx));
6597 Register scratch = rbx;
6756 __ AllocateHeapNumber(rcx, rbx, &slow);
6854 __ movq(rbx, FieldOperand(rcx, JSRegExp::kDataTagOffset));
6855 __ SmiCompare(rbx, Smi::FromInt(JSRegExp::IRREGEXP));
6873 Condition is_string = masm->IsObjectStringType(rax, rbx, rbx);
6875 // Get the length of the string to rbx.
6876 __ movl(rbx, FieldOperand(rax, String::kLengthOffset));
6878 // rbx: Length of subject string
6885 __ cmpl(rax, rbx);
6896 __ movq(rbx, FieldOperand(rax, JSArray::kElementsOffset));
6897 __ movq(rax, FieldOperand(rbx, HeapObject::kMapOffset));
6903 __ movl(rax, FieldOperand(rbx, FixedArray::kLengthOffset));
6914 __ movq(rbx, FieldOperand(rax, HeapObject::kMapOffset));
6915 __ movzxbl(rbx, FieldOperand(rbx, Map::kInstanceTypeOffset));
6916 __ andb(rbx, Immediate(kStringRepresentationEncodingMask));
6920 __ testb(rbx, Immediate(kIsNotStringMask | kStringRepresentationMask));
6928 __ movl(rdx, rbx);
6936 __ movq(rbx, FieldOperand(rax, HeapObject::kMapOffset));
6937 __ movzxbl(rbx, FieldOperand(rbx, Map::kInstanceTypeOffset));
6939 __ testb(rbx, Immediate(kStringRepresentationMask));
6941 __ andb(rbx, Immediate(kStringRepresentationEncodingMask));
6945 // rbx: suject string type & kStringRepresentationEncodingMask
6949 __ cmpb(rbx, Immediate(kStringTag | kSeqStringTag | kTwoByteStringTag));
6952 __ cmpb(rbx, Immediate(kStringTag | kSeqStringTag | kAsciiStringTag));
6977 __ movq(rbx, Operand(rsp, kPreviousIndexOffset));
6978 __ SmiToInteger64(rbx, rbx); // Previous index from smi.
6981 // rbx: previous index
7031 // rbx: previous index
7042 __ lea(arg3, FieldOperand(rax, rbx, times_1, SeqAsciiString::kHeaderSize));
7046 __ lea(arg3, FieldOperand(rax, rbx, times_2, SeqTwoByteString::kHeaderSize));
7050 __ movq(arg2, rbx);
7097 __ movq(rbx, FieldOperand(rax, JSArray::kElementsOffset));
7099 // rbx: last_match_info backing store (FixedArray)
7103 __ movq(FieldOperand(rbx, RegExpImpl::kLastCaptureCountOffset),
7107 __ movq(FieldOperand(rbx, RegExpImpl::kLastSubjectOffset), rax);
7108 __ movq(rcx, rbx);
7111 __ movq(FieldOperand(rbx, RegExpImpl::kLastInputOffset), rax);
7112 __ movq(rcx, rbx);
7118 // rbx: last_match_info backing store (FixedArray)
7138 __ movq(FieldOperand(rbx,
7220 __ SelectNonSmi(rbx, rax, rdx, &not_smis);
7223 __ Cmp(FieldOperand(rbx, HeapObject::kMapOffset),
7227 // Return non-equal. ebx (the lower half of rbx) is not zero.
7228 __ movq(rax, rbx);
7315 __ JumpIfNotBothSequentialAsciiStrings(rdx, rax, rcx, rbx, &call_builtin);
7322 rbx,
7424 __ TryGetFunctionPrototype(rdx, rbx, &slow);
7427 __ JumpIfSmi(rbx, &slow);
7428 __ CmpObjectType(rbx, FIRST_JS_OBJECT_TYPE, kScratchRegister);
7433 // Register mapping: rax is object map and rbx is function prototype.
7440 __ cmpq(rcx, rbx);
7490 SmiIndex index = masm->SmiToIndex(rbx, rcx, kPointerSizeLog2);
7506 __ AllocateInNewSpace(rcx, rax, rdx, rbx, &runtime, TAG_OBJECT);
7581 __ movq(rbx, Operand(rbp, StandardFrameConstants::kCallerFPOffset));
7582 __ SmiCompare(Operand(rbx, StandardFrameConstants::kContextOffset),
7594 __ lea(rbx, Operand(rbp, index.reg, index.scale, 0));
7596 __ movq(rax, Operand(rbx, index.reg, index.scale, kDisplacement));
7603 __ movq(rcx, Operand(rbx, ArgumentsAdaptorFrameConstants::kLengthOffset));
7609 __ lea(rbx, Operand(rbx, index.reg, index.scale, 0));
7611 __ movq(rax, Operand(rbx, index.reg, index.scale, kDisplacement));
7617 __ pop(rbx); // Return address.
7619 __ push(rbx);
7679 // rbx: pointer to C function (C callee-saved).
7734 __ call(rbx);
7902 __ Set(rbx, 0);
7911 // rbx: pointer to C function (C callee-saved)
7930 // rbx: pointer to builtin function (C callee-saved).
8003 __ push(rbx);
8081 __ pop(rbx);
8193 __ movq(rbx, FieldOperand(rdx, HeapObject::kMapOffset));
8194 __ CompareRoot(rbx, Heap::kHeapNumberMapRootIndex);
8216 __ movq(rbx, FieldOperand(rax, HeapObject::kMapOffset));
8217 __ CompareRoot(rbx, Heap::kHeapNumberMapRootIndex);
8453 right = rbx;
8455 __ movq(rbx, rax);
8560 __ movq(rax, rbx);
8563 __ AllocateHeapNumber(rbx, rcx, slow);
8572 __ movsd(FieldOperand(rbx, HeapNumber::kValueOffset), xmm4);
8573 __ movq(rax, rbx);
8588 // Operands are in rax, rbx at this point.
8590 __ movq(rax, rbx);
8653 __ AllocateHeapNumber(rbx, rcx, &call_runtime);
8654 __ movq(rdx, rbx);
8666 __ AllocateHeapNumber(rbx, rcx, &call_runtime);
8667 __ movq(rax, rbx);
8711 __ movsxlq(rbx, rax); // rbx: sign extended 32-bit result
8728 __ movq(Operand(rsp, 1 * kPointerSize), rbx);
8946 __ movl(rbx, FieldOperand(rax, String::kLengthOffset));
8947 __ testl(rbx, rbx);
8956 // rbx: length of first string
8964 __ addl(rbx, rcx);
8967 __ cmpl(rbx, Immediate(2));
8979 __ cmpl(rbx, Immediate(String::kMinNonFlatLength));
8983 __ cmpl(rbx, Immediate(String::kMaxLength));
9003 __ movl(FieldOperand(rcx, ConsString::kLengthOffset), rbx);
9045 __ AllocateAsciiString(rcx, rbx, rdi, r14, r15, &string_add_runtime);
9047 __ movq(rbx, rcx);
9054 // rbx: result string
9062 // rbx: result string
9067 __ movq(rax, rbx);
9073 // rbx: length of resulting flat string
9082 __ AllocateTwoByteString(rcx, rbx, rdi, r14, r15, &string_add_runtime);
9084 __ movq(rbx, rcx);
9091 // rbx: result string
9099 // rbx: result string
9104 __ movq(rax, rbx);
9214 Condition is_string = masm->IsObjectStringType(rax, rbx, rbx);
9218 // rbx: instance type
9232 // rbx: instance type
9236 __ and_(rbx, Immediate(kStringRepresentationMask | kStringEncodingMask));
9237 __ cmpb(rbx, Immediate(kSeqStringTag | kAsciiStringTag));
9241 __ AllocateAsciiString(rax, rcx, rbx, rdx, rdi, &runtime);
9250 __ movq(rbx, Operand(rsp, kFromOffset));
9252 SmiIndex smi_as_index = masm->SmiToIndex(rbx, rbx, times_1);
9269 // rbx: instance type & kStringRepresentationMask | kStringEncodingMask
9272 __ cmpb(rbx, Immediate(kSeqStringTag | kTwoByteStringTag));
9276 __ AllocateTwoByteString(rax, rcx, rbx, rdx, rdi, &runtime);
9285 __ movq(rbx, Operand(rsp, kFromOffset));
9287 SmiIndex smi_as_index = masm->SmiToIndex(rbx, rbx, times_2);
9415 __ JumpIfNotBothSequentialAsciiStrings(rdx, rax, rcx, rbx, &runtime);
9419 GenerateCompareFlatAsciiStrings(masm, rdx, rax, rcx, rbx, rdi, r8);