Lines Matching refs:CurByte
61 void EmitByte(unsigned char C, unsigned &CurByte, raw_ostream &OS) const {
68 ++CurByte;
71 void EmitRawByte(unsigned char C, unsigned &CurByte, raw_ostream &OS) const {
73 ++CurByte;
76 void EmitConstant(uint64_t Val, unsigned Size, unsigned &CurByte,
81 EmitByte(Val & 255, CurByte, OS);
86 void EmitIMM(const MCOperand &imm, unsigned &CurByte, raw_ostream &OS) const;
87 void EmitIMM(const MCInst &MI, unsigned &CurByte, raw_ostream &OS) const;
90 unsigned &CurByte, raw_ostream &OS,
124 EmitIMM(const MCOperand &imm, unsigned &CurByte, raw_ostream &OS) const {
127 EmitByte(0x0D, CurByte, OS);
128 EmitByte(0x00, CurByte, OS);
129 EmitRawByte((val >> 24) & 0xFF, CurByte, OS);
130 EmitRawByte((val >> 16) & 0xFF, CurByte, OS);
135 EmitIMM(const MCInst &MI, unsigned &CurByte,raw_ostream &OS) const {
142 EmitByte(0x0D, CurByte, OS);
143 EmitByte(0x00, CurByte, OS);
144 EmitRawByte(0, CurByte, OS);
145 EmitRawByte(0, CurByte, OS);
150 EmitImmediate(const MCInst &MI, unsigned opNo, bool pcrel, unsigned &CurByte,
157 EmitIMM(oper, CurByte, OS);
184 unsigned CurByte = 0;
187 EmitIMM(MI,CurByte,OS);
195 EmitImmediate(MI, 2, false, CurByte, OS, Fixups);
198 EmitImmediate(MI, 1, false, CurByte, OS, Fixups);
201 EmitImmediate(MI, 1, true, CurByte, OS, Fixups);
204 EmitImmediate(MI, 1, true, CurByte, OS, Fixups);
206 EmitImmediate(MI, 0, true, CurByte, OS, Fixups);
212 EmitConstant(Value, 4, CurByte, OS);