Home | History | Annotate | Download | only in MCTargetDesc

Lines Matching refs:OS

61   void EmitByte(unsigned char C, unsigned &CurByte, raw_ostream &OS) const {
67 OS << (char)C;
71 void EmitRawByte(unsigned char C, unsigned &CurByte, raw_ostream &OS) const {
72 OS << (char)C;
77 raw_ostream &OS) const {
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,
93 void EncodeInstruction(const MCInst &MI, 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);
151 raw_ostream &OS, SmallVectorImpl<MCFixup> &Fixups) const {
157 EmitIMM(oper, CurByte, OS);
178 EncodeInstruction(const MCInst &MI, raw_ostream &OS,
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);