Home
last modified time | relevance | path

Searched refs:Record (Results 1 – 25 of 221) sorted by relevance

123456789

/NextBSD/contrib/llvm/tools/clang/lib/Serialization/
HDASTWriterStmt.cpp34 ASTWriter::RecordData &Record; member in clang::ASTStmtWriter
40 ASTStmtWriter(ASTWriter &Writer, ASTWriter::RecordData &Record) in ASTStmtWriter() argument
41 : Writer(Writer), Record(Record) { } in ASTStmtWriter()
54 Writer.AddSourceLocation(Args.getTemplateKeywordLoc(), Record); in AddTemplateKWAndArgsInfo()
55 Writer.AddSourceLocation(Args.LAngleLoc, Record); in AddTemplateKWAndArgsInfo()
56 Writer.AddSourceLocation(Args.RAngleLoc, Record); in AddTemplateKWAndArgsInfo()
58 Writer.AddTemplateArgumentLoc(Args.getTemplateArgs()[i], Record); in AddTemplateKWAndArgsInfo()
66 Writer.AddSourceLocation(S->getSemiLoc(), Record); in VisitNullStmt()
67 Record.push_back(S->HasLeadingEmptyMacro); in VisitNullStmt()
73 Record.push_back(S->size()); in VisitCompoundStmt()
[all …]
HDASTReaderStmt.cpp34 const ASTReader::RecordData &Record; member in clang::ASTStmtReader
83 const ASTReader::RecordData &Record, unsigned &Idx) in ASTStmtReader() argument
84 : Reader(Reader), F(F), DeclsCursor(Cursor), Record(Record), Idx(Idx) { } in ASTStmtReader()
111 SourceLocation TemplateKWLoc = ReadSourceLocation(Record, Idx); in ReadTemplateKWAndArgsInfo()
113 ArgInfo.setLAngleLoc(ReadSourceLocation(Record, Idx)); in ReadTemplateKWAndArgsInfo()
114 ArgInfo.setRAngleLoc(ReadSourceLocation(Record, Idx)); in ReadTemplateKWAndArgsInfo()
117 Reader.ReadTemplateArgumentLoc(F, Record, Idx)); in ReadTemplateKWAndArgsInfo()
127 S->setSemiLoc(ReadSourceLocation(Record, Idx)); in VisitNullStmt()
128 S->HasLeadingEmptyMacro = Record[Idx++]; in VisitNullStmt()
134 unsigned NumStmts = Record[Idx++]; in VisitCompoundStmt()
[all …]
HDASTWriter.cpp82 ASTWriter::RecordDataImpl &Record; member in __anon5c08d4250111::ASTTypeWriter
90 ASTTypeWriter(ASTWriter &Writer, ASTWriter::RecordDataImpl &Record) in ASTTypeWriter() argument
91 : Writer(Writer), Record(Record), Code(TYPE_EXT_QUAL) { } in ASTTypeWriter()
108 Writer.AddTypeRef(T->getElementType(), Record); in VisitComplexType()
113 Writer.AddTypeRef(T->getPointeeType(), Record); in VisitPointerType()
118 Writer.AddTypeRef(T->getOriginalType(), Record); in VisitDecayedType()
123 Writer.AddTypeRef(T->getOriginalType(), Record); in VisitAdjustedType()
124 Writer.AddTypeRef(T->getAdjustedType(), Record); in VisitAdjustedType()
129 Writer.AddTypeRef(T->getPointeeType(), Record); in VisitBlockPointerType()
134 Writer.AddTypeRef(T->getPointeeTypeAsWritten(), Record); in VisitLValueReferenceType()
[all …]
HDASTWriterDecl.cpp39 RecordData &Record; member in clang::ASTDeclWriter
45 ASTDeclWriter(ASTWriter &Writer, ASTContext &Context, RecordData &Record) in ASTDeclWriter() argument
46 : Writer(Writer), Context(Context), Record(Record) { in ASTDeclWriter()
139 Record.push_back(0); in AddObjCTypeParamList()
143 Record.push_back(typeParams->size()); in AddObjCTypeParamList()
145 Writer.AddDeclRef(typeParam, Record); in AddObjCTypeParamList()
147 Writer.AddSourceLocation(typeParams->getLAngleLoc(), Record); in AddObjCTypeParamList()
148 Writer.AddSourceLocation(typeParams->getRAngleLoc(), Record); in AddObjCTypeParamList()
154 Record.push_back(CD->NumCtorInitializers); in AddFunctionDefinition()
157 llvm::makeArrayRef(CD->init_begin(), CD->init_end()), Record); in AddFunctionDefinition()
[all …]
HDASTReaderDecl.cpp43 const RecordData &Record; member in clang::ASTDeclReader
71 for (unsigned I = 0, Size = Record[Idx++]; I != Size; ++I) in ReadDeclIDList()
72 IDs.push_back(ReadDeclID(Record, Idx)); in ReadDeclIDList()
223 unsigned RawLocation, const RecordData &Record, unsigned &Idx) in ASTDeclReader() argument
225 RawLocation(RawLocation), Record(Record), Idx(Idx), in ASTDeclReader()
257 const RecordData &Record);
454 GetTypeSourceInfo(Record, Idx); in Visit()
457 DD->DeclInfo = GetTypeSourceInfo(Record, Idx); in Visit()
478 if (Record[Idx++]) { in Visit()
480 CD->NumCtorInitializers = Record[Idx++]; in Visit()
[all …]
HDASTReader.cpp971 RecordData Record; in ReadDeclContextStorage() local
974 unsigned RecCode = Cursor.readRecord(Code, Record, &Blob); in ReadDeclContextStorage()
988 RecordData Record; in ReadDeclContextStorage() local
991 unsigned RecCode = Cursor.readRecord(Code, Record, &Blob); in ReadDeclContextStorage()
997 (const unsigned char *)Blob.data() + Record[0], in ReadDeclContextStorage()
1029 const RecordData &Record) { in ParseLineTable() argument
1035 for (int I = 0, N = Record[Idx++]; I != N; ++I) { in ParseLineTable()
1037 auto Filename = ReadPath(F, Record, Idx); in ParseLineTable()
1043 while (Idx < Record.size()) { in ParseLineTable()
1044 int FID = Record[Idx++]; in ParseLineTable()
[all …]
HDGlobalModuleIndex.cpp149 case llvm::BitstreamEntry::Record: in GlobalModuleIndex()
168 SmallVector<uint64_t, 64> Record; in GlobalModuleIndex() local
170 switch ((IndexRecordTypes)Cursor.readRecord(Entry.ID, Record, &Blob)) { in GlobalModuleIndex()
173 if (Record.size() < 1 || Record[0] != CurrentVersion) in GlobalModuleIndex()
179 unsigned ID = Record[Idx++]; in GlobalModuleIndex()
189 Modules[ID].Size = Record[Idx++]; in GlobalModuleIndex()
190 Modules[ID].ModTime = Record[Idx++]; in GlobalModuleIndex()
193 unsigned NameLen = Record[Idx++]; in GlobalModuleIndex()
194 Modules[ID].FileName.assign(Record.begin() + Idx, in GlobalModuleIndex()
195 Record.begin() + Idx + NameLen); in GlobalModuleIndex()
[all …]
/NextBSD/contrib/llvm/lib/Bitcode/Reader/
HDBitcodeReader.cpp286 bool getValueTypePair(SmallVectorImpl<uint64_t> &Record, unsigned &Slot, in getValueTypePair() argument
288 if (Slot == Record.size()) return true; in getValueTypePair()
289 unsigned ValNo = (unsigned)Record[Slot++]; in getValueTypePair()
299 if (Slot == Record.size()) in getValueTypePair()
302 unsigned TypeNo = (unsigned)Record[Slot++]; in getValueTypePair()
310 bool popValue(SmallVectorImpl<uint64_t> &Record, unsigned &Slot, in popValue() argument
312 if (getValue(Record, Slot, InstNum, Ty, ResVal)) in popValue()
320 bool getValue(SmallVectorImpl<uint64_t> &Record, unsigned Slot, in getValue() argument
322 ResVal = getValue(Record, Slot, InstNum, Ty); in getValue()
328 Value *getValue(SmallVectorImpl<uint64_t> &Record, unsigned Slot, in getValue() argument
[all …]
/NextBSD/contrib/llvm/tools/clang/lib/Frontend/
HDSerializedDiagnosticReader.cpp70 Record = 1, enumerator
103 return Cursor::Record; in skipUntilRecordOrBlock()
124 case Cursor::Record: in readMetaBlock()
135 SmallVector<uint64_t, 1> Record; in readMetaBlock() local
136 unsigned RecordID = Stream.readRecord(BlockOrCode, Record); in readMetaBlock()
139 if (Record.size() < 1) in readMetaBlock()
141 if (Record[0] > VersionNumber) in readMetaBlock()
157 SmallVector<uint64_t, 16> Record; in readDiagnosticBlock() local
177 case Cursor::Record: in readDiagnosticBlock()
182 Record.clear(); in readDiagnosticBlock()
[all …]
HDSerializedDiagnosticPrinter.cpp130 std::error_code adjustSourceLocFilename(RecordData &Record,
133 void adjustAbbrevID(RecordData &Record, AbbrevLookup &Lookup,
136 void writeRecordWithAbbrev(unsigned ID, RecordData &Record);
138 void writeRecordWithBlob(unsigned ID, RecordData &Record, StringRef Blob);
226 PresumedLoc PLoc, RecordDataImpl &Record,
230 void AddLocToRecord(SourceLocation Loc, RecordDataImpl &Record, in AddLocToRecord() argument
234 Record, TokSize); in AddLocToRecord()
238 void AddCharSourceRangeToRecord(CharSourceRange R, RecordDataImpl &Record,
276 RecordData Record; member
324 RecordDataImpl &Record) { in EmitBlockID() argument
[all …]
/NextBSD/contrib/llvm/lib/Bitcode/Writer/
HDBitcodeWriter.cpp267 SmallVector<uint64_t, 64> Record; in WriteAttributeGroupTable() local
273 Record.push_back(VE.getAttributeGroupID(A)); in WriteAttributeGroupTable()
274 Record.push_back(AS.getSlotIndex(i)); in WriteAttributeGroupTable()
280 Record.push_back(0); in WriteAttributeGroupTable()
281 Record.push_back(getAttrKindEncoding(Attr.getKindAsEnum())); in WriteAttributeGroupTable()
283 Record.push_back(1); in WriteAttributeGroupTable()
284 Record.push_back(getAttrKindEncoding(Attr.getKindAsEnum())); in WriteAttributeGroupTable()
285 Record.push_back(Attr.getValueAsInt()); in WriteAttributeGroupTable()
290 Record.push_back(Val.empty() ? 3 : 4); in WriteAttributeGroupTable()
291 Record.append(Kind.begin(), Kind.end()); in WriteAttributeGroupTable()
[all …]
/NextBSD/contrib/llvm/utils/TableGen/
HDCodeGenSchedule.h30 typedef std::vector<Record*> RecVec;
31 typedef std::vector<Record*>::const_iterator RecIter;
49 Record *TheDef;
61 CodeGenSchedRW(unsigned Idx, Record *Def) in CodeGenSchedRW()
130 Record *ItinClassDef;
147 bool isKeyEqual(Record *IC, const IdxVec &W, const IdxVec &R) { in isKeyEqual()
177 Record *ModelDef;
178 Record *ItinsDef;
199 CodeGenProcModel(unsigned Idx, const std::string &Name, Record *MDef, in CodeGenProcModel()
200 Record *IDef) : in CodeGenProcModel()
[all …]
HDCodeGenDAGPatterns.h29 class Record; variable
170 SDTypeConstraint(Record *R);
218 Record *Def;
226 SDNodeInfo(Record *R); // Parse the specified record.
233 Record *getRecord() const { return Def; } in getRecord()
324 Record *Operator;
340 Record *TransformFn;
344 TreePatternNode(Record *Op, const std::vector<TreePatternNode*> &Ch, in TreePatternNode()
382 Record *getOperator() const { assert(!isLeaf()); return Operator; } in getOperator()
414 Record *getTransformFn() const { return TransformFn; } in getTransformFn()
[all …]
HDCodeGenTarget.h53 MVT::SimpleValueType getValueType(Record *Rec);
60 std::string getQualifiedName(const Record *R);
66 Record *TargetRec;
68 mutable DenseMap<const Record*,
71 mutable std::vector<Record*> RegAltNameIndices;
84 Record *getTargetRecord() const { return TargetRec; } in getTargetRecord()
93 Record *getInstructionSet() const;
97 Record *getAsmParser() const;
102 Record *getAsmParserVariant(unsigned i) const;
111 Record *getAsmWriter() const;
[all …]
HDCodeGenMapTable.cpp83 typedef std::map<std::string, std::vector<Record*> > InstrRelMapTy;
85 typedef std::map<std::vector<Init*>, std::vector<Record*> > RowInstrMapTy;
101 InstrMap(Record* MapRec) { in InstrMap()
191 std::vector<Record*> InstrDefs;
198 std::vector<Record*> KeyInstrVec;
199 DenseMap<Record*, std::vector<Record*> > MapTable;
202 MapTableEmitter(CodeGenTarget &Target, RecordKeeper &Records, Record *IMRec): in MapTableEmitter()
212 bool isKeyColInstr(Record* CurInstr);
216 Record *getInstrForColumn(Record *KeyInstr, ListInit *CurValueCol);
242 for (Record *CurInstr : InstrDefs) { in buildRowInstrMap()
[all …]
HDCodeGenInstruction.h26 class Record; variable
68 Record *Rec;
108 OperandInfo(Record *R, const std::string &N, const std::string &PMN, in OperandInfo()
127 CGIOperandList(Record *D);
129 Record *TheDef; // The actual record containing this OperandList.
209 Record *TheDef; // The actual record defining this instruction.
222 std::vector<Record*> ImplicitDefs, ImplicitUses;
271 Record *InferredFrom;
273 CodeGenInstruction(Record *R);
292 Record *TheDef; // The actual record defining this InstAlias.
[all …]
HDCodeGenTarget.cpp38 MVT::SimpleValueType llvm::getValueType(Record *Rec) { in getValueType()
126 std::string llvm::getQualifiedName(const Record *R) { in getQualifiedName()
139 std::vector<Record*> Targets = Records.getAllDerivedDefinitions("Target"); in CodeGenTarget()
165 Record *CodeGenTarget::getInstructionSet() const { in getInstructionSet()
172 Record *CodeGenTarget::getAsmParser() const { in getAsmParser()
173 std::vector<Record*> LI = TargetRec->getValueAsListOfDefs("AssemblyParsers"); in getAsmParser()
183 Record *CodeGenTarget::getAsmParserVariant(unsigned i) const { in getAsmParserVariant()
184 std::vector<Record*> LI = in getAsmParserVariant()
196 std::vector<Record*> LI = in getAsmParserVariantCount()
203 Record *CodeGenTarget::getAsmWriter() const { in getAsmWriter()
[all …]
/NextBSD/contrib/llvm/lib/TableGen/
HDTGParser.h25 class Record; variable
106 bool AddValue(Record *TheRec, SMLoc Loc, const RecordVal &RV);
107 bool SetValue(Record *TheRec, SMLoc Loc, Init *ValName,
109 bool SetValue(Record *TheRec, SMLoc Loc, const std::string &ValName, in SetValue()
113 bool AddSubClass(Record *Rec, SubClassReference &SubClass);
130 bool ProcessForeachDefs(Record *CurRec, SMLoc Loc);
131 bool ProcessForeachDefs(Record *CurRec, SMLoc Loc, IterSet &IterVals);
138 Record *InstantiateMulticlassDef(MultiClass &MC,
139 Record *DefProto,
145 Record *DefProto,
[all …]
/NextBSD/contrib/llvm/tools/clang/utils/TableGen/
HDClangSACheckersEmitter.cpp28 static bool isHidden(const Record &R) { in isHidden()
38 static bool isCheckerNamed(const Record *R) { in isCheckerNamed()
42 static std::string getPackageFullName(const Record *R);
44 static std::string getParentPackageFullName(const Record *R) { in getParentPackageFullName()
51 static std::string getPackageFullName(const Record *R) { in getPackageFullName()
57 static std::string getCheckerFullName(const Record *R) { in getCheckerFullName()
66 static std::string getStringValue(const Record &R, StringRef field) { in getStringValue()
74 llvm::DenseSet<const Record*> Checkers;
75 llvm::DenseSet<const Record *> SubGroups;
83 static void addPackageToCheckerGroup(const Record *package, const Record *group, in addPackageToCheckerGroup()
[all …]
HDClangDiagnosticsEmitter.cpp43 std::map<const Record*, std::vector<Record*> > Mapping;
46 std::vector<Record*> DiagGroups in DiagGroupParentMap()
49 std::vector<Record*> SubGroups = in DiagGroupParentMap()
56 const std::vector<Record*> &getParents(const Record *Group) { in getParents()
63 getCategoryFromDiagGroup(const Record *Group, in getCategoryFromDiagGroup()
71 const std::vector<Record*> &Parents = DiagGroupParents.getParents(Group); in getCategoryFromDiagGroup()
81 static std::string getDiagnosticCategory(const Record *R, in getDiagnosticCategory()
108 std::vector<Record*> Diags = in DiagCategoryIDMap()
132 std::vector<const Record*> DiagsInGroup;
136 const Record *ExplicitDef;
[all …]
HDClangASTNodesEmitter.cpp28 typedef std::multimap<Record*, Record*> ChildMap;
32 Record Root;
46 std::string baseName(Record &R) { in baseName()
53 std::pair<Record *, Record *> EmitNode (const ChildMap &Tree, raw_ostream& OS,
54 Record *Base);
72 std::pair<Record *, Record *> ClangASTNodesEmitter::EmitNode( in EmitNode()
75 Record *Base) { in EmitNode()
80 Record *First = nullptr, *Last = nullptr; in EmitNode()
87 Record *R = i->second; in EmitNode()
104 const std::pair<Record *, Record *> &Result in EmitNode()
[all …]
HDClangAttrEmitter.cpp40 explicit FlattenedSpelling(const Record &Spelling) : in FlattenedSpelling()
60 GetFlattenedSpellings(const Record &Attr) { in GetFlattenedSpellings()
61 std::vector<Record *> Spellings = Attr.getValueAsListOfDefs("Spellings"); in GetFlattenedSpellings()
133 typedef std::vector<std::pair<std::string, const Record *>> ParsedAttrMap;
137 std::vector<Record *> Attrs = Records.getAllDerivedDefinitions("Attr"); in getParsedAttrList()
171 Argument(const Record &Arg, StringRef Attr) in Argument()
221 SimpleArgument(const Record &Arg, StringRef Attr, std::string T) in SimpleArgument()
298 DefaultSimpleArgument(const Record &Arg, StringRef Attr, in DefaultSimpleArgument()
312 StringArgument(const Record &Arg, StringRef Attr) in StringArgument()
381 AlignedArgument(const Record &Arg, StringRef Attr) in AlignedArgument()
[all …]
/NextBSD/contrib/llvm/tools/clang/include/clang/Serialization/
HDASTWriter.h533 void WriteAttributes(ArrayRef<const Attr*> Attrs, RecordDataImpl &Record);
563 void AddFunctionDefinition(const FunctionDecl *FD, RecordData &Record);
594 void AddToken(const Token &Tok, RecordDataImpl &Record);
597 void AddSourceLocation(SourceLocation Loc, RecordDataImpl &Record);
600 void AddSourceRange(SourceRange Range, RecordDataImpl &Record);
603 void AddAPInt(const llvm::APInt &Value, RecordDataImpl &Record);
606 void AddAPSInt(const llvm::APSInt &Value, RecordDataImpl &Record);
609 void AddAPFloat(const llvm::APFloat &Value, RecordDataImpl &Record);
612 void AddIdentifierRef(const IdentifierInfo *II, RecordDataImpl &Record);
615 void AddSelectorRef(Selector, RecordDataImpl &Record);
[all …]
/NextBSD/contrib/llvm/include/llvm/TableGen/
HDRecord.h32 class Record; variable
193 Record *Rec;
194 explicit RecordRecTy(Record *R) : RecTy(RecordRecTyKind), Rec(R) {} in RecordRecTy()
195 friend class Record; variable
202 static RecordRecTy *get(Record *R);
204 Record *getRecord() const { return Rec; } in getRecord()
327 virtual Init *getFieldInit(Record &R, const RecordVal *RV, in getFieldInit()
337 virtual Init *resolveReferences(Record &R, const RecordVal *RV) const { in resolveReferences()
398 virtual Init *resolveListElementReference(Record &R, const RecordVal *RV,
494 Init *resolveListElementReference(Record &R, const RecordVal *RV, in resolveListElementReference()
[all …]
/NextBSD/contrib/llvm/lib/DebugInfo/PDB/DIA/
HDDIADataStream.cpp38 RecordType Record; in getItemAtIndex() local
44 Record.resize(RecordSize); in getItemAtIndex()
45 if (S_OK != StreamData->Item(Index, RecordSize, &RecordSize, &Record[0])) in getItemAtIndex()
47 return Record; in getItemAtIndex()
50 bool DIADataStream::getNext(RecordType &Record) { in getNext() argument
51 Record.clear(); in getNext()
58 Record.resize(RecordSize); in getNext()
60 StreamData->Next(1, RecordSize, &RecordSize, &Record[0], &CountFetched)) in getNext()

123456789