/external/clang/lib/Serialization/ |
D | ASTWriterDecl.cpp | 1673 Abv->Add(BitCodeAbbrevOp(serialization::DECL_FIELD)); in WriteDeclAbbrevs() 1675 Abv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // DeclContext in WriteDeclAbbrevs() 1676 Abv->Add(BitCodeAbbrevOp(0)); // LexicalDeclContext in WriteDeclAbbrevs() 1677 Abv->Add(BitCodeAbbrevOp(0)); // isInvalidDecl in WriteDeclAbbrevs() 1678 Abv->Add(BitCodeAbbrevOp(0)); // HasAttrs in WriteDeclAbbrevs() 1679 Abv->Add(BitCodeAbbrevOp(0)); // isImplicit in WriteDeclAbbrevs() 1680 Abv->Add(BitCodeAbbrevOp(0)); // isUsed in WriteDeclAbbrevs() 1681 Abv->Add(BitCodeAbbrevOp(0)); // isReferenced in WriteDeclAbbrevs() 1682 Abv->Add(BitCodeAbbrevOp(0)); // TopLevelDeclInObjCContainer in WriteDeclAbbrevs() 1683 Abv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 2)); // AccessSpecifier in WriteDeclAbbrevs() [all …]
|
D | ASTWriter.cpp | 720 Abv->Add(BitCodeAbbrevOp(serialization::TYPE_EXT_QUAL)); in WriteTypeAbbrevs() 721 Abv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // Type in WriteTypeAbbrevs() 722 Abv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 3)); // Quals in WriteTypeAbbrevs() 727 Abv->Add(BitCodeAbbrevOp(serialization::TYPE_FUNCTION_PROTO)); in WriteTypeAbbrevs() 729 Abv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // ReturnType in WriteTypeAbbrevs() 730 Abv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // NoReturn in WriteTypeAbbrevs() 731 Abv->Add(BitCodeAbbrevOp(0)); // HasRegParm in WriteTypeAbbrevs() 732 Abv->Add(BitCodeAbbrevOp(0)); // RegParm in WriteTypeAbbrevs() 733 Abv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 4)); // CC in WriteTypeAbbrevs() 734 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/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Reader/ |
D | BitstreamReader.cpp | 52 const BitCodeAbbrevOp &Op) { in readAbbreviatedField() 57 case BitCodeAbbrevOp::Array: in readAbbreviatedField() 58 case BitCodeAbbrevOp::Blob: in readAbbreviatedField() 60 case BitCodeAbbrevOp::Fixed: in readAbbreviatedField() 63 case BitCodeAbbrevOp::VBR: in readAbbreviatedField() 66 case BitCodeAbbrevOp::Char6: in readAbbreviatedField() 67 return BitCodeAbbrevOp::DecodeChar6(Cursor.Read(6)); in readAbbreviatedField() 73 const BitCodeAbbrevOp &Op) { in skipAbbreviatedField() 78 case BitCodeAbbrevOp::Array: in skipAbbreviatedField() 79 case BitCodeAbbrevOp::Blob: in skipAbbreviatedField() [all …]
|
/external/llvm/lib/Bitcode/Writer/ |
D | BitcodeWriter.cpp | 559 if (AbbrevToUse && !BitCodeAbbrevOp::isChar6(Str[i])) in writeStringRecord() 760 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_POINTER)); in writeTypeTable() 761 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); in writeTypeTable() 762 Abbv->Add(BitCodeAbbrevOp(0)); // Addrspace = 0 in writeTypeTable() 767 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_FUNCTION)); in writeTypeTable() 768 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // isvararg in writeTypeTable() 769 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in writeTypeTable() 770 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); in writeTypeTable() 776 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_STRUCT_ANON)); in writeTypeTable() 777 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // ispacked in writeTypeTable() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Writer/ |
D | BitcodeWriter.cpp | 576 if (AbbrevToUse && !BitCodeAbbrevOp::isChar6(Str[i])) in writeStringRecord() 788 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_POINTER)); in writeTypeTable() 789 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); in writeTypeTable() 790 Abbv->Add(BitCodeAbbrevOp(0)); // Addrspace = 0 in writeTypeTable() 795 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_FUNCTION)); in writeTypeTable() 796 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // isvararg in writeTypeTable() 797 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in writeTypeTable() 798 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); in writeTypeTable() 803 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_STRUCT_ANON)); in writeTypeTable() 804 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // ispacked in writeTypeTable() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Bitcode/Writer/ |
D | BitcodeWriter.cpp | 147 if (AbbrevToUse && !BitCodeAbbrevOp::isChar6(Str[i])) in WriteStringRecord() 199 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_POINTER)); in WriteTypeTable() 200 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, in WriteTypeTable() 202 Abbv->Add(BitCodeAbbrevOp(0)); // Addrspace = 0 in WriteTypeTable() 207 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_FUNCTION)); in WriteTypeTable() 208 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // isvararg in WriteTypeTable() 209 Abbv->Add(BitCodeAbbrevOp(0)); // FIXME: DEAD value, remove in LLVM 3.0 in WriteTypeTable() 210 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteTypeTable() 211 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, in WriteTypeTable() 217 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_STRUCT_ANON)); in WriteTypeTable() [all …]
|
/external/clang/lib/Frontend/ |
D | SerializedDiagnosticPrinter.cpp | 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() 456 Abbrev->Add(BitCodeAbbrevOp(RECORD_VERSION)); in EmitBlockInfoBlock() 457 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); in EmitBlockInfoBlock() 474 Abbrev->Add(BitCodeAbbrevOp(RECORD_DIAG)); in EmitBlockInfoBlock() 475 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 3)); // Diag level. in EmitBlockInfoBlock() 477 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 10)); // Category. in EmitBlockInfoBlock() 478 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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Bitcode/ |
D | BitCodes.h | 94 class BitCodeAbbrevOp { 107 explicit BitCodeAbbrevOp(uint64_t V) : Val(V), IsLiteral(true) {} in BitCodeAbbrevOp() function 108 explicit BitCodeAbbrevOp(Encoding E, uint64_t Data = 0) 163 template <> struct isPodLike<BitCodeAbbrevOp> { static const bool value=true; }; 169 SmallVector<BitCodeAbbrevOp, 32> OperandList; 175 const BitCodeAbbrevOp &getOperandInfo(unsigned N) const { 179 void Add(const BitCodeAbbrevOp &OpInfo) {
|
D | BitstreamWriter.h | 259 void EmitAbbreviatedLiteral(const BitCodeAbbrevOp &Op, uintty V) { in EmitAbbreviatedLiteral() 270 void EmitAbbreviatedField(const BitCodeAbbrevOp &Op, uintty V) { in EmitAbbreviatedField() 276 case BitCodeAbbrevOp::Fixed: in EmitAbbreviatedField() 280 case BitCodeAbbrevOp::VBR: in EmitAbbreviatedField() 284 case BitCodeAbbrevOp::Char6: in EmitAbbreviatedField() 285 Emit(BitCodeAbbrevOp::EncodeChar6((char)V), 6); in EmitAbbreviatedField() 310 const BitCodeAbbrevOp &Op = Abbv->getOperandInfo(i++); in EmitRecordWithAbbrevImpl() 315 assert(Op.getEncoding() != BitCodeAbbrevOp::Array && in EmitRecordWithAbbrevImpl() 316 Op.getEncoding() != BitCodeAbbrevOp::Blob && in EmitRecordWithAbbrevImpl() 324 const BitCodeAbbrevOp &Op = Abbv->getOperandInfo(i); in EmitRecordWithAbbrevImpl() [all …]
|
/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) 156 template <> struct isPodLike<BitCodeAbbrevOp> { static const bool value=true; }; 162 SmallVector<BitCodeAbbrevOp, 32> OperandList; 171 const BitCodeAbbrevOp &getOperandInfo(unsigned N) const { 175 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/swiftshader/third_party/LLVM/include/llvm/Bitcode/ |
D | BitstreamReader.h | 448 void ReadAbbreviatedLiteral(const BitCodeAbbrevOp &Op, in ReadAbbreviatedLiteral() 455 void ReadAbbreviatedField(const BitCodeAbbrevOp &Op, in ReadAbbreviatedField() 462 case BitCodeAbbrevOp::Fixed: in ReadAbbreviatedField() 465 case BitCodeAbbrevOp::VBR: in ReadAbbreviatedField() 468 case BitCodeAbbrevOp::Char6: in ReadAbbreviatedField() 469 Vals.push_back(BitCodeAbbrevOp::DecodeChar6(Read(6))); in ReadAbbreviatedField() 495 const BitCodeAbbrevOp &Op = Abbv->getOperandInfo(i); 498 } else if (Op.getEncoding() == BitCodeAbbrevOp::Array) { 504 const BitCodeAbbrevOp &EltEnc = Abbv->getOperandInfo(++i); 509 } else if (Op.getEncoding() == BitCodeAbbrevOp::Blob) { [all …]
|
D | BitCodes.h | 84 class BitCodeAbbrevOp { 97 explicit BitCodeAbbrevOp(uint64_t V) : Val(V), IsLiteral(true) {} in BitCodeAbbrevOp() function 98 explicit BitCodeAbbrevOp(Encoding E, uint64_t Data = 0) 163 SmallVector<BitCodeAbbrevOp, 8> OperandList; 175 const BitCodeAbbrevOp &getOperandInfo(unsigned N) const { in getOperandInfo() 179 void Add(const BitCodeAbbrevOp &OpInfo) { in Add()
|
D | BitstreamWriter.h | 262 void EmitAbbreviatedLiteral(const BitCodeAbbrevOp &Op, uintty V) { in EmitAbbreviatedLiteral() 273 void EmitAbbreviatedField(const BitCodeAbbrevOp &Op, uintty V) { in EmitAbbreviatedField() 279 case BitCodeAbbrevOp::Fixed: in EmitAbbreviatedField() 283 case BitCodeAbbrevOp::VBR: in EmitAbbreviatedField() 287 case BitCodeAbbrevOp::Char6: in EmitAbbreviatedField() 288 Emit(BitCodeAbbrevOp::EncodeChar6((char)V), 6); in EmitAbbreviatedField() 311 const BitCodeAbbrevOp &Op = Abbv->getOperandInfo(i); in EmitRecordWithAbbrevImpl() 316 } else if (Op.getEncoding() == BitCodeAbbrevOp::Array) { in EmitRecordWithAbbrevImpl() 319 const BitCodeAbbrevOp &EltEnc = Abbv->getOperandInfo(++i); in EmitRecordWithAbbrevImpl() 343 } else if (Op.getEncoding() == BitCodeAbbrevOp::Blob) { in EmitRecordWithAbbrevImpl() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Bitcode/ |
D | BitstreamReaderTest.cpp | 105 Abbrev->Add(BitCodeAbbrevOp(RecordID)); in TEST() 106 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); in TEST()
|
/external/llvm/unittests/Bitcode/ |
D | BitstreamReaderTest.cpp | 201 Abbrev->Add(BitCodeAbbrevOp(RecordID)); in TEST() 202 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); in TEST()
|
/external/llvm/tools/llvm-bcanalyzer/ |
D | llvm-bcanalyzer.cpp | 642 const BitCodeAbbrevOp &Op = Abbv->getOperandInfo(i); in ParseBlock() 643 if (!Op.isEncoding() || Op.getEncoding() != BitCodeAbbrevOp::Array) in ParseBlock()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-bcanalyzer/ |
D | llvm-bcanalyzer.cpp | 695 const BitCodeAbbrevOp &Op = Abbv->getOperandInfo(i); in ParseBlock() 696 if (!Op.isEncoding() || Op.getEncoding() != BitCodeAbbrevOp::Array) in ParseBlock()
|