Home | History | Annotate | Download | only in InstPrinter

Lines Matching refs:Op

149   const MCOperand &Op = MI->getOperand(OpNo);
150 if (Op.isReg())
151 OS << "%" << getRegisterName(Op.getReg());
152 else if (Op.isImm())
153 OS << formatHex(Op.getImm());
155 assert(Op.isExpr() && "Expected an expression");
156 Op.getExpr()->print(OS, &MAI);
162 const MCOperand &Op = MI->getOperand(OpNo);
163 if (Op.isImm()) {
164 OS << '[' << formatHex(Op.getImm()) << ']';
167 assert(Op.isExpr() && "Expected an expression");
169 Op.getExpr()->print(OS, &MAI);
176 const MCOperand &Op = MI->getOperand(OpNo);
177 if (Op.isImm()) {
178 OS << formatHex(Op.getImm() << 16);
181 assert(Op.isExpr() && "Expected an expression");
182 Op.getExpr()->print(OS, &MAI);
188 const MCOperand &Op = MI->getOperand(OpNo);
189 if (Op.isImm()) {
190 OS << formatHex((Op.getImm() << 16) | 0xffff);
193 assert(Op.isExpr() && "Expected an expression");
194 Op.getExpr()->print(OS, &MAI);
200 const MCOperand &Op = MI->getOperand(OpNo);
201 if (Op.isImm()) {
202 OS << formatHex(0xffff0000 | Op.getImm());
205 assert(Op.isExpr() && "Expected an expression");
206 Op.getExpr()->print(OS, &MAI);
258 // [ Base OP Offset ]