Lines Matching refs:CurByte
95 void EmitByte(unsigned char C, unsigned &CurByte, raw_ostream &OS) { in EmitByte() argument
97 ++CurByte; in EmitByte()
101 void EmitLEConstant(uint64_t Val, unsigned Size, unsigned &CurByte, in EmitLEConstant() argument
106 EmitByte(Val & 255, CurByte, OS); in EmitLEConstant()
112 void EmitBEConstant(uint64_t Val, unsigned Size, unsigned &CurByte, in EmitBEConstant() argument
117 EmitByte((Val >> i) & 255, CurByte, OS); in EmitBEConstant()
125 unsigned CurByte = 0; in EncodeInstruction() local
129 EmitByte(Value >> 56, CurByte, OS); in EncodeInstruction()
130 EmitByte(((Value >> 48) & 0xff), CurByte, OS); in EncodeInstruction()
131 EmitLEConstant(0, 2, CurByte, OS); in EncodeInstruction()
132 EmitLEConstant(Value & 0xffffFFFF, 4, CurByte, OS); in EncodeInstruction()
136 EmitByte(0, CurByte, OS); in EncodeInstruction()
137 EmitByte(0, CurByte, OS); in EncodeInstruction()
138 EmitLEConstant(0, 2, CurByte, OS); in EncodeInstruction()
139 EmitLEConstant(Imm >> 32, 4, CurByte, OS); in EncodeInstruction()
143 EmitByte(Value >> 56, CurByte, OS); in EncodeInstruction()
144 EmitByte((Value >> 48) & 0xff, CurByte, OS); in EncodeInstruction()
145 EmitLEConstant((Value >> 32) & 0xffff, 2, CurByte, OS); in EncodeInstruction()
146 EmitLEConstant(Value & 0xffffFFFF, 4, CurByte, OS); in EncodeInstruction()