Home | History | Annotate | Download | only in X86

Lines Matching refs:Op

121 inline static bool isLeaMem(const MachineInstr &MI, unsigned Op) {
122 if (MI.getOperand(Op).isFI())
124 return Op + X86::AddrSegmentReg <= MI.getNumOperands() &&
125 MI.getOperand(Op + X86::AddrBaseReg).isReg() &&
126 isScale(MI.getOperand(Op + X86::AddrScaleAmt)) &&
127 MI.getOperand(Op + X86::AddrIndexReg).isReg() &&
128 (MI.getOperand(Op + X86::AddrDisp).isImm() ||
129 MI.getOperand(Op + X86::AddrDisp).isGlobal() ||
130 MI.getOperand(Op + X86::AddrDisp).isCPI() ||
131 MI.getOperand(Op + X86::AddrDisp).isJTI());
134 inline static bool isMem(const MachineInstr &MI, unsigned Op) {
135 if (MI.getOperand(Op).isFI())
137 return Op + X86::AddrNumOperands <= MI.getNumOperands() &&
138 MI.getOperand(Op + X86::AddrSegmentReg).isReg() && isLeaMem(MI, Op);
564 bool isFrameOperand(const MachineInstr &MI, unsigned int Op,