Home | History | Annotate | Download | only in InstPrinter

Lines Matching refs:MI

39 void HexagonInstPrinter::printInst(const MCInst *MI, raw_ostream &O,
41 printInst((const HexagonMCInst*)(MI), O, Annot);
44 void HexagonInstPrinter::printInst(const HexagonMCInst *MI, raw_ostream &O,
50 if (MI->getOpcode() == Hexagon::ENDLOOP0) {
52 assert(MI->isEndPacket() && "Loop end must also end the packet");
54 if (MI->isStartPacket()) {
61 Nop.setStartPacket (MI->isStartPacket());
66 if (MI->isEndPacket())
69 printInstruction(MI, O);
73 if (MI->isStartPacket())
76 printInstruction(MI, O);
79 if (MI->isEndPacket())
88 void HexagonInstPrinter::printOperand(const MCInst *MI, unsigned OpNo,
90 const MCOperand& MO = MI->getOperand(OpNo);
97 printImmOperand(MI, OpNo, O);
103 void HexagonInstPrinter::printImmOperand(const MCInst *MI, unsigned OpNo,
105 O << MI->getOperand(OpNo).getImm();
108 void HexagonInstPrinter::printExtOperand(const MCInst *MI, unsigned OpNo,
110 O << MI->getOperand(OpNo).getImm();
113 void HexagonInstPrinter::printUnsignedImmOperand(const MCInst *MI,
115 O << MI->getOperand(OpNo).getImm();
118 void HexagonInstPrinter::printNegImmOperand(const MCInst *MI, unsigned OpNo,
120 O << -MI->getOperand(OpNo).getImm();
123 void HexagonInstPrinter::printNOneImmOperand(const MCInst *MI, unsigned OpNo,
128 void HexagonInstPrinter::printMEMriOperand(const MCInst *MI, unsigned OpNo,
130 const MCOperand& MO0 = MI->getOperand(OpNo);
131 const MCOperand& MO1 = MI->getOperand(OpNo + 1);
137 void HexagonInstPrinter::printFrameIndexOperand(const MCInst *MI, unsigned OpNo,
139 const MCOperand& MO0 = MI->getOperand(OpNo);
140 const MCOperand& MO1 = MI->getOperand(OpNo + 1);
145 void HexagonInstPrinter::printGlobalOperand(const MCInst *MI, unsigned OpNo,
147 assert(MI->getOperand(OpNo).isExpr() && "Expecting expression");
149 printOperand(MI, OpNo, O);
152 void HexagonInstPrinter::printJumpTable(const MCInst *MI, unsigned OpNo,
154 assert(MI->getOperand(OpNo).isExpr() && "Expecting expression");
156 printOperand(MI, OpNo, O);
159 void HexagonInstPrinter::printConstantPool(const MCInst *MI, unsigned OpNo,
161 assert(MI->getOperand(OpNo).isExpr() && "Expecting expression");
163 printOperand(MI, OpNo, O);
166 void HexagonInstPrinter::printBranchOperand(const MCInst *MI, unsigned OpNo,
173 void HexagonInstPrinter::printCallOperand(const MCInst *MI, unsigned OpNo,
177 void HexagonInstPrinter::printAbsAddrOperand(const MCInst *MI, unsigned OpNo,
181 void HexagonInstPrinter::printPredicateOperand(const MCInst *MI, unsigned OpNo,
185 void HexagonInstPrinter::printSymbol(const MCInst *MI, unsigned OpNo,
187 const MCOperand& MO = MI->getOperand(OpNo);
192 printOperand(MI, OpNo, O);
195 printOperand(MI, OpNo, O);