Home
last modified time | relevance | path

Searched refs:Records (Results 1 – 25 of 147) sorted by relevance

123456

/src/contrib/llvm-project/clang/utils/TableGen/
H A DTableGen.cpp315 bool ClangTableGenMain(raw_ostream &OS, RecordKeeper &Records) { in ClangTableGenMain() argument
318 OS << Records; // No argument, dump all contents in ClangTableGenMain()
321 EmitJSON(Records, OS); in ClangTableGenMain()
324 EmitClangAttrClass(Records, OS); in ClangTableGenMain()
327 EmitClangAttrParserStringSwitches(Records, OS); in ClangTableGenMain()
330 EmitClangAttrSubjectMatchRulesParserStringSwitches(Records, OS); in ClangTableGenMain()
333 EmitClangAttrImpl(Records, OS); in ClangTableGenMain()
336 EmitClangAttrList(Records, OS); in ClangTableGenMain()
339 EmitClangAttrDocTable(Records, OS); in ClangTableGenMain()
342 EmitClangAttrSubjectMatchRuleList(Records, OS); in ClangTableGenMain()
[all …]
H A DTableGenBackends.h38 void EmitClangBasicReader(llvm::RecordKeeper &Records, llvm::raw_ostream &OS);
39 void EmitClangBasicWriter(llvm::RecordKeeper &Records, llvm::raw_ostream &OS);
40 void EmitClangTypeNodes(llvm::RecordKeeper &Records, llvm::raw_ostream &OS);
41 void EmitClangTypeReader(llvm::RecordKeeper &Records, llvm::raw_ostream &OS);
42 void EmitClangTypeWriter(llvm::RecordKeeper &Records, llvm::raw_ostream &OS);
43 void EmitClangAttrParserStringSwitches(llvm::RecordKeeper &Records,
46 llvm::RecordKeeper &Records, llvm::raw_ostream &OS);
47 void EmitClangAttrClass(llvm::RecordKeeper &Records, llvm::raw_ostream &OS);
48 void EmitClangAttrImpl(llvm::RecordKeeper &Records, llvm::raw_ostream &OS);
49 void EmitClangAttrList(llvm::RecordKeeper &Records, llvm::raw_ostream &OS);
[all …]
H A DClangOpenCLBuiltinEmitter.cpp90 BuiltinNameEmitter(RecordKeeper &Records, raw_ostream &OS) in BuiltinNameEmitter() argument
91 : Records(Records), OS(OS) {} in BuiltinNameEmitter()
103 RecordKeeper &Records; member in __anonfc2b2df10111::BuiltinNameEmitter
240 OpenCLBuiltinFileEmitterBase(RecordKeeper &Records, raw_ostream &OS) in OpenCLBuiltinFileEmitterBase() argument
241 : Records(Records), OS(OS) {} in OpenCLBuiltinFileEmitterBase()
308 RecordKeeper &Records; member in __anonfc2b2df10111::OpenCLBuiltinFileEmitterBase
319 OpenCLBuiltinTestEmitter(RecordKeeper &Records, raw_ostream &OS) in OpenCLBuiltinTestEmitter() argument
320 : OpenCLBuiltinFileEmitterBase(Records, OS) {} in OpenCLBuiltinTestEmitter()
332 OpenCLBuiltinHeaderEmitter(RecordKeeper &Records, raw_ostream &OS) in OpenCLBuiltinHeaderEmitter() argument
333 : OpenCLBuiltinFileEmitterBase(Records, OS) {} in OpenCLBuiltinHeaderEmitter()
[all …]
H A DClangCommentHTMLTagsEmitter.cpp22 void clang::EmitClangCommentHTMLTags(RecordKeeper &Records, raw_ostream &OS) { in EmitClangCommentHTMLTags() argument
23 std::vector<Record *> Tags = Records.getAllDerivedDefinitions("Tag"); in EmitClangCommentHTMLTags()
30 emitSourceFileHeader("HTML tag name matcher", OS, Records); in EmitClangCommentHTMLTags()
38 void clang::EmitClangCommentHTMLTagsProperties(RecordKeeper &Records, in EmitClangCommentHTMLTagsProperties() argument
40 std::vector<Record *> Tags = Records.getAllDerivedDefinitions("Tag"); in EmitClangCommentHTMLTagsProperties()
52 emitSourceFileHeader("HTML tag properties", OS, Records); in EmitClangCommentHTMLTagsProperties()
H A DClangAttrEmitter.cpp173 static ParsedAttrMap getParsedAttrList(const RecordKeeper &Records, in getParsedAttrList() argument
176 std::vector<Record *> Attrs = Records.getAllDerivedDefinitions("Attr"); in getParsedAttrList()
1895 static void emitClangAttrLateParsedListImpl(RecordKeeper &Records, in emitClangAttrLateParsedListImpl() argument
1898 std::vector<Record *> Attrs = Records.getAllDerivedDefinitions("Attr"); in emitClangAttrLateParsedListImpl()
1916 static void emitClangAttrLateParsedList(RecordKeeper &Records, in emitClangAttrLateParsedList() argument
1919 emitClangAttrLateParsedListImpl(Records, OS, LateAttrParseKind::Standard); in emitClangAttrLateParsedList()
1923 static void emitClangAttrLateParsedExperimentalList(RecordKeeper &Records, in emitClangAttrLateParsedExperimentalList() argument
1926 emitClangAttrLateParsedListImpl(Records, OS, in emitClangAttrLateParsedExperimentalList()
2050 PragmaClangAttributeSupport(RecordKeeper &Records);
2089 RecordKeeper &Records) { in PragmaClangAttributeSupport() argument
[all …]
H A DSveEmitter.cpp299 RecordKeeper &Records; member in __anondae860620111::SVEEmitter
307 SVEEmitter(RecordKeeper &R) : Records(R) { in SVEEmitter()
308 for (auto *RV : Records.getAllDerivedDefinitions("EltType")) in SVEEmitter()
310 for (auto *RV : Records.getAllDerivedDefinitions("MemEltType")) in SVEEmitter()
312 for (auto *RV : Records.getAllDerivedDefinitions("FlagType")) in SVEEmitter()
314 for (auto *RV : Records.getAllDerivedDefinitions("MergeType")) in SVEEmitter()
316 for (auto *RV : Records.getAllDerivedDefinitions("ImmCheckType")) in SVEEmitter()
1243 std::vector<Record *> RV = Records.getAllDerivedDefinitions("Inst"); in createCoreHeaderIntrinsics()
1445 std::vector<Record *> RV = Records.getAllDerivedDefinitions("Inst"); in createBuiltins()
1487 std::vector<Record *> RV = Records.getAllDerivedDefinitions("Inst"); in createCodeGenMap()
[all …]
H A DClangCommentCommandInfoEmitter.cpp23 void clang::EmitClangCommentCommandInfo(RecordKeeper &Records, in EmitClangCommentCommandInfo() argument
26 OS, Records); in EmitClangCommentCommandInfo()
30 std::vector<Record *> Tags = Records.getAllDerivedDefinitions("Command"); in EmitClangCommentCommandInfo()
115 void clang::EmitClangCommentCommandList(RecordKeeper &Records, in EmitClangCommentCommandList() argument
118 OS, Records); in EmitClangCommentCommandList()
124 std::vector<Record *> Tags = Records.getAllDerivedDefinitions("Command"); in EmitClangCommentCommandList()
H A DClangSyntaxEmitter.cpp44 Hierarchy(const llvm::RecordKeeper &Records) { in Hierarchy() argument
45 for (llvm::Record *T : Records.getAllDerivedDefinitions("NodeType")) in Hierarchy()
47 for (llvm::Record *Derived : Records.getAllDerivedDefinitions("NodeType")) in Hierarchy()
130 void clang::EmitClangSyntaxNodeList(llvm::RecordKeeper &Records, in EmitClangSyntaxNodeList() argument
132 llvm::emitSourceFileHeader("Syntax tree node list", OS, Records); in EmitClangSyntaxNodeList()
133 Hierarchy H(Records); in EmitClangSyntaxNodeList()
189 void clang::EmitClangSyntaxNodeClasses(llvm::RecordKeeper &Records, in EmitClangSyntaxNodeClasses() argument
191 llvm::emitSourceFileHeader("Syntax tree node list", OS, Records); in EmitClangSyntaxNodeClasses()
192 Hierarchy H(Records); in EmitClangSyntaxNodeClasses()
H A DClangASTNodesEmitter.cpp37 RecordKeeper &Records; member in __anon11698f9a0111::ClangASTNodesEmitter
76 : Records(R), NodeClassName(N), BaseSuffix(S) { in ClangASTNodesEmitter()
173 = Records.getAllDerivedDefinitions(NodeClassName); in deriveChildTree()
194 emitSourceFileHeader("List of AST nodes of a particular kind", OS, Records); in run()
239 void clang::EmitClangDeclContext(RecordKeeper &Records, raw_ostream &OS) { in EmitClangDeclContext() argument
242 emitSourceFileHeader("List of AST Decl nodes", OS, Records); in EmitClangDeclContext()
249 Records.getAllDerivedDefinitions(DeclContextNodeClassName); in EmitClangDeclContext()
251 Records.getAllDerivedDefinitions(DeclNodeClassName); in EmitClangDeclContext()
256 Records.getAllDerivedDefinitions(DeclNodeClassName); in EmitClangDeclContext()
/src/contrib/llvm-project/llvm/lib/XRay/
H A DBlockIndexer.cpp21 CurrentBlock.Records.push_back(&R); in visit()
27 CurrentBlock.Records.push_back(&R); in visit()
32 CurrentBlock.Records.push_back(&R); in visit()
37 CurrentBlock.Records.push_back(&R); in visit()
42 CurrentBlock.Records.push_back(&R); in visit()
47 CurrentBlock.Records.push_back(&R); in visit()
52 CurrentBlock.Records.push_back(&R); in visit()
58 CurrentBlock.Records.push_back(&R); in visit()
63 if (!CurrentBlock.Records.empty()) in visit()
68 CurrentBlock.Records.push_back(&R); in visit()
[all …]
H A DTrace.cpp36 std::vector<XRayRecord> &Records) { in loadNaiveFormatLog() argument
55 Records.reserve(NumReservations); in loadNaiveFormatLog()
82 Records.emplace_back(); in loadNaiveFormatLog()
83 auto &Record = Records.back(); in loadNaiveFormatLog()
152 auto &Record = Records.back(); in loadNaiveFormatLog()
269 XRayFileHeader &FileHeader, std::vector<XRayRecord> &Records) { in loadFDRLog() argument
314 for (auto *R : B.Records) in loadFDRLog()
336 auto Adder = [&](const XRayRecord &R) { Records.push_back(R); }; in loadFDRLog()
339 for (auto *R : B.Records) in loadFDRLog()
352 std::vector<XRayRecord> &Records) { in loadYAMLLog() argument
[all …]
/src/contrib/llvm-project/llvm/lib/TableGen/
H A DMain.cpp100 RecordKeeper Records; in TableGenMain() local
103 Records.startPhaseTiming(); in TableGenMain()
107 Records.startTimer("Parse, build records"); in TableGenMain()
114 Records.saveInputFilename(InputFilename); in TableGenMain()
123 TGParser Parser(SrcMgr, MacroNames, Records, NoWarnOnUnusedTemplateArgs); in TableGenMain()
127 Records.stopTimer(); in TableGenMain()
130 Records.startBackendTimer("Backend overall"); in TableGenMain()
136 ActionFn(Records, Out); in TableGenMain()
138 status = MainFn(Out, Records); in TableGenMain()
141 Records.stopBackendTimer(); in TableGenMain()
[all …]
H A DTGParser.cpp138 Init *TGVarScope::getVar(RecordKeeper &Records, MultiClass *ParsingMultiClass, in getVar() argument
159 ? VarInit::get(ArgName, StringRecTy::get(Records)) in getVar()
204 return Parent->getVar(Records, ParsingMultiClass, Name, NameLoc, in getVar()
259 Init *BI = V->getCastTo(BitsRecTy::get(Records, BitList.size())); in SetValue()
278 V = BitsInit::get(Records, NewBits); in SetValue()
322 StringRecTy::get(Records)); in AddSubClass()
372 StringRecTy::get(Records)), in AddSubMultiClass()
545 if (Record *Prev = Records.getDef(Rec->getNameInitAsString())) { in addDefOne()
552 NewName = Records.getNewAnonymousName(); in addDefOne()
586 Records.addDef(std::move(Rec)); in addDefOne()
[all …]
/src/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DLazyRandomTypeCollection.cpp41 Records.resize(RecordCountHint); in LazyRandomTypeCollection()
66 Records.clear(); in reset()
67 Records.resize(RecordCountHint); in reset()
85 return Records[Index.toArrayIndex()].Offset; in getOffsetOfType()
95 return Records[Index.toArrayIndex()].Type; in getType()
108 return Records[Index.toArrayIndex()].Type; in tryGetType()
126 if (Records[I].Name.data() == nullptr) { in getTypeName()
128 Records[I].Name = Result; in getTypeName()
130 return Records[I].Name; in getTypeName()
137 if (Records.size() <= Index.toArrayIndex()) in contains()
[all …]
H A DTypeTableCollection.cpp19 TypeTableCollection::TypeTableCollection(ArrayRef<ArrayRef<uint8_t>> Records) in TypeTableCollection() argument
20 : NameStorage(Allocator), Records(Records) { in TypeTableCollection()
21 Names.resize(Records.size()); in TypeTableCollection()
39 assert(Index.toArrayIndex() < Records.size()); in getType()
40 return CVType(Records[Index.toArrayIndex()]); in getType()
59 uint32_t TypeTableCollection::size() { return Records.size(); } in size()
61 uint32_t TypeTableCollection::capacity() { return Records.size(); } in capacity()
/src/contrib/llvm-project/llvm/utils/TableGen/
H A DTableGen.cpp43 void PrintRecords(RecordKeeper &Records, raw_ostream &OS) { in PrintRecords() argument
44 OS << Records; // No argument, dump all contents in PrintRecords()
47 void PrintEnums(RecordKeeper &Records, raw_ostream &OS) { in PrintEnums() argument
48 for (Record *Rec : Records.getAllDerivedDefinitions(Class)) in PrintEnums()
53 void PrintSets(RecordKeeper &Records, raw_ostream &OS) { in PrintSets() argument
56 for (Record *Rec : Records.getAllDerivedDefinitions("Set")) { in PrintSets()
71 {"null-backend", [](RecordKeeper &Records, raw_ostream &OS) {}, in __anon98730d120202()
H A DAttributes.cpp20 Attributes(RecordKeeper &R) : Records(R) {} in Attributes()
28 RecordKeeper &Records; member in __anonfd8aaaf70111::Attributes
47 for (auto *A : Records.getAllDerivedDefinitions(KindName)) { in emitTargetIndependentNames()
71 for (auto *A : Records.getAllDerivedDefinitions(KindName)) { in emitTargetIndependentNames()
89 Records.getAllDerivedDefinitions("CompatRule"); in emitFnAttrCompatCheck()
105 Records.getAllDerivedDefinitions("MergeRule"); in emitFnAttrCompatCheck()
125 for (auto *A : Records.getAllDerivedDefinitions(KindName)) { in emitAttributeProperties()
H A DDAGISelEmitter.cpp28 RecordKeeper &Records; // Just so we can get at the timing functions. member in __anond808c8630111::DAGISelEmitter
32 explicit DAGISelEmitter(RecordKeeper &R) : Records(R), CGP(R) {} in DAGISelEmitter()
135 Records.startTimer("Parse patterns"); in run()
166 Records.startTimer("Sort patterns"); in run()
176 Records.startTimer("Convert to matchers"); in run()
190 Records.startTimer("Optimize matchers"); in run()
195 Records.startTimer("Emit matcher table"); in run()
/src/contrib/llvm-project/lldb/utils/TableGen/
H A DLLDBTableGen.cpp46 static bool LLDBTableGenMain(raw_ostream &OS, RecordKeeper &Records) { in LLDBTableGenMain() argument
49 OS << Records; // No argument, dump all contents in LLDBTableGenMain()
52 EmitJSON(Records, OS); in LLDBTableGenMain()
55 EmitOptionDefs(Records, OS); in LLDBTableGenMain()
58 EmitPropertyDefs(Records, OS); in LLDBTableGenMain()
61 EmitPropertyEnumDefs(Records, OS); in LLDBTableGenMain()
H A DLLDBPropertyDefEmitter.cpp170 void lldb_private::EmitPropertyDefs(RecordKeeper &Records, raw_ostream &OS) { in EmitPropertyDefs() argument
171 emitSourceFileHeader("Property definitions for LLDB.", OS, Records); in EmitPropertyDefs()
174 Records.getAllDerivedDefinitions("Property"); in EmitPropertyDefs()
180 void lldb_private::EmitPropertyEnumDefs(RecordKeeper &Records, in EmitPropertyEnumDefs() argument
182 emitSourceFileHeader("Property definition enum for LLDB.", OS, Records); in EmitPropertyEnumDefs()
185 Records.getAllDerivedDefinitions("Property"); in EmitPropertyEnumDefs()
/src/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DGSIStreamBuilder.cpp184 std::vector<BulkPublic> Records; in finalizeGlobalBuckets() local
185 Records.resize(Globals.size()); in finalizeGlobalBuckets()
189 Records[I].Name = Name.data(); in finalizeGlobalBuckets()
190 Records[I].NameLen = Name.size(); in finalizeGlobalBuckets()
191 Records[I].SymOffset = SymOffset; in finalizeGlobalBuckets()
195 GSH->finalizeBuckets(RecordZeroOffset, Records); in finalizeGlobalBuckets()
199 uint32_t RecordZeroOffset, MutableArrayRef<BulkPublic> Records) { in finalizeBuckets() argument
201 parallelFor(0, Records.size(), [&](size_t I) { in finalizeBuckets()
202 Records[I].setBucketIdx(hashStringV1(Records[I].Name) % IPHR_HASH); in finalizeBuckets()
209 for (const BulkPublic &P : Records) in finalizeBuckets()
[all …]
/src/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DDirectiveEmitter.h18 explicit DirectiveLanguage(const llvm::RecordKeeper &Records) in DirectiveLanguage() argument
19 : Records(Records) { in DirectiveLanguage()
55 return Records.getAllDerivedDefinitions("Association"); in getAssociations()
59 return Records.getAllDerivedDefinitions("Category"); in getCategories()
63 return Records.getAllDerivedDefinitions("Directive"); in getDirectives()
67 return Records.getAllDerivedDefinitions("Clause"); in getClauses()
74 const llvm::RecordKeeper &Records; variable
77 return Records.getAllDerivedDefinitions("DirectiveLanguage"); in getDirectiveLanguages()
/src/contrib/llvm-project/llvm/include/llvm/XRay/
H A DTrace.h49 RecordVector Records; variable
63 const_iterator begin() const { return Records.begin(); } in begin()
64 const_iterator end() const { return Records.end(); } in end()
65 bool empty() const { return Records.empty(); } in empty()
66 size_type size() const { return Records.size(); } in size()
/src/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeHashing.h43 static std::vector<LocallyHashedType> hashTypes(Range &&Records) { in hashTypes()
45 Hashes.reserve(std::distance(std::begin(Records), std::end(Records))); in hashTypes()
46 for (const auto &R : Records) in hashTypes()
123 static std::vector<GloballyHashedType> hashTypes(Range &&Records) { in hashTypes()
126 for (const auto &R : Records) { in hashTypes()
141 for (const auto &R : Records) { in hashTypes()
160 hashIds(Range &&Records, ArrayRef<GloballyHashedType> TypeHashes) { in hashIds()
162 for (const auto &R : Records) in hashIds()
/src/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DCodeGenTarget.cpp89 : Records(records), CGH(records) { in CodeGenTarget()
90 std::vector<Record *> Targets = Records.getAllDerivedDefinitions("Target"); in CodeGenTarget()
96 MacroFusions = Records.getAllDerivedDefinitions("Fusion"); in CodeGenTarget()
175 RegBank = std::make_unique<CodeGenRegBank>(Records, getHwModes()); in getRegBank()
227 RegAltNameIndices = Records.getAllDerivedDefinitions("RegAltNameIndex"); in ReadRegAltNameIndices()
268 SchedModels = std::make_unique<CodeGenSchedModels>(Records, *this); in getSchedModels()
273 std::vector<Record *> Insts = Records.getAllDerivedDefinitions("Instruction"); in ReadInstructions()
288 RecordKeeper &Records) { in GetInstByName() argument
289 const Record *Rec = Records.getDef(Name); in GetInstByName()
311 const CodeGenInstruction *Instr = GetInstByName(*p, Insts, Records); in ComputeInstrsByEnum()
[all …]

123456