/freebsd/contrib/llvm-project/clang/utils/TableGen/ |
H A D | TableGen.cpp | 315 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 D | TableGenBackends.h | 38 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 D | ClangAttrEmitter.cpp | 173 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 D | SveEmitter.cpp | 299 RecordKeeper &Records; member in __anone51b860d0111::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 D | ClangCommentCommandInfoEmitter.cpp | 23 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()
|
/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/TableGen/ |
H A D | Main.cpp | 100 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 D | TGParser.cpp | 138 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 …]
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/ |
H A D | LazyRandomTypeCollection.cpp | 41 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 in contains() [all...] |
H A D | TypeTableCollection.cpp | 19 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()
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | TableGen.cpp | 43 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 __anon20f91a9d0202()
|
H A D | Attributes.cpp | 20 Attributes(RecordKeeper &R) : Records(R) {} in Attributes() 28 RecordKeeper &Records; member in __anonbfca47420111::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 D | DAGISelEmitter.cpp | 28 RecordKeeper &Records; // Just so we can get at the timing functions. member in __anonae03922e0111::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()
|
H A D | ExegesisEmitter.cpp | 54 RecordKeeper &Records; member in __anon2157dad20111::ExegesisEmitter 62 collectPfmCounters(const RecordKeeper &Records) { in collectPfmCounters() argument 70 for (Record *Def : Records.getAllDerivedDefinitions("ProcPfmCounters")) { in collectPfmCounters() 99 : Records(RK), PfmCounterNameTable(collectPfmCounters(RK)) { in ExegesisEmitter() 100 std::vector<Record *> Targets = Records.getAllDerivedDefinitions("Target"); in ExegesisEmitter() 199 Records.getAllDerivedDefinitions("ProcPfmCounters"); in run() 227 Records.getAllDerivedDefinitions("PfmCountersBinding");
|
H A D | DFAEmitter.cpp | 194 RecordKeeper &Records; member in __anon4fed36600211::Automaton 203 Automaton(RecordKeeper &Records, Record *R); 213 RecordKeeper &Records; member in __anon4fed36600211::AutomatonEmitter 216 AutomatonEmitter(RecordKeeper &R) : Records(R) {} in AutomatonEmitter() 235 for (Record *R : Records.getAllDerivedDefinitions("GenericAutomaton")) { in run() 236 Automaton A(Records, R); in run() 243 Automaton::Automaton(RecordKeeper &Records, Record *R) in Automaton() argument 244 : Records(Records), R(R) { in Automaton() 251 for (Record *T : Records.getAllDerivedDefinitions(TransitionClass)) { in emit()
|
/freebsd/contrib/llvm-project/lldb/utils/TableGen/ |
H A D | LLDBTableGen.cpp | 46 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()
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
H A D | GSIStreamBuilder.cpp | 184 std::vector<BulkPublic> Records; in finalizeGlobalBuckets() 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() 201 parallelFor(0, Records.size(), [&](size_t I) { in finalizeBuckets() 202 Records[I].setBucketIdx(hashStringV1(Records[ in finalizeBuckets() 183 std::vector<BulkPublic> Records; finalizeGlobalBuckets() local 198 finalizeBuckets(uint32_t RecordZeroOffset,MutableArrayRef<BulkPublic> Records) finalizeBuckets() argument 395 writeRecords(BinaryStreamWriter & Writer,ArrayRef<CVSymbol> Records) writeRecords() argument [all...] |
/freebsd/contrib/llvm-project/llvm/include/llvm/TableGen/ |
H A D | DirectiveEmitter.h | 18 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()
|
/freebsd/contrib/llvm-project/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()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/ |
H A D | TypeHashing.h | 43 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 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
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/ |
H A D | CodeGenTarget.cpp | 89 : 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 …]
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-xray/ |
H A D | xray-fdr-dump.cpp | 77 std::vector<std::unique_ptr<Record>> Records; in __anonc19214950102() local 78 LogBuilderConsumer C(Records); in __anonc19214950102() 83 for (auto &Ptr : Records) in __anonc19214950102() 95 for (auto &Ptr : Records) in __anonc19214950102() 107 for (auto *R : B.Records) { in __anonc19214950102()
|
H A D | xray-converter.cpp | 87 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 [all...] |