Lines Matching defs:Inst
112 bool mayNeedRelaxation(const MCInst &Inst) const;
119 void relaxInstruction(const MCInst &Inst, MCInst &Res) const;
226 bool X86AsmBackend::mayNeedRelaxation(const MCInst &Inst) const {
228 if (getRelaxedOpcodeBranch(Inst.getOpcode()) != Inst.getOpcode())
235 if (getRelaxedOpcodeArith(Inst.getOpcode()) == Inst.getOpcode())
242 for (unsigned i = 0; i < Inst.getNumOperands(); ++i) {
243 const MCOperand &Op = Inst.getOperand(i);
266 void X86AsmBackend::relaxInstruction(const MCInst &Inst, MCInst &Res) const {
268 unsigned RelaxedOp = getRelaxedOpcode(Inst.getOpcode());
270 if (RelaxedOp == Inst.getOpcode()) {
273 Inst.dump_pretty(OS);
278 Res = Inst;