Home | History | Annotate | Download | only in X86

Lines Matching refs:Op

112 inline static bool isLeaMem(const MachineInstr *MI, unsigned Op) {
113 if (MI->getOperand(Op).isFI()) return true;
114 return Op+4 <= MI->getNumOperands() &&
115 MI->getOperand(Op ).isReg() && isScale(MI->getOperand(Op+1)) &&
116 MI->getOperand(Op+2).isReg() &&
117 (MI->getOperand(Op+3).isImm() ||
118 MI->getOperand(Op+3).isGlobal() ||
119 MI->getOperand(Op+3).isCPI() ||
120 MI->getOperand(Op+3).isJTI());
123 inline static bool isMem(const MachineInstr *MI, unsigned Op) {
124 if (MI->getOperand(Op).isFI()) return true;
125 return Op+5 <= MI->getNumOperands() &&
126 MI->getOperand(Op+4).isReg() &&
127 isLeaMem(MI, Op);
423 bool isFrameOperand(const MachineInstr *MI, unsigned int Op,