Lines Matching refs:Abbrev
358 static void AddSourceLocationAbbrev(llvm::BitCodeAbbrev *Abbrev) { in AddSourceLocationAbbrev() argument
360 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 10)); // File ID. in AddSourceLocationAbbrev()
361 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); // Line. in AddSourceLocationAbbrev()
362 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); // Column. in AddSourceLocationAbbrev()
363 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); // Offset; in AddSourceLocationAbbrev()
366 static void AddRangeLocationAbbrev(llvm::BitCodeAbbrev *Abbrev) { in AddRangeLocationAbbrev() argument
367 AddSourceLocationAbbrev(Abbrev); in AddRangeLocationAbbrev()
368 AddSourceLocationAbbrev(Abbrev); in AddRangeLocationAbbrev()
385 BitCodeAbbrev *Abbrev = new BitCodeAbbrev(); in EmitBlockInfoBlock() local
386 Abbrev->Add(BitCodeAbbrevOp(RECORD_VERSION)); in EmitBlockInfoBlock()
387 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); in EmitBlockInfoBlock()
388 Abbrevs.set(RECORD_VERSION, Stream.EmitBlockInfoAbbrev(BLOCK_META, Abbrev)); in EmitBlockInfoBlock()
403 Abbrev = new BitCodeAbbrev(); in EmitBlockInfoBlock()
404 Abbrev->Add(BitCodeAbbrevOp(RECORD_DIAG)); in EmitBlockInfoBlock()
405 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 3)); // Diag level. in EmitBlockInfoBlock()
406 AddSourceLocationAbbrev(Abbrev); in EmitBlockInfoBlock()
407 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 10)); // Category. in EmitBlockInfoBlock()
408 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 10)); // Mapped Diag ID. in EmitBlockInfoBlock()
409 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 16)); // Text size. in EmitBlockInfoBlock()
410 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); // Diagnostc text. in EmitBlockInfoBlock()
411 Abbrevs.set(RECORD_DIAG, Stream.EmitBlockInfoAbbrev(BLOCK_DIAG, Abbrev)); in EmitBlockInfoBlock()
414 Abbrev = new BitCodeAbbrev(); in EmitBlockInfoBlock()
415 Abbrev->Add(BitCodeAbbrevOp(RECORD_CATEGORY)); in EmitBlockInfoBlock()
416 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 16)); // Category ID. in EmitBlockInfoBlock()
417 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 8)); // Text size. in EmitBlockInfoBlock()
418 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); // Category text. in EmitBlockInfoBlock()
419 Abbrevs.set(RECORD_CATEGORY, Stream.EmitBlockInfoAbbrev(BLOCK_DIAG, Abbrev)); in EmitBlockInfoBlock()
422 Abbrev = new BitCodeAbbrev(); in EmitBlockInfoBlock()
423 Abbrev->Add(BitCodeAbbrevOp(RECORD_SOURCE_RANGE)); in EmitBlockInfoBlock()
424 AddRangeLocationAbbrev(Abbrev); in EmitBlockInfoBlock()
426 Stream.EmitBlockInfoAbbrev(BLOCK_DIAG, Abbrev)); in EmitBlockInfoBlock()
429 Abbrev = new BitCodeAbbrev(); in EmitBlockInfoBlock()
430 Abbrev->Add(BitCodeAbbrevOp(RECORD_DIAG_FLAG)); in EmitBlockInfoBlock()
431 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 10)); // Mapped Diag ID. in EmitBlockInfoBlock()
432 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 16)); // Text size. in EmitBlockInfoBlock()
433 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); // Flag name text. in EmitBlockInfoBlock()
435 Abbrev)); in EmitBlockInfoBlock()
438 Abbrev = new BitCodeAbbrev(); in EmitBlockInfoBlock()
439 Abbrev->Add(BitCodeAbbrevOp(RECORD_FILENAME)); in EmitBlockInfoBlock()
440 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 10)); // Mapped file ID. in EmitBlockInfoBlock()
441 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); // Size. in EmitBlockInfoBlock()
442 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); // Modifcation time. in EmitBlockInfoBlock()
443 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 16)); // Text size. in EmitBlockInfoBlock()
444 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); // File name text. in EmitBlockInfoBlock()
446 Abbrev)); in EmitBlockInfoBlock()
449 Abbrev = new BitCodeAbbrev(); in EmitBlockInfoBlock()
450 Abbrev->Add(BitCodeAbbrevOp(RECORD_FIXIT)); in EmitBlockInfoBlock()
451 AddRangeLocationAbbrev(Abbrev); in EmitBlockInfoBlock()
452 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 16)); // Text size. in EmitBlockInfoBlock()
453 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); // FixIt text. in EmitBlockInfoBlock()
455 Abbrev)); in EmitBlockInfoBlock()