| /freebsd/contrib/llvm-project/clang/utils/TableGen/ |
| H A D | TableGen.cpp | 349 bool ClangTableGenMain(raw_ostream &OS, const RecordKeeper &Records) { in ClangTableGenMain() argument 352 OS << Records; // No argument, dump all contents in ClangTableGenMain() 355 EmitJSON(Records, OS); in ClangTableGenMain() 358 EmitClangAttrClass(Records, OS); in ClangTableGenMain() 361 EmitClangAttrParserStringSwitches(Records, OS); in ClangTableGenMain() 364 EmitClangAttrSubjectMatchRulesParserStringSwitches(Records, OS); in ClangTableGenMain() 367 EmitCXX11AttributeInfo(Records, OS); in ClangTableGenMain() 370 EmitAttributeSpellingList(Records, OS); in ClangTableGenMain() 373 EmitClangAttrImpl(Records, OS); in ClangTableGenMain() 376 EmitClangAttrList(Records, OS); in ClangTableGenMain() [all …]
|
| H A D | TableGenBackends.h | 38 void EmitClangBasicReader(const llvm::RecordKeeper &Records, 40 void EmitClangBasicWriter(const llvm::RecordKeeper &Records, 42 void EmitClangTypeNodes(const llvm::RecordKeeper &Records, 44 void EmitClangTypeReader(const llvm::RecordKeeper &Records, 46 void EmitClangTypeWriter(const llvm::RecordKeeper &Records, 48 void EmitClangAttrParserStringSwitches(const llvm::RecordKeeper &Records, 51 const llvm::RecordKeeper &Records, llvm::raw_ostream &OS); 52 void EmitCXX11AttributeInfo(const llvm::RecordKeeper &Records, 54 void EmitAttributeSpellingList(const llvm::RecordKeeper &Records, 56 void EmitClangAttrClass(const llvm::RecordKeeper &Records, [all …]
|
| H A D | ClangOpenCLBuiltinEmitter.cpp | 89 BuiltinNameEmitter(const RecordKeeper &Records, raw_ostream &OS) in BuiltinNameEmitter() argument 90 : Records(Records), OS(OS) {} in BuiltinNameEmitter() 102 const RecordKeeper &Records; member in __anon27f8003c0111::BuiltinNameEmitter 238 OpenCLBuiltinFileEmitterBase(const RecordKeeper &Records, raw_ostream &OS) in OpenCLBuiltinFileEmitterBase() argument 239 : Records(Records), OS(OS) {} in OpenCLBuiltinFileEmitterBase() 306 const RecordKeeper &Records; member in __anon27f8003c0111::OpenCLBuiltinFileEmitterBase 317 OpenCLBuiltinTestEmitter(const RecordKeeper &Records, raw_ostream &OS) in OpenCLBuiltinTestEmitter() argument 318 : OpenCLBuiltinFileEmitterBase(Records, OS) {} in OpenCLBuiltinTestEmitter() 330 OpenCLBuiltinHeaderEmitter(const RecordKeeper &Records, raw_ostream &OS) in OpenCLBuiltinHeaderEmitter() argument 331 : OpenCLBuiltinFileEmitterBase(Records, OS) {} in OpenCLBuiltinHeaderEmitter() [all …]
|
| H A D | ClangCommentHTMLTagsEmitter.cpp | 22 void clang::EmitClangCommentHTMLTags(const RecordKeeper &Records, in EmitClangCommentHTMLTags() argument 24 ArrayRef<const Record *> Tags = Records.getAllDerivedDefinitions("Tag"); in EmitClangCommentHTMLTags() 31 emitSourceFileHeader("HTML tag name matcher", OS, Records); in EmitClangCommentHTMLTags() 39 void clang::EmitClangCommentHTMLTagsProperties(const RecordKeeper &Records, in EmitClangCommentHTMLTagsProperties() argument 41 ArrayRef<const Record *> Tags = Records.getAllDerivedDefinitions("Tag"); in EmitClangCommentHTMLTagsProperties() 53 emitSourceFileHeader("HTML tag properties", OS, Records); in EmitClangCommentHTMLTagsProperties()
|
| H A D | ClangAttrEmitter.cpp | 191 static ParsedAttrMap getParsedAttrList(const RecordKeeper &Records, in getParsedAttrList() argument 196 for (const Record *Attr : Records.getAllDerivedDefinitions("Attr")) { in getParsedAttrList() 1898 static void emitClangAttrLateParsedListImpl(const RecordKeeper &Records, in emitClangAttrLateParsedListImpl() argument 1901 for (const auto *Attr : Records.getAllDerivedDefinitions("Attr")) { in emitClangAttrLateParsedListImpl() 1917 static void emitClangAttrLateParsedList(const RecordKeeper &Records, in emitClangAttrLateParsedList() argument 1920 emitClangAttrLateParsedListImpl(Records, OS, LateAttrParseKind::Standard); in emitClangAttrLateParsedList() 1924 static void emitClangAttrLateParsedExperimentalList(const RecordKeeper &Records, in emitClangAttrLateParsedExperimentalList() argument 1927 emitClangAttrLateParsedListImpl(Records, OS, in emitClangAttrLateParsedExperimentalList() 2052 PragmaClangAttributeSupport(const RecordKeeper &Records); 2091 const RecordKeeper &Records) { in PragmaClangAttributeSupport() argument [all …]
|
| H A D | ClangSyntaxEmitter.cpp | 45 Hierarchy(const RecordKeeper &Records) { in Hierarchy() argument 46 for (const Record *T : Records.getAllDerivedDefinitions("NodeType")) in Hierarchy() 48 for (const Record *Derived : Records.getAllDerivedDefinitions("NodeType")) in Hierarchy() 131 void clang::EmitClangSyntaxNodeList(const RecordKeeper &Records, in EmitClangSyntaxNodeList() argument 133 emitSourceFileHeader("Syntax tree node list", OS, Records); in EmitClangSyntaxNodeList() 134 Hierarchy H(Records); in EmitClangSyntaxNodeList() 190 void clang::EmitClangSyntaxNodeClasses(const RecordKeeper &Records, in EmitClangSyntaxNodeClasses() argument 192 emitSourceFileHeader("Syntax tree node list", OS, Records); in EmitClangSyntaxNodeClasses() 193 Hierarchy H(Records); in EmitClangSyntaxNodeClasses()
|
| H A D | ClangCommentCommandInfoEmitter.cpp | 23 void clang::EmitClangCommentCommandInfo(const RecordKeeper &Records, in EmitClangCommentCommandInfo() argument 26 OS, Records); in EmitClangCommentCommandInfo() 30 ArrayRef<const Record *> Tags = Records.getAllDerivedDefinitions("Command"); in EmitClangCommentCommandInfo() 115 void clang::EmitClangCommentCommandList(const RecordKeeper &Records, in EmitClangCommentCommandList() argument 118 OS, Records); in EmitClangCommentCommandList() 124 ArrayRef<const Record *> Tags = Records.getAllDerivedDefinitions("Command"); in EmitClangCommentCommandList()
|
| H A D | SveEmitter.cpp | 306 const RecordKeeper &Records; member in __anone51b860d0111::SVEEmitter 314 SVEEmitter(const RecordKeeper &R) : Records(R) { in SVEEmitter() 315 for (auto *RV : Records.getAllDerivedDefinitions("EltType")) in SVEEmitter() 317 for (auto *RV : Records.getAllDerivedDefinitions("MemEltType")) in SVEEmitter() 319 for (auto *RV : Records.getAllDerivedDefinitions("FlagType")) in SVEEmitter() 321 for (auto *RV : Records.getAllDerivedDefinitions("MergeType")) in SVEEmitter() 323 for (auto *RV : Records.getAllDerivedDefinitions("ImmCheckType")) in SVEEmitter() 1268 std::vector<const Record *> RV = Records.getAllDerivedDefinitions("Inst"); in createCoreHeaderIntrinsics() 1474 std::vector<const Record *> RV = Records.getAllDerivedDefinitions("Inst"); in createBuiltins() 1556 std::vector<const Record *> RV = Records.getAllDerivedDefinitions("Inst"); in createCodeGenMap() [all …]
|
| /freebsd/contrib/llvm-project/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 | 36 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() 217 /// of interspersed 16 byte Metadata Records and 8 byte Function Records. 269 XRayFileHeader &FileHeader, std::vector<XRayRecord> &Records) { in loadFDRLog() 314 for (auto *R : B.Records) in loadFDRLog() 336 auto Adder = [&](const XRayRecord &R) { Records in loadFDRLog() 266 loadFDRLog(StringRef Data,bool IsLittleEndian,XRayFileHeader & FileHeader,std::vector<XRayRecord> & Records) loadFDRLog() argument 349 loadYAMLLog(StringRef Data,XRayFileHeader & FileHeader,std::vector<XRayRecord> & Records) loadYAMLLog() argument [all...] |
| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/ |
| H A D | LazyRandomTypeCollection.cpp | 39 Records.resize(RecordCountHint); in LazyRandomTypeCollection() 64 Records.clear(); in reset() 65 Records.resize(RecordCountHint); in reset() 83 return Records[Index.toArrayIndex()].Offset; in getOffsetOfType() 93 return Records[Index.toArrayIndex()].Type; in getType() 106 return Records[Index.toArrayIndex()].Type; in tryGetType() 124 if (Records[I].Name.data() == nullptr) { in getTypeName() 126 Records[I].Name = Result; in getTypeName() 128 return Records[I].Name; in getTypeName() 135 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()
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
| H A D | DXILEmitter.cpp | 314 static void emitDXILVersions(const RecordKeeper &Records, raw_ostream &OS) { in emitDXILVersions() argument 316 for (const Record *Version : Records.getAllDerivedDefinitions("Version")) { in emitDXILVersions() 338 static void emitDXILOpClasses(const RecordKeeper &Records, raw_ostream &OS) { in emitDXILOpClasses() argument 340 for (const Record *OpClass : Records.getAllDerivedDefinitions("DXILOpClass")) in emitDXILOpClasses() 347 static void emitDXILOpParamTypes(const RecordKeeper &Records, raw_ostream &OS) { in emitDXILOpParamTypes() argument 350 Records.getAllDerivedDefinitions("DXILOpParamType")) in emitDXILOpParamTypes() 357 static void emitDXILAttributes(const RecordKeeper &Records, raw_ostream &OS) { in emitDXILAttributes() argument 359 for (const Record *Attr : Records.getAllDerivedDefinitions("DXILAttribute")) in emitDXILAttributes() 376 static void emitDXILOpAttributes(const RecordKeeper &Records, in emitDXILOpAttributes() argument 401 Records.getAllDerivedDefinitions("DXILAttribute")) { in emitDXILOpAttributes() [all …]
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/Basic/ |
| H A D | TableGen.cpp | 35 static void printRecords(const RecordKeeper &Records, raw_ostream &OS) { in printRecords() argument 36 OS << Records; // No argument, dump all contents in printRecords() 39 static void printEnums(const RecordKeeper &Records, raw_ostream &OS) { in printEnums() argument 40 for (const Record *Rec : Records.getAllDerivedDefinitions(Class)) in printEnums() 45 static void printSets(const RecordKeeper &Records, raw_ostream &OS) { in printSets() argument 48 for (const Record *Rec : Records.getAllDerivedDefinitions("Set")) { in printSets() 63 {"null-backend", [](const RecordKeeper &Records, raw_ostream &OS) {}, in __anon754f012e0102()
|
| H A D | Attributes.cpp | 20 Attributes(const RecordKeeper &R) : Records(R) {} in Attributes() 28 const RecordKeeper &Records; member in __anon813416130111::Attributes 47 for (auto *A : Records.getAllDerivedDefinitions(KindName)) { in emitTargetIndependentNames() 71 for (auto *A : Records.getAllDerivedDefinitions(KindName)) { in emitTargetIndependentNames() 88 for (const Record *Rule : Records.getAllDerivedDefinitions("CompatRule")) { in emitFnAttrCompatCheck() 104 for (const Record *Rule : Records.getAllDerivedDefinitions("MergeRule")) { in emitFnAttrCompatCheck() 122 for (auto *A : Records.getAllDerivedDefinitions(KindName)) { in emitAttributeProperties()
|
| /freebsd/contrib/llvm-project/lldb/utils/TableGen/ |
| H A D | LLDBTableGen.cpp | 46 static bool LLDBTableGenMain(raw_ostream &OS, const 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 D | LLDBPropertyDefEmitter.cpp | 170 void lldb_private::EmitPropertyDefs(const RecordKeeper &Records, in EmitPropertyDefs() argument 172 emitSourceFileHeader("Property definitions for LLDB.", OS, Records); in EmitPropertyDefs() 175 Records.getAllDerivedDefinitions("Property"); in EmitPropertyDefs() 181 void lldb_private::EmitPropertyEnumDefs(const RecordKeeper &Records, in EmitPropertyEnumDefs() argument 183 emitSourceFileHeader("Property definition enum for LLDB.", OS, Records); in EmitPropertyEnumDefs() 186 Records.getAllDerivedDefinitions("Property"); in EmitPropertyEnumDefs()
|
| /freebsd/contrib/llvm-project/llvm/lib/TableGen/ |
| H A D | TGParser.cpp | 138 const Init *TGVarScope::getVar(RecordKeeper &Records, in getVar() argument 161 ? VarInit::get(ArgName, StringRecTy::get(Records)) in getVar() 206 return Parent->getVar(Records, ParsingMultiClass, Name, NameLoc, in getVar() 259 const Init *BI = V->getCastTo(BitsRecTy::get(Records, BitList.size())); in SetValue() 278 V = BitsInit::get(Records, NewBits); in SetValue() 324 StringRecTy::get(Records)); in AddSubClass() 366 StringRecTy::get(Records)), in AddSubMultiClass() 539 if (const Record *Prev = Records.getDef(Rec->getNameInitAsString())) { in addDefOne() 546 NewName = Records.getNewAnonymousName(); in addDefOne() 580 Records.addDef(std::move(Rec)); in addDefOne() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | GSIStreamBuilder.cpp | 185 std::vector<BulkPublic> Records; in finalizeGlobalBuckets() local 186 Records.resize(Globals.size()); in finalizeGlobalBuckets() 190 Records[I].Name = Name.data(); in finalizeGlobalBuckets() 191 Records[I].NameLen = Name.size(); in finalizeGlobalBuckets() 192 Records[I].SymOffset = SymOffset; in finalizeGlobalBuckets() 196 GSH->finalizeBuckets(RecordZeroOffset, Records); in finalizeGlobalBuckets() 200 uint32_t RecordZeroOffset, MutableArrayRef<BulkPublic> Records) { in finalizeBuckets() argument 202 parallelFor(0, Records.size(), [&](size_t I) { in finalizeBuckets() 203 Records[I].setBucketIdx(hashStringV1(Records[I].Name) % IPHR_HASH); in finalizeBuckets() 210 for (const BulkPublic &P : Records) in finalizeBuckets() [all …]
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/ |
| H A D | Utils.cpp | 30 void llvm::sortAndReportDuplicates(MutableArrayRef<const Record *> Records, in sortAndReportDuplicates() argument 32 llvm::sort(Records, LessRecordFieldNameAndID()); in sortAndReportDuplicates() 34 auto I = std::adjacent_find(Records.begin(), Records.end(), in sortAndReportDuplicates() 39 if (I == Records.end()) in sortAndReportDuplicates()
|
| H A D | CodeGenTarget.cpp | 73 : Records(records), CGH(records), Intrinsics(records) { in CodeGenTarget() 74 ArrayRef<const Record *> Targets = Records.getAllDerivedDefinitions("Target"); in CodeGenTarget() 80 MacroFusions = Records.getAllDerivedDefinitions("Fusion"); in CodeGenTarget() 159 RegBank = std::make_unique<CodeGenRegBank>(Records, getHwModes()); in getRegBank() 202 SchedModels = std::make_unique<CodeGenSchedModels>(Records, *this); in getSchedModels() 208 Records.getAllDerivedDefinitions("Instruction"); in ReadInstructions() 223 const RecordKeeper &Records) { in GetInstByName() argument 224 const Record *Rec = Records.getDef(Name); in GetInstByName() 246 const CodeGenInstruction *Instr = GetInstByName(Name, InstMap, Records); in ComputeInstrsByEnum() 296 Records.getAllDerivedDefinitions("InstructionEncoding")) { in reverseBitsForLittleEndianEncoding() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/XRay/ |
| H A D | Trace.h | 50 RecordVector Records; variable 64 const_iterator begin() const { return Records.begin(); } in begin() 65 const_iterator end() const { return Records.end(); } in end() 66 bool empty() const { return Records.empty(); } in empty() 67 size_type size() const { return Records.size(); } in size()
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | CompactUnwindSupport.h | 248 Records.size() * SecondLevelPageEntrySize; in processAndReserveUnwindInfo() 267 for (auto &R : Records) in processAndReserveUnwindInfo() 380 assert(Records.empty() && "CompactUnwindRecords vector should be empty."); in processCompactUnwind() 430 Records.push_back(R); in processCompactUnwind() 434 llvm::sort(Records, [](const CompactUnwindRecord &LHS, in processCompactUnwind() 440 NumSecondLevelPages = (Records.size() + NumRecordsPerSecondLevelPage - 1) / in processCompactUnwind() 450 << ": raw records = " << Records.size() in processCompactUnwind() 459 SmallVector<CompactUnwindRecord> NonUniqued = std::move(Records); in mergeRecords() 460 Records.reserve(NonUniqued.size()); in mergeRecords() 462 Records.push_back(NonUniqued.front()); in mergeRecords() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/ |
| H A D | TypeHashing.h | 44 static std::vector<LocallyHashedType> hashTypes(Range &&Records) { in hashTypes() 46 Hashes.reserve(std::distance(std::begin(Records), std::end(Records))); in hashTypes() 47 for (const auto &R : Records) in hashTypes() 125 static std::vector<GloballyHashedType> hashTypes(Range &&Records) { in hashTypes() 128 for (const auto &R : Records) { in hashTypes() 143 for (const auto &R : Records) { in hashTypes() 162 hashIds(Range &&Records, ArrayRef<GloballyHashedType> TypeHashes) { in hashIds() 164 for (const auto &R : Records) in hashIds()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/TableGen/ |
| H A D | DirectiveEmitter.h | 33 explicit DirectiveLanguage(const RecordKeeper &Records) : Records(Records) { in DirectiveLanguage() argument 69 return Records.getAllDerivedDefinitions("Association"); in getAssociations() 73 return Records.getAllDerivedDefinitions("Category"); in getCategories() 77 return Records.getAllDerivedDefinitions("SourceLanguage"); in getSourceLanguages() 81 return Records.getAllDerivedDefinitions("Directive"); in getDirectives() 85 return Records.getAllDerivedDefinitions("Clause"); in getClauses() 92 const RecordKeeper &Records; variable 95 return Records.getAllDerivedDefinitions("DirectiveLanguage"); in getDirectiveLanguages()
|