Lines Matching defs:Emit

90   void Emit(uint32_t Val, unsigned NumBits) {
115 Emit((uint32_t)Val, NumBits);
117 Emit((uint32_t)Val, 32);
118 Emit((uint32_t)(Val >> 32), NumBits-32);
137 // Emit the bits with VBR encoding, NumBits-1 bits at a time.
139 Emit((Val & ((1 << (NumBits-1))-1)) | (1 << (NumBits-1)), NumBits);
143 Emit(Val, NumBits);
152 // Emit the bits with VBR encoding, NumBits-1 bits at a time.
154 Emit(((uint32_t)Val & ((1 << (NumBits-1))-1)) |
159 Emit((uint32_t)Val, NumBits);
162 /// EmitCode - Emit the specified code.
164 Emit(Val, CurCodeSize);
205 // Emit a placeholder, which will be replaced when the block is popped.
206 Emit(0, bitc::BlockSizeWidth);
259 /// EmitAbbreviatedLiteral - Emit a literal value according to its abbrev
270 /// EmitAbbreviatedField - Emit a single scalar field value with the specified
281 Emit((unsigned)V, (unsigned)Op.getEncodingData());
288 Emit(BitCodeAbbrevOp::EncodeChar6((char)V), 6);
326 // Emit a vbr6 to indicate the number of elements present.
329 // Emit each field.
336 // Emit a vbr6 to indicate the number of elements present.
339 // Emit each field.
347 // Emit a vbr6 to indicate the number of elements present.
360 // Emit each field as a literal byte.
390 /// EmitRecord - Emit the specified record to the stream, using an abbrev if
412 /// EmitRecordWithAbbrev - Emit a record with the specified abbreviation.
420 /// EmitRecordWithBlob - Emit the specified record to the stream, using an
455 // Emit the abbreviation as a DEFINE_ABBREV record.
462 Emit(Op.isLiteral(), 1);
466 Emit(Op.getEncoding(), 3);
477 // Emit the abbreviation as a record.
516 /// EmitBlockInfoAbbrev - Emit a DEFINE_ABBREV record for the specified