Searched refs:BitCodeAbbrevOp (Results 1 – 10 of 10) sorted by relevance
/external/clang/lib/Serialization/ |
D | ASTWriterDecl.cpp | 1642 Abv->Add(BitCodeAbbrevOp(serialization::DECL_FIELD)); in WriteDeclAbbrevs() 1644 Abv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // DeclContext in WriteDeclAbbrevs() 1645 Abv->Add(BitCodeAbbrevOp(0)); // LexicalDeclContext in WriteDeclAbbrevs() 1646 Abv->Add(BitCodeAbbrevOp(0)); // isInvalidDecl in WriteDeclAbbrevs() 1647 Abv->Add(BitCodeAbbrevOp(0)); // HasAttrs in WriteDeclAbbrevs() 1648 Abv->Add(BitCodeAbbrevOp(0)); // isImplicit in WriteDeclAbbrevs() 1649 Abv->Add(BitCodeAbbrevOp(0)); // isUsed in WriteDeclAbbrevs() 1650 Abv->Add(BitCodeAbbrevOp(0)); // isReferenced in WriteDeclAbbrevs() 1651 Abv->Add(BitCodeAbbrevOp(0)); // TopLevelDeclInObjCContainer in WriteDeclAbbrevs() 1652 Abv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 2)); // AccessSpecifier in WriteDeclAbbrevs() [all …]
|
D | ASTWriter.cpp | 683 Abv->Add(BitCodeAbbrevOp(serialization::TYPE_EXT_QUAL)); in WriteTypeAbbrevs() 684 Abv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // Type in WriteTypeAbbrevs() 685 Abv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 3)); // Quals in WriteTypeAbbrevs() 690 Abv->Add(BitCodeAbbrevOp(serialization::TYPE_FUNCTION_PROTO)); in WriteTypeAbbrevs() 692 Abv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // ReturnType in WriteTypeAbbrevs() 693 Abv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // NoReturn in WriteTypeAbbrevs() 694 Abv->Add(BitCodeAbbrevOp(0)); // HasRegParm in WriteTypeAbbrevs() 695 Abv->Add(BitCodeAbbrevOp(0)); // RegParm in WriteTypeAbbrevs() 696 Abv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 4)); // CC in WriteTypeAbbrevs() 697 Abv->Add(BitCodeAbbrevOp(0)); // ProducesResult in WriteTypeAbbrevs() [all …]
|
D | GlobalModuleIndex.cpp | 754 Abbrev->Add(BitCodeAbbrevOp(IDENTIFIER_INDEX)); in writeIndex() 755 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); in writeIndex() 756 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); in writeIndex()
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitstreamReader.cpp | 55 const BitCodeAbbrevOp &Op) { in readAbbreviatedField() 60 case BitCodeAbbrevOp::Array: in readAbbreviatedField() 61 case BitCodeAbbrevOp::Blob: in readAbbreviatedField() 63 case BitCodeAbbrevOp::Fixed: in readAbbreviatedField() 66 case BitCodeAbbrevOp::VBR: in readAbbreviatedField() 69 case BitCodeAbbrevOp::Char6: in readAbbreviatedField() 70 return BitCodeAbbrevOp::DecodeChar6(Cursor.Read(6)); in readAbbreviatedField() 76 const BitCodeAbbrevOp &Op) { in skipAbbreviatedField() 81 case BitCodeAbbrevOp::Array: in skipAbbreviatedField() 82 case BitCodeAbbrevOp::Blob: in skipAbbreviatedField() [all …]
|
/external/llvm/lib/Bitcode/Writer/ |
D | BitcodeWriter.cpp | 154 if (AbbrevToUse && !BitCodeAbbrevOp::isChar6(Str[i])) in WriteStringRecord() 349 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_POINTER)); in WriteTypeTable() 350 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); in WriteTypeTable() 351 Abbv->Add(BitCodeAbbrevOp(0)); // Addrspace = 0 in WriteTypeTable() 356 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_FUNCTION)); in WriteTypeTable() 357 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // isvararg in WriteTypeTable() 358 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteTypeTable() 359 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); in WriteTypeTable() 365 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_STRUCT_ANON)); in WriteTypeTable() 366 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // ispacked in WriteTypeTable() [all …]
|
/external/clang/lib/Frontend/ |
D | SerializedDiagnosticPrinter.cpp | 429 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 10)); // File ID. in AddSourceLocationAbbrev() 430 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); // Line. in AddSourceLocationAbbrev() 431 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); // Column. in AddSourceLocationAbbrev() 432 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); // Offset; in AddSourceLocationAbbrev() 455 Abbrev->Add(BitCodeAbbrevOp(RECORD_VERSION)); in EmitBlockInfoBlock() 456 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); in EmitBlockInfoBlock() 473 Abbrev->Add(BitCodeAbbrevOp(RECORD_DIAG)); in EmitBlockInfoBlock() 474 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 3)); // Diag level. in EmitBlockInfoBlock() 476 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 10)); // Category. in EmitBlockInfoBlock() 477 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 10)); // Mapped Diag ID. in EmitBlockInfoBlock() [all …]
|
D | TestModuleFileExtension.cpp | 28 Abv->Add(BitCodeAbbrevOp(FIRST_EXTENSION_RECORD_ID)); in writeExtensionContents() 29 Abv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // # of characters in writeExtensionContents() 30 Abv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); // message in writeExtensionContents()
|
/external/llvm/include/llvm/Bitcode/ |
D | BitCodes.h | 87 class BitCodeAbbrevOp { 100 explicit BitCodeAbbrevOp(uint64_t V) : Val(V), IsLiteral(true) {} in BitCodeAbbrevOp() function 101 explicit BitCodeAbbrevOp(Encoding E, uint64_t Data = 0) 160 template <> struct isPodLike<BitCodeAbbrevOp> { static const bool value=true; }; 166 SmallVector<BitCodeAbbrevOp, 32> OperandList; 175 const BitCodeAbbrevOp &getOperandInfo(unsigned N) const { 179 void Add(const BitCodeAbbrevOp &OpInfo) {
|
D | BitstreamWriter.h | 263 void EmitAbbreviatedLiteral(const BitCodeAbbrevOp &Op, uintty V) { in EmitAbbreviatedLiteral() 274 void EmitAbbreviatedField(const BitCodeAbbrevOp &Op, uintty V) { in EmitAbbreviatedField() 280 case BitCodeAbbrevOp::Fixed: in EmitAbbreviatedField() 284 case BitCodeAbbrevOp::VBR: in EmitAbbreviatedField() 288 case BitCodeAbbrevOp::Char6: in EmitAbbreviatedField() 289 Emit(BitCodeAbbrevOp::EncodeChar6((char)V), 6); in EmitAbbreviatedField() 314 const BitCodeAbbrevOp &Op = Abbv->getOperandInfo(i++); in EmitRecordWithAbbrevImpl() 319 assert(Op.getEncoding() != BitCodeAbbrevOp::Array && in EmitRecordWithAbbrevImpl() 320 Op.getEncoding() != BitCodeAbbrevOp::Blob && in EmitRecordWithAbbrevImpl() 328 const BitCodeAbbrevOp &Op = Abbv->getOperandInfo(i); in EmitRecordWithAbbrevImpl() [all …]
|
/external/llvm/tools/llvm-bcanalyzer/ |
D | llvm-bcanalyzer.cpp | 531 const BitCodeAbbrevOp &Op = Abbv->getOperandInfo(i); in ParseBlock() 532 if (!Op.isEncoding() || Op.getEncoding() != BitCodeAbbrevOp::Array) in ParseBlock()
|