Home
last modified time | relevance | path

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

123456

/openbsd-src/gnu/llvm/clang/utils/TableGen/
H A DTableGen.cpp267 bool ClangTableGenMain(raw_ostream &OS, RecordKeeper &Records) { in ClangTableGenMain() argument
270 OS << Records; // No argument, dump all contents in ClangTableGenMain()
273 EmitJSON(Records, OS); in ClangTableGenMain()
276 EmitClangAttrClass(Records, OS); in ClangTableGenMain()
279 EmitClangAttrParserStringSwitches(Records, OS); in ClangTableGenMain()
282 EmitClangAttrSubjectMatchRulesParserStringSwitches(Records, OS); in ClangTableGenMain()
285 EmitClangAttrImpl(Records, OS); in ClangTableGenMain()
288 EmitClangAttrList(Records, OS); in ClangTableGenMain()
291 EmitClangAttrDocTable(Records, OS); in ClangTableGenMain()
294 EmitClangAttrSubjectMatchRuleList(Records, OS); in ClangTableGenMain()
[all …]
H A DTableGenBackends.h30 void EmitClangBasicReader(llvm::RecordKeeper &Records, llvm::raw_ostream &OS);
31 void EmitClangBasicWriter(llvm::RecordKeeper &Records, llvm::raw_ostream &OS);
32 void EmitClangTypeNodes(llvm::RecordKeeper &Records, llvm::raw_ostream &OS);
33 void EmitClangTypeReader(llvm::RecordKeeper &Records, llvm::raw_ostream &OS);
34 void EmitClangTypeWriter(llvm::RecordKeeper &Records, llvm::raw_ostream &OS);
35 void EmitClangAttrParserStringSwitches(llvm::RecordKeeper &Records,
38 llvm::RecordKeeper &Records, llvm::raw_ostream &OS);
39 void EmitClangAttrClass(llvm::RecordKeeper &Records, llvm::raw_ostream &OS);
40 void EmitClangAttrImpl(llvm::RecordKeeper &Records, llvm::raw_ostream &OS);
41 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 __anon871cd3b30111::BuiltinNameEmitter
240 OpenCLBuiltinFileEmitterBase(RecordKeeper &Records, raw_ostream &OS) in OpenCLBuiltinFileEmitterBase() argument
241 : Records(Records), OS(OS) {} in OpenCLBuiltinFileEmitterBase()
308 RecordKeeper &Records; member in __anon871cd3b30111::OpenCLBuiltinFileEmitterBase
319 OpenCLBuiltinTestEmitter(RecordKeeper &Records, raw_ostream &OS) in OpenCLBuiltinTestEmitter() argument
320 : OpenCLBuiltinFileEmitterBase(Records, OS) {} in OpenCLBuiltinTestEmitter()
384 Records.getAllDerivedDefinitions("GenericType"); in EmitDeclarations()
387 std::vector<Record *> Types = Records.getAllDerivedDefinitions("Type"); in EmitDeclarations()
[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()
38 void clang::EmitClangCommentHTMLTagsProperties(RecordKeeper &Records, in EmitClangCommentHTMLTagsProperties() argument
40 std::vector<Record *> Tags = Records.getAllDerivedDefinitions("Tag"); in EmitClangCommentHTMLTagsProperties()
H A DClangAttrEmitter.cpp168 static ParsedAttrMap getParsedAttrList(const RecordKeeper &Records, in getParsedAttrList() argument
170 std::vector<Record *> Attrs = Records.getAllDerivedDefinitions("Attr"); in getParsedAttrList()
1757 static void emitClangAttrLateParsedList(RecordKeeper &Records, raw_ostream &OS) { in emitClangAttrLateParsedList() argument
1759 std::vector<Record*> Attrs = Records.getAllDerivedDefinitions("Attr"); in emitClangAttrLateParsedList()
1897 PragmaClangAttributeSupport(RecordKeeper &Records);
1936 RecordKeeper &Records) { in PragmaClangAttributeSupport() argument
1938 Records.getAllDerivedDefinitions("AttrSubjectMatcherRule"); in PragmaClangAttributeSupport()
1967 Records.getAllDerivedDefinitions("AttrSubjectMatcherAggregateRule"); in PragmaClangAttributeSupport()
1969 Records.getAllDerivedDefinitions(DeclNodeClassName); in PragmaClangAttributeSupport()
2000 getPragmaAttributeSupport(RecordKeeper &Records) { in getPragmaAttributeSupport() argument
[all …]
/openbsd-src/gnu/llvm/llvm/utils/TableGen/
H A DTableGen.cpp153 bool LLVMTableGenMain(raw_ostream &OS, RecordKeeper &Records) { in LLVMTableGenMain() argument
156 OS << Records; // No argument, dump all contents in LLVMTableGenMain()
159 EmitDetailedRecords(Records, OS); in LLVMTableGenMain()
164 EmitJSON(Records, OS); in LLVMTableGenMain()
167 EmitCodeEmitter(Records, OS); in LLVMTableGenMain()
170 EmitRegisterInfo(Records, OS); in LLVMTableGenMain()
173 EmitInstrInfo(Records, OS); in LLVMTableGenMain()
176 EmitInstrDocs(Records, OS); in LLVMTableGenMain()
179 EmitCallingConv(Records, OS); in LLVMTableGenMain()
182 EmitAsmWriter(Records, OS); in LLVMTableGenMain()
[all …]
H A DAttributes.cpp19 Attributes(RecordKeeper &R) : Records(R) {} in Attributes()
27 RecordKeeper &Records; member in __anon8cbd0cb90111::Attributes
46 for (auto *A : Records.getAllDerivedDefinitions(KindName)) { in emitTargetIndependentNames()
66 for (auto *A : Records.getAllDerivedDefinitions(KindName)) { in emitTargetIndependentNames()
84 Records.getAllDerivedDefinitions("CompatRule"); in emitFnAttrCompatCheck()
96 Records.getAllDerivedDefinitions("MergeRule"); in emitFnAttrCompatCheck()
115 for (auto *A : Records.getAllDerivedDefinitions(KindName)) { in emitAttributeProperties()
H A DExegesisEmitter.cpp54 RecordKeeper &Records; member in __anon7363a2a90111::ExegesisEmitter
62 collectPfmCounters(const RecordKeeper &Records) { in collectPfmCounters() argument
70 for (Record *Def : Records.getAllDerivedDefinitions("ProcPfmCounters")) { in collectPfmCounters()
94 : Records(RK), PfmCounterNameTable(collectPfmCounters(RK)) { in ExegesisEmitter()
95 std::vector<Record *> Targets = Records.getAllDerivedDefinitions("Target"); in ExegesisEmitter()
151 Records.getAllDerivedDefinitions("ProcPfmCounters"); in emitPfmCounters()
179 Records.getAllDerivedDefinitions("PfmCountersBinding"); in emitPfmCountersLookupTable()
H A DDAGISelEmitter.cpp27 RecordKeeper &Records; // Just so we can get at the timing functions. member in __anon993a3b250111::DAGISelEmitter
30 explicit DAGISelEmitter(RecordKeeper &R) : Records(R), CGP(R) {} in DAGISelEmitter()
155 Records.startTimer("Sort patterns"); in run()
165 Records.startTimer("Convert to matchers"); in run()
179 Records.startTimer("Optimize matchers"); in run()
184 Records.startTimer("Emit matcher table"); in run()
H A DDFAEmitter.cpp195 RecordKeeper &Records; member in __anon1cdffbd70211::Automaton
204 Automaton(RecordKeeper &Records, Record *R);
214 RecordKeeper &Records; member in __anon1cdffbd70211::AutomatonEmitter
217 AutomatonEmitter(RecordKeeper &R) : Records(R) {} in AutomatonEmitter()
236 for (Record *R : Records.getAllDerivedDefinitions("GenericAutomaton")) { in run()
237 Automaton A(Records, R); in run()
244 Automaton::Automaton(RecordKeeper &Records, Record *R) in Automaton() argument
245 : Records(Records), R(R) { in Automaton()
252 for (Record *T : Records.getAllDerivedDefinitions(TransitionClass)) { in emit()
/openbsd-src/gnu/llvm/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
79 Records.emplace_back(); in loadNaiveFormatLog()
80 auto &Record = Records.back(); in loadNaiveFormatLog()
149 auto &Record = Records.back(); in loadNaiveFormatLog()
266 XRayFileHeader &FileHeader, std::vector<XRayRecord> &Records) { in loadFDRLog() argument
311 for (auto *R : B.Records) in loadFDRLog()
333 auto Adder = [&](const XRayRecord &R) { Records.push_back(R); }; in loadFDRLog()
336 for (auto *R : B.Records) in loadFDRLog()
349 std::vector<XRayRecord> &Records) { in loadYAMLLog() argument
367 Records.clear(); in loadYAMLLog()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/TableGen/
H A DMain.cpp89 RecordKeeper Records; in TableGenMain() local
92 Records.startPhaseTiming(); in TableGenMain()
96 Records.startTimer("Parse, build records"); in TableGenMain()
103 Records.saveInputFilename(InputFilename); in TableGenMain()
112 TGParser Parser(SrcMgr, MacroNames, Records, NoWarnOnUnusedTemplateArgs); in TableGenMain()
116 Records.stopTimer(); in TableGenMain()
119 Records.startBackendTimer("Backend overall"); in TableGenMain()
122 unsigned status = MainFn(Out, Records); in TableGenMain()
123 Records.stopBackendTimer(); in TableGenMain()
136 Records.startTimer("Write output"); in TableGenMain()
[all …]
H A DTGParser.cpp191 Init *BI = V->getCastTo(BitsRecTy::get(Records, BitList.size())); in SetValue()
210 V = BitsInit::get(Records, NewBits); in SetValue()
267 StringRecTy::get(Records)); in AddSubClass()
339 StringRecTy::get(Records))); in AddSubMultiClass()
468 if (Record *Prev = Records.getDef(Rec->getNameInitAsString())) { in addDefOne()
475 NewName = Records.getNewAnonymousName(); in addDefOne()
506 Records.addDef(std::move(Rec)); in addDefOne()
544 return UnsetInit::get(Records); in ParseObjectName()
553 Init *Name = ParseValue(CurRec, StringRecTy::get(Records), ParseNameMode); in ParseObjectName()
563 VarInit::get(NameStr, StringRecTy::get(Records)), Name); in ParseObjectName()
[all …]
H A DTableGenBackendSkeleton.cpp33 RecordKeeper &Records; member in __anonf5d073070111::SkeletonEmitter
36 SkeletonEmitter(RecordKeeper &RK) : Records(RK) {} in SkeletonEmitter()
46 (void)Records; // To suppress unused variable warning; remove on use. in run()
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/CodeView/
H A DLazyRandomTypeCollection.cpp42 Records.resize(RecordCountHint); in LazyRandomTypeCollection()
67 Records.clear(); in reset()
68 Records.resize(RecordCountHint); in reset()
86 return Records[Index.toArrayIndex()].Offset; in getOffsetOfType()
96 return Records[Index.toArrayIndex()].Type; in getType()
109 return Records[Index.toArrayIndex()].Type; in tryGetType()
127 if (Records[I].Name.data() == nullptr) { in getTypeName()
129 Records[I].Name = Result; in getTypeName()
131 return Records[I].Name; in getTypeName()
138 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()
/openbsd-src/gnu/llvm/lldb/utils/TableGen/
H A DLLDBTableGen.cpp45 static bool LLDBTableGenMain(raw_ostream &OS, RecordKeeper &Records) { in LLDBTableGenMain() argument
48 OS << Records; // No argument, dump all contents in LLDBTableGenMain()
51 EmitJSON(Records, OS); in LLDBTableGenMain()
54 EmitOptionDefs(Records, OS); in LLDBTableGenMain()
57 EmitPropertyDefs(Records, OS); in LLDBTableGenMain()
60 EmitPropertyEnumDefs(Records, OS); in LLDBTableGenMain()
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/PDB/Native/
H A DGSIStreamBuilder.cpp183 std::vector<BulkPublic> Records; in finalizeGlobalBuckets() local
184 Records.resize(Globals.size()); in finalizeGlobalBuckets()
188 Records[I].Name = Name.data(); in finalizeGlobalBuckets()
189 Records[I].NameLen = Name.size(); in finalizeGlobalBuckets()
190 Records[I].SymOffset = SymOffset; in finalizeGlobalBuckets()
194 GSH->finalizeBuckets(RecordZeroOffset, Records); in finalizeGlobalBuckets()
198 uint32_t RecordZeroOffset, MutableArrayRef<BulkPublic> Records) { in finalizeBuckets() argument
200 parallelFor(0, Records.size(), [&](size_t I) { in finalizeBuckets()
201 Records[I].setBucketIdx(hashStringV1(Records[I].Name) % IPHR_HASH); in finalizeBuckets()
208 for (const BulkPublic &P : Records) in finalizeBuckets()
[all …]
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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()
H A DDebugSymbolsSubsection.h29 CVSymbolArray::Iterator begin() const { return Records.begin(); } in begin()
30 CVSymbolArray::Iterator end() const { return Records.end(); } in end()
33 CVSymbolArray Records;
50 std::vector<CVSymbol> Records; variable
/openbsd-src/gnu/llvm/llvm/include/llvm/TableGen/
H A DDirectiveEmitter.h13 explicit DirectiveLanguage(const llvm::RecordKeeper &Records) in DirectiveLanguage() argument
14 : Records(Records) { in DirectiveLanguage()
50 return Records.getAllDerivedDefinitions("Directive"); in getDirectives()
54 return Records.getAllDerivedDefinitions("Clause"); in getClauses()
61 const llvm::RecordKeeper &Records; variable
64 return Records.getAllDerivedDefinitions("DirectiveLanguage"); in getDirectiveLanguages()
/openbsd-src/gnu/llvm/llvm/tools/llvm-xray/
H A Dxray-fdr-dump.cpp77 std::vector<std::unique_ptr<Record>> Records; in __anonacc8bd8c0102() local
78 LogBuilderConsumer C(Records); in __anonacc8bd8c0102()
83 for (auto &Ptr : Records) in __anonacc8bd8c0102()
95 for (auto &Ptr : Records) in __anonacc8bd8c0102()
107 for (auto *R : B.Records) { in __anonacc8bd8c0102()
H A Dxray-converter.cpp87 void TraceConverter::exportAsYAML(const Trace &Records, raw_ostream &OS) { in exportAsYAML() argument
89 const auto &FH = Records.getFileHeader(); in exportAsYAML()
92 Trace.Records.reserve(Records.size()); in exportAsYAML()
93 for (const auto &R : Records) { in exportAsYAML()
94 Trace.Records.push_back({R.RecordType, R.CPU, R.Type, R.FuncId, in exportAsYAML()
104 void TraceConverter::exportAsRAWv1(const Trace &Records, raw_ostream &OS) { in exportAsRAWv1() argument
108 const auto &FH = Records.getFileHeader(); in exportAsRAWv1()
128 for (const auto &R : Records) { in exportAsRAWv1()
274 void TraceConverter::exportAsChromeTraceEventFormat(const Trace &Records, in exportAsChromeTraceEventFormat() argument
276 const auto &FH = Records.getFileHeader(); in exportAsChromeTraceEventFormat()
[all …]

123456