Home
last modified time | relevance | path

Searched refs:BitCodeAbbrevOp (Results 1 – 9 of 9) sorted by relevance

/external/clang/lib/Serialization/
DASTWriterDecl.cpp1459 Abv->Add(BitCodeAbbrevOp(serialization::DECL_FIELD)); in WriteDeclsBlockAbbrevs()
1461 Abv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // DeclContext in WriteDeclsBlockAbbrevs()
1462 Abv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // LexicalDeclContext in WriteDeclsBlockAbbrevs()
1463 Abv->Add(BitCodeAbbrevOp(0)); // isInvalidDecl in WriteDeclsBlockAbbrevs()
1464 Abv->Add(BitCodeAbbrevOp(0)); // HasAttrs in WriteDeclsBlockAbbrevs()
1465 Abv->Add(BitCodeAbbrevOp(0)); // isImplicit in WriteDeclsBlockAbbrevs()
1466 Abv->Add(BitCodeAbbrevOp(0)); // isUsed in WriteDeclsBlockAbbrevs()
1467 Abv->Add(BitCodeAbbrevOp(0)); // isReferenced in WriteDeclsBlockAbbrevs()
1468 Abv->Add(BitCodeAbbrevOp(0)); // TopLevelDeclInObjCContainer in WriteDeclsBlockAbbrevs()
1469 Abv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 2)); // AccessSpecifier in WriteDeclsBlockAbbrevs()
[all …]
DASTWriter.cpp1039 MetadataAbbrev->Add(BitCodeAbbrevOp(METADATA)); in WriteControlBlock()
1040 MetadataAbbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 16)); // Major in WriteControlBlock()
1041 MetadataAbbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 16)); // Minor in WriteControlBlock()
1042 MetadataAbbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 16)); // Clang maj. in WriteControlBlock()
1043 MetadataAbbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 16)); // Clang min. in WriteControlBlock()
1044 MetadataAbbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // Relocatable in WriteControlBlock()
1045 MetadataAbbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // Errors in WriteControlBlock()
1046 MetadataAbbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); // SVN branch/tag in WriteControlBlock()
1061 Abbrev->Add(BitCodeAbbrevOp(MODULE_NAME)); in WriteControlBlock()
1062 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); // Name in WriteControlBlock()
[all …]
DGlobalModuleIndex.cpp750 Abbrev->Add(BitCodeAbbrevOp(IDENTIFIER_INDEX)); in writeIndex()
751 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); in writeIndex()
752 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); in writeIndex()
/external/llvm/lib/Bitcode/Reader/
DBitstreamReader.cpp85 void BitstreamCursor::readAbbreviatedLiteral(const BitCodeAbbrevOp &Op, in readAbbreviatedLiteral()
92 void BitstreamCursor::readAbbreviatedField(const BitCodeAbbrevOp &Op, in readAbbreviatedField()
98 case BitCodeAbbrevOp::Array: in readAbbreviatedField()
99 case BitCodeAbbrevOp::Blob: in readAbbreviatedField()
101 case BitCodeAbbrevOp::Fixed: in readAbbreviatedField()
104 case BitCodeAbbrevOp::VBR: in readAbbreviatedField()
107 case BitCodeAbbrevOp::Char6: in readAbbreviatedField()
108 Vals.push_back(BitCodeAbbrevOp::DecodeChar6(Read(6))); in readAbbreviatedField()
113 void BitstreamCursor::skipAbbreviatedField(const BitCodeAbbrevOp &Op) { in skipAbbreviatedField()
118 case BitCodeAbbrevOp::Array: in skipAbbreviatedField()
[all …]
/external/clang/lib/Frontend/
DSerializedDiagnosticPrinter.cpp360 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()
386 Abbrev->Add(BitCodeAbbrevOp(RECORD_VERSION)); in EmitBlockInfoBlock()
387 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); in EmitBlockInfoBlock()
404 Abbrev->Add(BitCodeAbbrevOp(RECORD_DIAG)); in EmitBlockInfoBlock()
405 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 3)); // Diag level. in EmitBlockInfoBlock()
407 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 10)); // Category. in EmitBlockInfoBlock()
408 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 10)); // Mapped Diag ID. in EmitBlockInfoBlock()
[all …]
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp153 if (AbbrevToUse && !BitCodeAbbrevOp::isChar6(Str[i])) in WriteStringRecord()
332 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_POINTER)); in WriteTypeTable()
333 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); in WriteTypeTable()
334 Abbv->Add(BitCodeAbbrevOp(0)); // Addrspace = 0 in WriteTypeTable()
339 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_FUNCTION)); in WriteTypeTable()
340 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // isvararg in WriteTypeTable()
341 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteTypeTable()
342 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); in WriteTypeTable()
348 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_STRUCT_ANON)); in WriteTypeTable()
349 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // ispacked in WriteTypeTable()
[all …]
/external/llvm/include/llvm/Bitcode/
DBitCodes.h86 class BitCodeAbbrevOp {
99 explicit BitCodeAbbrevOp(uint64_t V) : Val(V), IsLiteral(true) {} in BitCodeAbbrevOp() function
100 explicit BitCodeAbbrevOp(Encoding E, uint64_t Data = 0)
159 template <> struct isPodLike<BitCodeAbbrevOp> { static const bool value=true; };
165 SmallVector<BitCodeAbbrevOp, 32> OperandList;
177 const BitCodeAbbrevOp &getOperandInfo(unsigned N) const {
181 void Add(const BitCodeAbbrevOp &OpInfo) {
DBitstreamWriter.h278 void EmitAbbreviatedLiteral(const BitCodeAbbrevOp &Op, uintty V) { in EmitAbbreviatedLiteral()
289 void EmitAbbreviatedField(const BitCodeAbbrevOp &Op, uintty V) { in EmitAbbreviatedField()
295 case BitCodeAbbrevOp::Fixed: in EmitAbbreviatedField()
299 case BitCodeAbbrevOp::VBR: in EmitAbbreviatedField()
303 case BitCodeAbbrevOp::Char6: in EmitAbbreviatedField()
304 Emit(BitCodeAbbrevOp::EncodeChar6((char)V), 6); in EmitAbbreviatedField()
327 const BitCodeAbbrevOp &Op = Abbv->getOperandInfo(i); in EmitRecordWithAbbrevImpl()
332 } else if (Op.getEncoding() == BitCodeAbbrevOp::Array) { in EmitRecordWithAbbrevImpl()
335 const BitCodeAbbrevOp &EltEnc = Abbv->getOperandInfo(++i); in EmitRecordWithAbbrevImpl()
359 } else if (Op.getEncoding() == BitCodeAbbrevOp::Blob) { in EmitRecordWithAbbrevImpl()
[all …]
DBitstreamReader.h525 void readAbbreviatedLiteral(const BitCodeAbbrevOp &Op,
527 void readAbbreviatedField(const BitCodeAbbrevOp &Op,
529 void skipAbbreviatedField(const BitCodeAbbrevOp &Op);