Lines Matching refs:CB
46 void encodeInstruction(const MCInst &MI, SmallVectorImpl<char> &CB,
77 static void emitOperand(const MCOperand &Op, SmallVectorImpl<char> &CB) { in emitOperand() argument
81 CB, Register::virtReg2Index(Op.getReg()) + 1, llvm::endianness::little); in emitOperand()
83 support::endian::write(CB, static_cast<uint32_t>(Op.getImm()), in emitOperand()
93 SmallVectorImpl<char> &CB) { in emitTypedInstrOperands() argument
95 emitOperand(MI.getOperand(1), CB); in emitTypedInstrOperands()
96 emitOperand(MI.getOperand(0), CB); in emitTypedInstrOperands()
98 emitOperand(MI.getOperand(i), CB); in emitTypedInstrOperands()
103 SmallVectorImpl<char> &CB) { in emitUntypedInstrOperands() argument
105 emitOperand(Op, CB); in emitUntypedInstrOperands()
109 SmallVectorImpl<char> &CB, in encodeInstruction() argument
116 support::endian::write(CB, FirstWord, llvm::endianness::little); in encodeInstruction()
120 emitTypedInstrOperands(MI, CB); in encodeInstruction()
122 emitUntypedInstrOperands(MI, CB); in encodeInstruction()