Lines Matching refs:Abbrev
428 static void AddSourceLocationAbbrev(llvm::BitCodeAbbrev *Abbrev) { in AddSourceLocationAbbrev() argument
430 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 10)); // File ID. in AddSourceLocationAbbrev()
431 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); // Line. in AddSourceLocationAbbrev()
432 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); // Column. in AddSourceLocationAbbrev()
433 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); // Offset; in AddSourceLocationAbbrev()
436 static void AddRangeLocationAbbrev(llvm::BitCodeAbbrev *Abbrev) { in AddRangeLocationAbbrev() argument
437 AddSourceLocationAbbrev(Abbrev); in AddRangeLocationAbbrev()
438 AddSourceLocationAbbrev(Abbrev); in AddRangeLocationAbbrev()
455 BitCodeAbbrev *Abbrev = new BitCodeAbbrev(); in EmitBlockInfoBlock() local
456 Abbrev->Add(BitCodeAbbrevOp(RECORD_VERSION)); in EmitBlockInfoBlock()
457 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); in EmitBlockInfoBlock()
458 Abbrevs.set(RECORD_VERSION, Stream.EmitBlockInfoAbbrev(BLOCK_META, Abbrev)); in EmitBlockInfoBlock()
473 Abbrev = new BitCodeAbbrev(); in EmitBlockInfoBlock()
474 Abbrev->Add(BitCodeAbbrevOp(RECORD_DIAG)); in EmitBlockInfoBlock()
475 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 3)); // Diag level. in EmitBlockInfoBlock()
476 AddSourceLocationAbbrev(Abbrev); in EmitBlockInfoBlock()
477 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 10)); // Category. in EmitBlockInfoBlock()
478 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 10)); // Mapped Diag ID. in EmitBlockInfoBlock()
479 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 16)); // Text size. in EmitBlockInfoBlock()
480 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); // Diagnostc text. in EmitBlockInfoBlock()
481 Abbrevs.set(RECORD_DIAG, Stream.EmitBlockInfoAbbrev(BLOCK_DIAG, Abbrev)); in EmitBlockInfoBlock()
484 Abbrev = new BitCodeAbbrev(); in EmitBlockInfoBlock()
485 Abbrev->Add(BitCodeAbbrevOp(RECORD_CATEGORY)); in EmitBlockInfoBlock()
486 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 16)); // Category ID. in EmitBlockInfoBlock()
487 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 8)); // Text size. in EmitBlockInfoBlock()
488 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); // Category text. in EmitBlockInfoBlock()
489 Abbrevs.set(RECORD_CATEGORY, Stream.EmitBlockInfoAbbrev(BLOCK_DIAG, Abbrev)); in EmitBlockInfoBlock()
492 Abbrev = new BitCodeAbbrev(); in EmitBlockInfoBlock()
493 Abbrev->Add(BitCodeAbbrevOp(RECORD_SOURCE_RANGE)); in EmitBlockInfoBlock()
494 AddRangeLocationAbbrev(Abbrev); in EmitBlockInfoBlock()
496 Stream.EmitBlockInfoAbbrev(BLOCK_DIAG, Abbrev)); in EmitBlockInfoBlock()
499 Abbrev = new BitCodeAbbrev(); in EmitBlockInfoBlock()
500 Abbrev->Add(BitCodeAbbrevOp(RECORD_DIAG_FLAG)); in EmitBlockInfoBlock()
501 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 10)); // Mapped Diag ID. in EmitBlockInfoBlock()
502 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 16)); // Text size. in EmitBlockInfoBlock()
503 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); // Flag name text. in EmitBlockInfoBlock()
505 Abbrev)); in EmitBlockInfoBlock()
508 Abbrev = new BitCodeAbbrev(); in EmitBlockInfoBlock()
509 Abbrev->Add(BitCodeAbbrevOp(RECORD_FILENAME)); in EmitBlockInfoBlock()
510 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 10)); // Mapped file ID. in EmitBlockInfoBlock()
511 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); // Size. in EmitBlockInfoBlock()
512 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); // Modifcation time. in EmitBlockInfoBlock()
513 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 16)); // Text size. in EmitBlockInfoBlock()
514 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); // File name text. in EmitBlockInfoBlock()
516 Abbrev)); in EmitBlockInfoBlock()
519 Abbrev = new BitCodeAbbrev(); in EmitBlockInfoBlock()
520 Abbrev->Add(BitCodeAbbrevOp(RECORD_FIXIT)); in EmitBlockInfoBlock()
521 AddRangeLocationAbbrev(Abbrev); in EmitBlockInfoBlock()
522 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 16)); // Text size. in EmitBlockInfoBlock()
523 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); // FixIt text. in EmitBlockInfoBlock()
525 Abbrev)); in EmitBlockInfoBlock()