reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Target/ARM/Thumb2InstrInfo.cpp
  482     Offset += MI.getOperand(FrameRegIdx+1).getImm();
  485     if (Offset == 0 && getInstrPredicate(MI, PredReg) == ARMCC::AL &&
  500     if (Offset < 0) {
  501       Offset = -Offset;
  501       Offset = -Offset;
  509     if (ARM_AM::getT2SOImmVal(Offset) != -1) {
  511       MI.getOperand(FrameRegIdx+1).ChangeToImmediate(Offset);
  515       Offset = 0;
  519     if (Offset < 4096 &&
  524       MI.getOperand(FrameRegIdx+1).ChangeToImmediate(Offset);
  528       Offset = 0;
  534     unsigned RotAmt = countLeadingZeros<unsigned>(Offset);
  535     unsigned ThisImmVal = Offset & ARM_AM::rotr32(0xff000000U, RotAmt);
  538     Offset &= ~ThisImmVal;
  558         return Offset == 0;
  573       Offset += MI.getOperand(FrameRegIdx+1).getImm();
  574       if (Offset < 0) {
  578         Offset = -Offset;
  578         Offset = -Offset;
  591       Offset += InstrOffs * 4;
  592       assert((Offset & (Scale-1)) == 0 && "Can't encode this offset!");
  593       if (Offset < 0) {
  594         Offset = -Offset;
  594         Offset = -Offset;
  605       Offset += InstrOffs * 2;
  606       assert((Offset & (Scale-1)) == 0 && "Can't encode this offset!");
  607       if (Offset < 0) {
  608         Offset = -Offset;
  608         Offset = -Offset;
  614       Offset += MI.getOperand(FrameRegIdx + 1).getImm();
  623       assert((Offset & OffsetMask) == 0 && "Can't encode this offset!");
  626       Offset += MI.getOperand(FrameRegIdx + 1).getImm() * 4;
  630       assert((Offset & 3) == 0 && "Can't encode this offset!");
  632       Offset += MI.getOperand(FrameRegIdx + 1).getImm() * 4;
  635       assert((Offset & 3) == 0 && "Can't encode this offset!");
  649     int ImmedOffset = Offset / Scale;
  651     if ((unsigned)Offset <= Mask * Scale &&
  671       Offset = 0;
  689     Offset &= ~(Mask*Scale);
  692   Offset = (isSub) ? -Offset : Offset;
  692   Offset = (isSub) ? -Offset : Offset;
  692   Offset = (isSub) ? -Offset : Offset;
  693   return Offset == 0 && (Register::isVirtualRegister(FrameReg) ||