Lines Matching defs:index

42 Operand StackArgumentsAccessor::GetArgumentOperand(int index) const {
43 DCHECK_GE(index, 0);
46 return Operand(rsp, kPCOnStackSize + index * kSystemPointerSize);
159 Operand TurboAssembler::RootAsOperand(RootIndex index) {
161 return Operand(kRootRegister, RootRegisterOffsetForRootIndex(index));
164 void TurboAssembler::LoadRoot(Register destination, RootIndex index) {
166 movq(destination, RootAsOperand(index));
169 void MacroAssembler::PushRoot(RootIndex index) {
171 Push(RootAsOperand(index));
174 void TurboAssembler::CompareRoot(Register with, RootIndex index) {
176 if (base::IsInRange(index, RootIndex::kFirstStrongOrReadOnlyRoot,
178 cmp_tagged(with, RootAsOperand(index));
181 cmpq(with, RootAsOperand(index));
185 void TurboAssembler::CompareRoot(Operand with, RootIndex index) {
188 LoadRoot(kScratchRegister, index);
189 if (base::IsInRange(index, RootIndex::kFirstStrongOrReadOnlyRoot,
1439 // We have to sign extend the index register to 64-bit as the SMI might
1692 EmbeddedObjectIndex index = AddEmbeddedObject(object);
1693 DCHECK(is_uint32(index));
1694 movl(result, Immediate(static_cast<int>(index), rmode));
1742 SmiIndex index = SmiToIndex(count, count, kSystemPointerSizeLog2);
1743 leaq(rsp, Operand(rsp, index.reg, index.scale, receiver_bytes));
1889 // The builtin_index register contains the builtin index as a Smi.
1896 // The builtin_index register contains the builtin index as a Smi.
2964 void MacroAssembler::LoadNativeContextSlot(Register dst, int index) {
2972 LoadTaggedPointerField(dst, Operand(dst, Context::SlotOffset(index)));