| /netbsd-src/external/apache2/llvm/dist/clang/utils/TableGen/ |
| H A D | TableGen.cpp | 257 bool ClangTableGenMain(raw_ostream &OS, RecordKeeper &Records) { in ClangTableGenMain() argument 260 OS << Records; // No argument, dump all contents in ClangTableGenMain() 263 EmitJSON(Records, OS); in ClangTableGenMain() 266 EmitClangAttrClass(Records, OS); in ClangTableGenMain() 269 EmitClangAttrParserStringSwitches(Records, OS); in ClangTableGenMain() 272 EmitClangAttrSubjectMatchRulesParserStringSwitches(Records, OS); in ClangTableGenMain() 275 EmitClangAttrImpl(Records, OS); in ClangTableGenMain() 278 EmitClangAttrList(Records, OS); in ClangTableGenMain() 281 EmitClangAttrSubjectMatchRuleList(Records, OS); in ClangTableGenMain() 284 EmitClangAttrPCHRead(Records, OS); in ClangTableGenMain() [all …]
|
| H A D | TableGenBackends.h | 30 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 D | ClangOpenCLBuiltinEmitter.cpp | 85 BuiltinNameEmitter(RecordKeeper &Records, raw_ostream &OS) in BuiltinNameEmitter() argument 86 : Records(Records), OS(OS) {} in BuiltinNameEmitter() 98 RecordKeeper &Records; member in __anonabd815670111::BuiltinNameEmitter 288 Records.getAllDerivedDefinitions("GenericType"); in EmitDeclarations() 291 std::vector<Record *> Types = Records.getAllDerivedDefinitions("Type"); in EmitDeclarations() 394 std::vector<Record *> Types = Records.getAllDerivedDefinitions("Type"); in GetOverloads() 402 std::vector<Record *> Builtins = Records.getAllDerivedDefinitions("Builtin"); in GetOverloads() 434 Records.getAllDerivedDefinitions("FunctionExtension"); in EmitExtensionTable() 674 for (const auto *VectList : Records.getAllDerivedDefinitions("IntList")) { in EmitQualTypeFinder() 689 Records.getAllDerivedDefinitions("ImageType"); in EmitQualTypeFinder() [all …]
|
| H A D | ClangAttrEmitter.cpp | 166 static ParsedAttrMap getParsedAttrList(const RecordKeeper &Records, in getParsedAttrList() argument 168 std::vector<Record *> Attrs = Records.getAllDerivedDefinitions("Attr"); in getParsedAttrList() 1678 static void emitClangAttrLateParsedList(RecordKeeper &Records, raw_ostream &OS) { in emitClangAttrLateParsedList() argument 1680 std::vector<Record*> Attrs = Records.getAllDerivedDefinitions("Attr"); in emitClangAttrLateParsedList() 1818 PragmaClangAttributeSupport(RecordKeeper &Records); 1857 RecordKeeper &Records) { in PragmaClangAttributeSupport() argument 1859 Records.getAllDerivedDefinitions("AttrSubjectMatcherRule"); in PragmaClangAttributeSupport() 1888 Records.getAllDerivedDefinitions("AttrSubjectMatcherAggregateRule"); in PragmaClangAttributeSupport() 1890 Records.getAllDerivedDefinitions(DeclNodeClassName); in PragmaClangAttributeSupport() 1921 getPragmaAttributeSupport(RecordKeeper &Records) { in getPragmaAttributeSupport() argument [all …]
|
| H A D | ClangCommentHTMLTagsEmitter.cpp | 22 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 D | SveEmitter.cpp | 259 RecordKeeper &Records; member in __anon47288a980111::SVEEmitter 267 SVEEmitter(RecordKeeper &R) : Records(R) { in SVEEmitter() 268 for (auto *RV : Records.getAllDerivedDefinitions("EltType")) in SVEEmitter() 270 for (auto *RV : Records.getAllDerivedDefinitions("MemEltType")) in SVEEmitter() 272 for (auto *RV : Records.getAllDerivedDefinitions("FlagType")) in SVEEmitter() 274 for (auto *RV : Records.getAllDerivedDefinitions("MergeType")) in SVEEmitter() 276 for (auto *RV : Records.getAllDerivedDefinitions("ImmCheckType")) in SVEEmitter() 1231 std::vector<Record *> RV = Records.getAllDerivedDefinitions("Inst"); in createHeader() 1290 std::vector<Record *> RV = Records.getAllDerivedDefinitions("Inst"); in createBuiltins() 1321 std::vector<Record *> RV = Records.getAllDerivedDefinitions("Inst"); in createCodeGenMap() [all …]
|
| H A D | ClangSyntaxEmitter.cpp | 44 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 133 Hierarchy H(Records); in EmitClangSyntaxNodeList() 189 void clang::EmitClangSyntaxNodeClasses(llvm::RecordKeeper &Records, in EmitClangSyntaxNodeClasses() argument 192 Hierarchy H(Records); in EmitClangSyntaxNodeClasses()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/utils/TableGen/ |
| H A D | TableGen.cpp | 148 bool LLVMTableGenMain(raw_ostream &OS, RecordKeeper &Records) { in LLVMTableGenMain() argument 151 OS << Records; // No argument, dump all contents in LLVMTableGenMain() 154 EmitDetailedRecords(Records, OS); in LLVMTableGenMain() 159 EmitJSON(Records, OS); in LLVMTableGenMain() 162 EmitCodeEmitter(Records, OS); in LLVMTableGenMain() 165 EmitCodeBeads(Records, OS); in LLVMTableGenMain() 168 EmitRegisterInfo(Records, OS); in LLVMTableGenMain() 171 EmitInstrInfo(Records, OS); in LLVMTableGenMain() 174 EmitInstrDocs(Records, OS); in LLVMTableGenMain() 177 EmitCallingConv(Records, OS); in LLVMTableGenMain() [all …]
|
| H A D | ExegesisEmitter.cpp | 58 RecordKeeper &Records; member in __anon141a2cdd0111::ExegesisEmitter 66 collectPfmCounters(const RecordKeeper &Records) { in collectPfmCounters() argument 74 for (Record *Def : Records.getAllDerivedDefinitions("ProcPfmCounters")) { in collectPfmCounters() 98 : Records(RK), PfmCounterNameTable(collectPfmCounters(RK)) { in ExegesisEmitter() 99 std::vector<Record *> Targets = Records.getAllDerivedDefinitions("Target"); in ExegesisEmitter() 155 Records.getAllDerivedDefinitions("ProcPfmCounters"); in emitPfmCounters() 183 Records.getAllDerivedDefinitions("PfmCountersBinding"); in emitPfmCountersLookupTable()
|
| H A D | Attributes.cpp | 22 Attributes(RecordKeeper &R) : Records(R) {} in Attributes() 29 RecordKeeper &Records; member in __anon84b3666d0111::Attributes 48 for (auto A : Records.getAllDerivedDefinitions(KindName)) { in emitTargetIndependentNames() 73 Records.getAllDerivedDefinitions("CompatRule"); in emitFnAttrCompatCheck() 85 Records.getAllDerivedDefinitions("MergeRule"); in emitFnAttrCompatCheck()
|
| H A D | DirectiveEmitter.cpp | 44 void GenerateEnumClass(const std::vector<Record *> &Records, raw_ostream &OS, in GenerateEnumClass() argument 49 for (const auto &R : Records) { in GenerateEnumClass() 56 << "_enumSize = " << Records.size() << ";\n"; in GenerateEnumClass() 65 for (const auto &R : Records) { in GenerateEnumClass() 76 void GenerateEnumClauseVal(const std::vector<Record *> &Records, in GenerateEnumClauseVal() argument 79 for (const auto &R : Records) { in GenerateEnumClauseVal() 178 void EmitDirectivesDecl(RecordKeeper &Records, raw_ostream &OS) { in EmitDirectivesDecl() argument 179 const auto DirLang = DirectiveLanguage{Records}; in EmitDirectivesDecl() 248 void GenerateGetName(const std::vector<Record *> &Records, raw_ostream &OS, in GenerateGetName() argument 255 for (const auto &R : Records) { in GenerateGetName() [all …]
|
| H A D | DFAEmitter.cpp | 216 RecordKeeper &Records; member in __anon14d6558b0211::Automaton 225 Automaton(RecordKeeper &Records, Record *R); 235 RecordKeeper &Records; member in __anon14d6558b0211::AutomatonEmitter 238 AutomatonEmitter(RecordKeeper &R) : Records(R) {} in AutomatonEmitter() 257 for (Record *R : Records.getAllDerivedDefinitions("GenericAutomaton")) { in run() 258 Automaton A(Records, R); in run() 265 Automaton::Automaton(RecordKeeper &Records, Record *R) in Automaton() argument 266 : Records(Records), R(R) { in Automaton() 273 for (Record *T : Records.getAllDerivedDefinitions(TransitionClass)) { in emit()
|
| H A D | DAGISelEmitter.cpp | 26 RecordKeeper &Records; // Just so we can get at the timing functions. member in __anonf36e4ed90111::DAGISelEmitter 29 explicit DAGISelEmitter(RecordKeeper &R) : Records(R), CGP(R) {} in DAGISelEmitter() 154 Records.startTimer("Sort patterns"); in run() 164 Records.startTimer("Convert to matchers"); in run() 178 Records.startTimer("Optimize matchers"); in run() 183 Records.startTimer("Emit matcher table"); in run()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/XRay/ |
| H A D | BlockIndexer.cpp | 21 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 D | Trace.cpp | 38 std::vector<XRayRecord> &Records) { in loadNaiveFormatLog() argument 81 Records.emplace_back(); in loadNaiveFormatLog() 82 auto &Record = Records.back(); in loadNaiveFormatLog() 151 auto &Record = Records.back(); in loadNaiveFormatLog() 268 XRayFileHeader &FileHeader, std::vector<XRayRecord> &Records) { in loadFDRLog() argument 313 for (auto *R : B.Records) in loadFDRLog() 335 auto Adder = [&](const XRayRecord &R) { Records.push_back(R); }; in loadFDRLog() 338 for (auto *R : B.Records) in loadFDRLog() 351 std::vector<XRayRecord> &Records) { in loadYAMLLog() argument 369 Records.clear(); in loadYAMLLog() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/CodeView/ |
| H A D | LazyRandomTypeCollection.cpp | 42 Records.resize(RecordCountHint); in LazyRandomTypeCollection() 68 Records.clear(); in reset() 69 Records.resize(RecordCountHint); in reset() 87 return Records[Index.toArrayIndex()].Offset; in getOffsetOfType() 97 return Records[Index.toArrayIndex()].Type; in getType() 110 return Records[Index.toArrayIndex()].Type; in tryGetType() 128 if (Records[I].Name.data() == nullptr) { in getTypeName() 130 Records[I].Name = Result; in getTypeName() 132 return Records[I].Name; in getTypeName() 139 if (Records.size() <= Index.toArrayIndex()) in contains() [all …]
|
| H A D | TypeTableCollection.cpp | 18 TypeTableCollection::TypeTableCollection(ArrayRef<ArrayRef<uint8_t>> Records) in TypeTableCollection() argument 19 : NameStorage(Allocator), Records(Records) { in TypeTableCollection() 20 Names.resize(Records.size()); in TypeTableCollection() 38 assert(Index.toArrayIndex() < Records.size()); in getType() 39 return CVType(Records[Index.toArrayIndex()]); in getType() 58 uint32_t TypeTableCollection::size() { return Records.size(); } in size() 60 uint32_t TypeTableCollection::capacity() { return Records.size(); } in capacity()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/TableGen/ |
| H A D | Main.cpp | 87 RecordKeeper Records; in TableGenMain() local 90 Records.startPhaseTiming(); in TableGenMain() 94 Records.startTimer("Parse, build records"); in TableGenMain() 101 Records.saveInputFilename(InputFilename); in TableGenMain() 110 TGParser Parser(SrcMgr, MacroNames, Records); in TableGenMain() 114 Records.stopTimer(); in TableGenMain() 117 Records.startBackendTimer("Backend overall"); in TableGenMain() 120 unsigned status = MainFn(Out, Records); in TableGenMain() 121 Records.stopBackendTimer(); in TableGenMain() 134 Records.startTimer("Write output"); in TableGenMain() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | GSIStreamBuilder.cpp | 182 std::vector<BulkPublic> Records; in finalizeGlobalBuckets() local 183 Records.resize(Globals.size()); in finalizeGlobalBuckets() 187 Records[I].Name = Name.data(); in finalizeGlobalBuckets() 188 Records[I].NameLen = Name.size(); in finalizeGlobalBuckets() 189 Records[I].SymOffset = SymOffset; in finalizeGlobalBuckets() 193 GSH->finalizeBuckets(RecordZeroOffset, Records); in finalizeGlobalBuckets() 197 uint32_t RecordZeroOffset, MutableArrayRef<BulkPublic> Records) { in finalizeBuckets() argument 199 parallelForEachN(0, Records.size(), [&](size_t I) { in finalizeBuckets() 200 Records[I].setBucketIdx(hashStringV1(Records[I].Name) % IPHR_HASH); in finalizeBuckets() 207 for (const BulkPublic &P : Records) in finalizeBuckets() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/ |
| H A D | TypeHashing.h | 41 static std::vector<LocallyHashedType> hashTypes(Range &&Records) { in hashTypes() 43 Hashes.reserve(std::distance(std::begin(Records), std::end(Records))); in hashTypes() 44 for (const auto &R : Records) in hashTypes() 120 static std::vector<GloballyHashedType> hashTypes(Range &&Records) { in hashTypes() 123 for (const auto &R : Records) { in hashTypes() 138 for (const auto &R : Records) { in hashTypes() 157 hashIds(Range &&Records, ArrayRef<GloballyHashedType> TypeHashes) { in hashIds() 159 for (const auto &R : Records) in hashIds()
|
| H A D | DebugSymbolsSubsection.h | 29 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
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/XRay/ |
| H A D | Trace.h | 49 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()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/TableGen/ |
| H A D | DirectiveEmitter.h | 13 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()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-xray/ |
| H A D | xray-converter.cpp | 78 void TraceConverter::exportAsYAML(const Trace &Records, raw_ostream &OS) { in exportAsYAML() argument 80 const auto &FH = Records.getFileHeader(); in exportAsYAML() 83 Trace.Records.reserve(Records.size()); in exportAsYAML() 84 for (const auto &R : Records) { in exportAsYAML() 85 Trace.Records.push_back({R.RecordType, R.CPU, R.Type, R.FuncId, in exportAsYAML() 95 void TraceConverter::exportAsRAWv1(const Trace &Records, raw_ostream &OS) { in exportAsRAWv1() argument 99 const auto &FH = Records.getFileHeader(); in exportAsRAWv1() 119 for (const auto &R : Records) { in exportAsRAWv1() 265 void TraceConverter::exportAsChromeTraceEventFormat(const Trace &Records, in exportAsChromeTraceEventFormat() argument 267 const auto &FH = Records.getFileHeader(); in exportAsChromeTraceEventFormat() [all …]
|
| H A D | xray-fdr-dump.cpp | 77 std::vector<std::unique_ptr<Record>> Records; in __anon06fcd1400102() local 78 LogBuilderConsumer C(Records); in __anon06fcd1400102() 83 for (auto &Ptr : Records) in __anon06fcd1400102() 95 for (auto &Ptr : Records) in __anon06fcd1400102() 107 for (auto *R : B.Records) { in __anon06fcd1400102()
|