Lines Matching defs:Emit

115   void Emit(uint32_t Val, unsigned NumBits) {
136 Emit((uint32_t)Val, NumBits);
138 Emit((uint32_t)Val, 32);
139 Emit((uint32_t)(Val >> 32), NumBits-32);
155 // Emit the bits with VBR encoding, NumBits-1 bits at a time.
157 Emit((Val & ((1 << (NumBits-1))-1)) | (1 << (NumBits-1)), NumBits);
161 Emit(Val, NumBits);
171 // Emit the bits with VBR encoding, NumBits-1 bits at a time.
173 Emit(((uint32_t)Val & ((1 << (NumBits-1))-1)) |
178 Emit((uint32_t)Val, NumBits);
181 /// EmitCode - Emit the specified code.
183 Emit(Val, CurCodeSize);
215 // Emit a placeholder, which will be replaced when the block is popped.
216 Emit(0, bitc::BlockSizeWidth);
260 /// EmitAbbreviatedLiteral - Emit a literal value according to its abbrev
271 /// EmitAbbreviatedField - Emit a single scalar field value with the specified
282 Emit((unsigned)V, (unsigned)Op.getEncodingData());
289 Emit(BitCodeAbbrevOp::EncodeChar6((char)V), 6);
343 // Emit a vbr6 to indicate the number of elements present.
346 // Emit each field.
353 // Emit a vbr6 to indicate the number of elements present.
356 // Emit each field.
387 /// Emit a blob, including flushing before and tail-padding.
390 // Emit a vbr6 to indicate the number of elements present.
397 // Emit literal bytes.
412 /// EmitRecord - Emit the specified record to the stream, using an abbrev if
431 /// EmitRecordWithAbbrev - Emit a record with the specified abbreviation.
439 /// EmitRecordWithBlob - Emit the specified record to the stream, using an
475 // Emit the abbreviation as a DEFINE_ABBREV record.
482 Emit(Op.isLiteral(), 1);
486 Emit(Op.getEncoding(), 3);
497 // Emit the abbreviation as a record.
536 /// EmitBlockInfoAbbrev - Emit a DEFINE_ABBREV record for the specified