Lines Matching refs:OSE
77 static void emitOperand(const MCOperand &Op, EndianWriter &OSE) { in emitOperand() argument
80 OSE.write<uint32_t>(Register::virtReg2Index(Op.getReg()) + 1); in emitOperand()
82 OSE.write<uint32_t>(Op.getImm()); in emitOperand()
90 static void emitTypedInstrOperands(const MCInst &MI, EndianWriter &OSE) { in emitTypedInstrOperands() argument
92 emitOperand(MI.getOperand(1), OSE); in emitTypedInstrOperands()
93 emitOperand(MI.getOperand(0), OSE); in emitTypedInstrOperands()
95 emitOperand(MI.getOperand(i), OSE); in emitTypedInstrOperands()
99 static void emitUntypedInstrOperands(const MCInst &MI, EndianWriter &OSE) { in emitUntypedInstrOperands() argument
101 emitOperand(Op, OSE); in emitUntypedInstrOperands()
107 EndianWriter OSE(OS, support::little); in encodeInstruction() local
113 OSE.write<uint32_t>(FirstWord); in encodeInstruction()
117 emitTypedInstrOperands(MI, OSE); in encodeInstruction()
119 emitUntypedInstrOperands(MI, OSE); in encodeInstruction()