Home | History | Annotate | Download | only in InstPrinter

Lines Matching refs:MI

41 void HexagonInstPrinter::printInst(const MCInst *MI, raw_ostream &O,
43 printInst((const HexagonMCInst*)(MI), O, Annot);
46 void HexagonInstPrinter::printInst(const HexagonMCInst *MI, raw_ostream &O,
51 if (MI->getOpcode() == Hexagon::ENDLOOP0) {
53 assert(MI->isPacketEnd() && "Loop-end must also end the packet");
55 if (MI->isPacketStart()) {
62 Nop.setPacketStart (MI->isPacketStart());
67 if (MI->isPacketEnd())
70 printInstruction(MI, O);
74 if (MI->isPacketStart())
77 printInstruction(MI, O);
80 if (MI->isPacketEnd())
89 void HexagonInstPrinter::printOperand(const MCInst *MI, unsigned OpNo,
91 const MCOperand& MO = MI->getOperand(OpNo);
98 printImmOperand(MI, OpNo, O);
104 void HexagonInstPrinter::printImmOperand(const MCInst *MI, unsigned OpNo,
106 const MCOperand& MO = MI->getOperand(OpNo);
111 O << MI->getOperand(OpNo).getImm();
117 void HexagonInstPrinter::printExtOperand(const MCInst *MI, unsigned OpNo,
119 const HexagonMCInst *HMCI = static_cast<const HexagonMCInst*>(MI);
122 printOperand(MI, OpNo, O);
125 void HexagonInstPrinter::printUnsignedImmOperand(const MCInst *MI,
127 O << MI->getOperand(OpNo).getImm();
130 void HexagonInstPrinter::printNegImmOperand(const MCInst *MI, unsigned OpNo,
132 O << -MI->getOperand(OpNo).getImm();
135 void HexagonInstPrinter::printNOneImmOperand(const MCInst *MI, unsigned OpNo,
140 void HexagonInstPrinter::printMEMriOperand(const MCInst *MI, unsigned OpNo,
142 const MCOperand& MO0 = MI->getOperand(OpNo);
143 const MCOperand& MO1 = MI->getOperand(OpNo + 1);
149 void HexagonInstPrinter::printFrameIndexOperand(const MCInst *MI, unsigned OpNo,
151 const MCOperand& MO0 = MI->getOperand(OpNo);
152 const MCOperand& MO1 = MI->getOperand(OpNo + 1);
157 void HexagonInstPrinter::printGlobalOperand(const MCInst *MI, unsigned OpNo,
159 assert(MI->getOperand(OpNo).isExpr() && "Expecting expression");
161 printOperand(MI, OpNo, O);
164 void HexagonInstPrinter::printJumpTable(const MCInst *MI, unsigned OpNo,
166 assert(MI->getOperand(OpNo).isExpr() && "Expecting expression");
168 printOperand(MI, OpNo, O);
171 void HexagonInstPrinter::printConstantPool(const MCInst *MI, unsigned OpNo,
173 assert(MI->getOperand(OpNo).isExpr() && "Expecting expression");
175 printOperand(MI, OpNo, O);
178 void HexagonInstPrinter::printBranchOperand(const MCInst *MI, unsigned OpNo,
185 void HexagonInstPrinter::printCallOperand(const MCInst *MI, unsigned OpNo,
189 void HexagonInstPrinter::printAbsAddrOperand(const MCInst *MI, unsigned OpNo,
193 void HexagonInstPrinter::printPredicateOperand(const MCInst *MI, unsigned OpNo,
197 void HexagonInstPrinter::printSymbol(const MCInst *MI, unsigned OpNo,
199 assert(MI->getOperand(OpNo).isImm() && "Unknown symbol operand");
202 printOperand(MI, OpNo, O);