Lines Matching refs:FirstMI
873 MachineInstr *FirstMI = I;
876 unsigned Opc = FirstMI->getOpcode();
877 bool MayLoad = FirstMI->mayLoad();
878 bool IsUnscaled = isUnscaledLdSt(FirstMI);
879 unsigned Reg = getLdStRegOp(FirstMI).getReg();
880 unsigned BaseReg = getLdStBaseOp(FirstMI).getReg();
881 int Offset = getLdStOffsetOp(FirstMI).getImm();
890 if (FirstMI->modifiesRegister(BaseReg, TRI))
896 int OffsetStride = IsUnscaled ? getMemScale(FirstMI) : 1;
907 // Remember any instructions that read/write memory between FirstMI and MI.
1011 if (!ModifiedRegs[getLdStRegOp(FirstMI).getReg()] &&
1012 !(MayLoad && UsedRegs[getLdStRegOp(FirstMI).getReg()]) &&
1013 !mayAlias(FirstMI, MemInsns, TII)) {