Searched refs:BitCodeAbbrevOp (Results 1 – 9 of 9) sorted by relevance
/external/clang/lib/Serialization/ |
D | ASTWriterDecl.cpp | 1441 Abv->Add(BitCodeAbbrevOp(serialization::DECL_FIELD)); in WriteDeclsBlockAbbrevs() 1443 Abv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // DeclContext in WriteDeclsBlockAbbrevs() 1444 Abv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // LexicalDeclContext in WriteDeclsBlockAbbrevs() 1445 Abv->Add(BitCodeAbbrevOp(0)); // isInvalidDecl in WriteDeclsBlockAbbrevs() 1446 Abv->Add(BitCodeAbbrevOp(0)); // HasAttrs in WriteDeclsBlockAbbrevs() 1447 Abv->Add(BitCodeAbbrevOp(0)); // isImplicit in WriteDeclsBlockAbbrevs() 1448 Abv->Add(BitCodeAbbrevOp(0)); // isUsed in WriteDeclsBlockAbbrevs() 1449 Abv->Add(BitCodeAbbrevOp(0)); // isReferenced in WriteDeclsBlockAbbrevs() 1450 Abv->Add(BitCodeAbbrevOp(0)); // TopLevelDeclInObjCContainer in WriteDeclsBlockAbbrevs() 1451 Abv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 2)); // AccessSpecifier in WriteDeclsBlockAbbrevs() [all …]
|
D | ASTWriter.cpp | 1020 MetadataAbbrev->Add(BitCodeAbbrevOp(METADATA)); in WriteControlBlock() 1021 MetadataAbbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 16)); // Major in WriteControlBlock() 1022 MetadataAbbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 16)); // Minor in WriteControlBlock() 1023 MetadataAbbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 16)); // Clang maj. in WriteControlBlock() 1024 MetadataAbbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 16)); // Clang min. in WriteControlBlock() 1025 MetadataAbbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // Relocatable in WriteControlBlock() 1026 MetadataAbbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // Errors in WriteControlBlock() 1027 MetadataAbbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); // SVN branch/tag in WriteControlBlock() 1198 FileAbbrev->Add(BitCodeAbbrevOp(ORIGINAL_FILE)); in WriteControlBlock() 1199 FileAbbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // File ID in WriteControlBlock() [all …]
|
D | GlobalModuleIndex.cpp | 716 Abbrev->Add(BitCodeAbbrevOp(IDENTIFIER_INDEX)); in writeIndex() 717 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); in writeIndex() 718 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); in writeIndex()
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitstreamReader.cpp | 85 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/ |
D | SerializedDiagnosticPrinter.cpp | 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() 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/ |
D | BitcodeWriter.cpp | 155 if (AbbrevToUse && !BitCodeAbbrevOp::isChar6(Str[i])) in WriteStringRecord() 326 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_POINTER)); in WriteTypeTable() 327 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); in WriteTypeTable() 328 Abbv->Add(BitCodeAbbrevOp(0)); // Addrspace = 0 in WriteTypeTable() 333 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_FUNCTION)); in WriteTypeTable() 334 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // isvararg in WriteTypeTable() 335 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteTypeTable() 336 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); in WriteTypeTable() 342 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_STRUCT_ANON)); in WriteTypeTable() 343 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // ispacked in WriteTypeTable() [all …]
|
/external/llvm/include/llvm/Bitcode/ |
D | BitCodes.h | 86 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) {
|
D | BitstreamWriter.h | 278 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 …]
|
D | BitstreamReader.h | 526 void readAbbreviatedLiteral(const BitCodeAbbrevOp &Op, 528 void readAbbreviatedField(const BitCodeAbbrevOp &Op, 530 void skipAbbreviatedField(const BitCodeAbbrevOp &Op);
|