Lines Matching defs:Record

86   auto GetName = [&](auto Record) {
88 const_cast<CVType &>(CVReference), Record))
91 RecordName = Record.getName();
485 Error LVTypeVisitor::visitTypeBegin(CVType &Record) {
486 return visitTypeBegin(Record, TypeIndex::fromArrayIndex(Types.size()));
489 Error LVTypeVisitor::visitTypeBegin(CVType &Record, TypeIndex TI) {
491 W.getOStream() << formatTypeLeafKind(Record.kind());
496 Shared->TypeKinds.insert(Record.kind());
501 Shared->TypeRecords.add(StreamIdx, TI, Record.kind());
505 Error LVTypeVisitor::visitUnknownType(CVType &Record) {
506 LLVM_DEBUG({ W.printNumber("Length", uint32_t(Record.content().size())); });
510 Error LVTypeVisitor::visitMemberBegin(CVMemberRecord &Record) {
512 W.startLine() << formatTypeLeafKind(Record.Kind);
519 Error LVTypeVisitor::visitMemberEnd(CVMemberRecord &Record) {
527 Error LVTypeVisitor::visitUnknownMember(CVMemberRecord &Record) {
528 LLVM_DEBUG({ W.printHex("UnknownMember", unsigned(Record.Kind)); });
533 Error LVTypeVisitor::visitKnownRecord(CVType &Record, BuildInfoRecord &Args) {
565 Error LVTypeVisitor::visitKnownRecord(CVType &Record, ClassRecord &Class) {
583 Error LVTypeVisitor::visitKnownRecord(CVType &Record, EnumRecord &Enum) {
596 Error LVTypeVisitor::visitKnownRecord(CVType &Record, FuncIdRecord &Func) {
610 Error LVTypeVisitor::visitKnownRecord(CVType &Record, ProcedureRecord &Proc) {
624 Error LVTypeVisitor::visitKnownRecord(CVType &Record, StringIdRecord &String) {
634 Error LVTypeVisitor::visitKnownRecord(CVType &Record,
648 Error LVTypeVisitor::visitKnownRecord(CVType &Record, UnionRecord &Union) {
725 Error LVSymbolVisitor::visitSymbolBegin(CVSymbol &Record) {
726 return visitSymbolBegin(Record, 0);
729 Error LVSymbolVisitor::visitSymbolBegin(CVSymbol &Record, uint32_t Offset) {
730 SymbolKind Kind = Record.kind();
742 // We have an unsupported Symbol or Type Record.
766 Error LVSymbolVisitor::visitSymbolEnd(CVSymbol &Record) {
767 SymbolKind Kind = Record.kind();
778 Error LVSymbolVisitor::visitUnknownSymbol(CVSymbol &Record) {
779 LLVM_DEBUG({ W.printNumber("Length", Record.length()); });
784 Error LVSymbolVisitor::visitKnownRecord(CVSymbol &Record, BlockSym &Block) {
799 // Record converted segment::offset addressing for this scope.
812 Error LVSymbolVisitor::visitKnownRecord(CVSymbol &Record,
867 Error LVSymbolVisitor::visitKnownRecord(CVSymbol &Record,
930 Error LVSymbolVisitor::visitKnownRecord(CVSymbol &Record,
975 Error LVSymbolVisitor::visitKnownRecord(CVSymbol &Record,
1020 Error LVSymbolVisitor::visitKnownRecord(CVSymbol &Record,
1039 CVSymbol &Record,
1067 CVSymbol &Record, DefRangeFramePointerRelSym &DefRangeFramePointerRel) {
1105 CVSymbol &Record, DefRangeRegisterRelSym &DefRangeRegisterRel) {
1143 Error LVSymbolVisitor::visitKnownRecord(CVSymbol &Record,
1179 CVSymbol &Record, DefRangeSubfieldRegisterSym &DefRangeSubfieldRegister) {
1216 Error LVSymbolVisitor::visitKnownRecord(CVSymbol &Record,
1259 Error LVSymbolVisitor::visitKnownRecord(CVSymbol &Record,
1300 Error LVSymbolVisitor::visitKnownRecord(CVSymbol &Record,
1333 Error LVSymbolVisitor::visitKnownRecord(CVSymbol &Record, DataSym &Data) {
1367 if (Record.kind() == SymbolKind::S_GDATA32)
1375 Error LVSymbolVisitor::visitKnownRecord(CVSymbol &Record,
1411 Error LVSymbolVisitor::visitKnownRecord(CVSymbol &Record, LocalSym &Local) {
1452 // are emitted after this symbol. Record the current symbol.
1460 Error LVSymbolVisitor::visitKnownRecord(CVSymbol &Record, ObjNameSym &ObjName) {
1471 Error LVSymbolVisitor::visitKnownRecord(CVSymbol &Record, ProcSym &Proc) {
1533 // Record converted segment::offset addressing for this scope.
1593 if (Record.kind() == SymbolKind::S_GPROC32 ||
1594 Record.kind() == SymbolKind::S_GPROC32_ID)
1615 Error LVSymbolVisitor::visitKnownRecord(CVSymbol &Record,
1622 Error LVSymbolVisitor::visitKnownRecord(CVSymbol &Record, Thunk32Sym &Thunk) {
1641 Error LVSymbolVisitor::visitKnownRecord(CVSymbol &Record, UDTSym &UDT) {
1676 Error LVSymbolVisitor::visitKnownRecord(CVSymbol &Record,
1700 Error LVSymbolVisitor::visitKnownRecord(CVSymbol &Record, CallerSym &Caller) {
1715 "Unknown CV Record type for a CallerSym object!");
1744 void LVLogicalVisitor::printTypeBegin(CVType &Record, TypeIndex TI,
1747 W.startLine() << formatTypeLeafKind(Record.kind());
1751 W.printEnum("TypeLeafKind", unsigned(Record.kind()), ArrayRef(LeafTypeNames));
1757 void LVLogicalVisitor::printTypeEnd(CVType &Record) {
1762 void LVLogicalVisitor::printMemberBegin(CVMemberRecord &Record, TypeIndex TI,
1766 W.startLine() << formatTypeLeafKind(Record.Kind);
1770 W.printEnum("TypeLeafKind", unsigned(Record.Kind), ArrayRef(LeafTypeNames));
1776 void LVLogicalVisitor::printMemberEnd(CVMemberRecord &Record) {
1781 Error LVLogicalVisitor::visitUnknownType(CVType &Record, TypeIndex TI) {
1784 W.printNumber("Length", uint32_t(Record.content().size()));
1790 Error LVLogicalVisitor::visitKnownRecord(CVType &Record, ArgListRecord &Args,
1795 printTypeBegin(Record, TI, Element, StreamTPI);
1800 printTypeEnd(Record);
1813 Error LVLogicalVisitor::visitKnownRecord(CVType &Record, ArrayRecord &AT,
1816 printTypeBegin(Record, TI, Element, StreamTPI);
1821 printTypeEnd(Record);
1867 CVType CVEntry = Record;
1931 Error LVLogicalVisitor::visitKnownRecord(CVType &Record, BitFieldRecord &BF,
1934 printTypeBegin(Record, TI, Element, StreamTPI);
1938 printTypeEnd(Record);
1947 Error LVLogicalVisitor::visitKnownRecord(CVType &Record, BuildInfoRecord &BI,
1950 printTypeBegin(Record, TI, Element, StreamIPI);
1955 printTypeEnd(Record);
1971 Error LVLogicalVisitor::visitKnownRecord(CVType &Record, ClassRecord &Class,
1974 printTypeBegin(Record, TI, Element, StreamTPI);
1983 printTypeEnd(Record);
2041 Error LVLogicalVisitor::visitKnownRecord(CVType &Record, EnumRecord &Enum,
2044 printTypeBegin(Record, TI, Element, StreamTPI);
2049 printTypeEnd(Record);
2098 Error LVLogicalVisitor::visitKnownRecord(CVType &Record,
2102 printTypeBegin(Record, TI, Element, StreamTPI);
2103 printTypeEnd(Record);
2113 Error LVLogicalVisitor::visitKnownRecord(CVType &Record, FuncIdRecord &Func,
2117 printTypeBegin(Record, TI, Element, StreamIPI);
2121 printTypeEnd(Record);
2158 Error LVLogicalVisitor::visitKnownRecord(CVType &Record, LabelRecord &LR,
2161 printTypeBegin(Record, TI, Element, StreamTPI);
2162 printTypeEnd(Record);
2168 Error LVLogicalVisitor::visitKnownRecord(CVType &Record, MemberFuncIdRecord &Id,
2172 printTypeBegin(Record, TI, Element, StreamIPI);
2176 printTypeEnd(Record);
2199 Error LVLogicalVisitor::visitKnownRecord(CVType &Record,
2203 printTypeBegin(Record, TI, Element, StreamTPI);
2210 printTypeEnd(Record);
2246 Error LVLogicalVisitor::visitKnownRecord(CVType &Record,
2250 printTypeBegin(Record, TI, Element, StreamTPI);
2251 printTypeEnd(Record);
2255 CVMemberRecord Record;
2256 Record.Kind = LF_METHOD;
2258 if (Error Err = visitKnownMember(Record, Method, TI, Element))
2266 Error LVLogicalVisitor::visitKnownRecord(CVType &Record, ModifierRecord &Mod,
2269 printTypeBegin(Record, TI, Element, StreamTPI);
2271 printTypeEnd(Record);
2327 Error LVLogicalVisitor::visitKnownRecord(CVType &Record, PointerRecord &Ptr,
2330 printTypeBegin(Record, TI, Element, StreamTPI);
2345 printTypeEnd(Record);
2410 Error LVLogicalVisitor::visitKnownRecord(CVType &Record, ProcedureRecord &Proc,
2413 printTypeBegin(Record, TI, Element, StreamTPI);
2417 printTypeEnd(Record);
2441 Error LVLogicalVisitor::visitKnownRecord(CVType &Record, UnionRecord &Union,
2444 printTypeBegin(Record, TI, Element, StreamTPI);
2451 printTypeEnd(Record);
2488 Error LVLogicalVisitor::visitKnownRecord(CVType &Record, TypeServer2Record &TS,
2491 printTypeBegin(Record, TI, Element, StreamTPI);
2495 printTypeEnd(Record);
2501 Error LVLogicalVisitor::visitKnownRecord(CVType &Record, VFTableRecord &VFT,
2504 printTypeBegin(Record, TI, Element, StreamTPI);
2511 printTypeEnd(Record);
2517 Error LVLogicalVisitor::visitKnownRecord(CVType &Record,
2521 printTypeBegin(Record, TI, Element, StreamTPI);
2523 printTypeEnd(Record);
2529 Error LVLogicalVisitor::visitKnownRecord(CVType &Record,
2534 printTypeBegin(Record, TI, Element, StreamIPI);
2541 printTypeEnd(Record);
2547 Error LVLogicalVisitor::visitKnownRecord(CVType &Record, StringIdRecord &String,
2569 Error LVLogicalVisitor::visitKnownRecord(CVType &Record,
2583 Error LVLogicalVisitor::visitKnownRecord(CVType &Record,
2588 printTypeBegin(Record, TI, Element, StreamIPI);
2594 printTypeEnd(Record);
2600 Error LVLogicalVisitor::visitKnownRecord(CVType &Record, PrecompRecord &Precomp,
2603 printTypeBegin(Record, TI, Element, StreamTPI);
2608 printTypeEnd(Record);
2614 Error LVLogicalVisitor::visitKnownRecord(CVType &Record,
2618 printTypeBegin(Record, TI, Element, StreamTPI);
2620 printTypeEnd(Record);
2625 Error LVLogicalVisitor::visitUnknownMember(CVMemberRecord &Record,
2627 LLVM_DEBUG({ W.printHex("UnknownMember", unsigned(Record.Kind)); });
2632 Error LVLogicalVisitor::visitKnownMember(CVMemberRecord &Record,
2636 printMemberBegin(Record, TI, Element, StreamTPI);
2639 printMemberEnd(Record);
2642 createElement(Record.Kind);
2655 Error LVLogicalVisitor::visitKnownMember(CVMemberRecord &Record,
2659 printMemberBegin(Record, TI, Element, StreamTPI);
2663 printMemberEnd(Record);
2667 createDataMember(Record, static_cast<LVScope *>(Element), Field.getName(),
2673 Error LVLogicalVisitor::visitKnownMember(CVMemberRecord &Record,
2677 printMemberBegin(Record, TI, Element, StreamTPI);
2680 printMemberEnd(Record);
2683 createElement(Record.Kind);
2696 Error LVLogicalVisitor::visitKnownMember(CVMemberRecord &Record,
2700 printMemberBegin(Record, TI, Element, StreamTPI);
2702 printMemberEnd(Record);
2708 Error LVLogicalVisitor::visitKnownMember(CVMemberRecord &Record,
2712 printMemberBegin(Record, TI, Element, StreamTPI);
2715 printMemberEnd(Record);
2753 Error LVLogicalVisitor::visitKnownMember(CVMemberRecord &Record,
2757 printMemberBegin(Record, TI, Element, StreamTPI);
2763 printMemberEnd(Record);
2799 Error LVLogicalVisitor::visitKnownMember(CVMemberRecord &Record,
2803 printMemberBegin(Record, TI, Element, StreamTPI);
2807 printMemberEnd(Record);
2810 // Record the overloaded method name, which will be used during the
2822 Error LVLogicalVisitor::visitKnownMember(CVMemberRecord &Record,
2826 printMemberBegin(Record, TI, Element, StreamTPI);
2829 printMemberEnd(Record);
2833 createDataMember(Record, static_cast<LVScope *>(Element), Field.getName(),
2839 Error LVLogicalVisitor::visitKnownMember(CVMemberRecord &Record,
2843 printMemberBegin(Record, TI, Element, StreamTPI);
2845 printMemberEnd(Record);
2851 Error LVLogicalVisitor::visitKnownMember(CVMemberRecord &Record,
2855 printMemberBegin(Record, TI, Element, StreamTPI);
2860 printMemberEnd(Record);
2863 createElement(Record.Kind);
2876 Error LVLogicalVisitor::visitMemberRecord(CVMemberRecord &Record,
2879 if (Error Err = Callbacks.visitMemberBegin(Record))
2882 switch (Record.Kind) {
2884 if (Error Err = Callbacks.visitUnknownMember(Record))
2890 visitKnownMember<Name##Record>(Record, Callbacks, TI, Element)) \
2901 if (Error Err = Callbacks.visitMemberEnd(Record))
2907 Error LVLogicalVisitor::finishVisitation(CVType &Record, TypeIndex TI,
2909 switch (Record.kind()) {
2911 if (Error Err = visitUnknownType(Record, TI))
2916 if (Error Err = visitKnownRecord<Name##Record>(Record, TI, Element)) \
2944 CVMemberRecord Record;
2945 Record.Kind = Leaf;
2946 if (Error Err = visitMemberRecord(Record, Pipeline, TI, Element))
3160 void LVLogicalVisitor::createDataMember(CVMemberRecord &Record, LVScope *Parent,
3168 createElement(Record.Kind);