Lines Matching refs:Offset
458 MachineInstr &MI = *II; // ; SPILL_CR <SrcReg>, <offset>, <FI>
550 // Figure out if the offset in the instruction is shifted right two bits. This
563 // Now add the frame object offset to the offset from r1.
564 int Offset = MFI->getObjectOffset(FrameIndex);
566 Offset += MI.getOperand(OffsetOperandNo).getImm();
568 Offset += MI.getOperand(OffsetOperandNo).getImm() << 2;
572 // to Offset to get the correct offset.
576 Offset += MFI->getStackSize();
578 // If we can, encode the offset directly into the instruction. If this is a
584 if (isInt<16>(Offset) && (!isIXAddr || (Offset & 3) == 0)) {
586 Offset >>= 2; // The actual encoded value has the low two bits zero.
587 MI.getOperand(OffsetOperandNo).ChangeToImmediate(Offset);
591 // The offset doesn't fit into a single register, scavenge one to build the
592 // offset in.
602 // Insert a set of rA with the full offset value before the ld, st, or add
604 .addImm(Offset >> 16);
607 .addImm(Offset);