Home
last modified time | relevance | path

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

12345678910

/llvm-project-15.0.7/clang/utils/TableGen/
H A DTableGen.cpp272 EmitJSON(Records, OS); in ClangTableGenMain()
396 EmitNeon(Records, OS); in ClangTableGenMain()
399 EmitFP16(Records, OS); in ClangTableGenMain()
402 EmitBF16(Records, OS); in ClangTableGenMain()
405 EmitNeonSema(Records, OS); in ClangTableGenMain()
408 EmitNeonTest(Records, OS); in ClangTableGenMain()
411 EmitMveHeader(Records, OS); in ClangTableGenMain()
426 EmitSveHeader(Records, OS); in ClangTableGenMain()
429 EmitSveBuiltins(Records, OS); in ClangTableGenMain()
441 EmitCdeHeader(Records, OS); in ClangTableGenMain()
[all …]
H A DTableGenBackends.h38 llvm::RecordKeeper &Records, llvm::raw_ostream &OS);
46 void EmitClangAttrHasAttrImpl(llvm::RecordKeeper &Records,
50 void EmitClangAttrASTVisitor(llvm::RecordKeeper &Records,
54 void EmitClangAttrParsedAttrList(llvm::RecordKeeper &Records,
60 void EmitClangAttrTextNodeDump(llvm::RecordKeeper &Records,
62 void EmitClangAttrNodeTraverse(llvm::RecordKeeper &Records,
69 void EmitClangDiagsIndexName(llvm::RecordKeeper &Records,
74 void EmitClangCommentHTMLTags(llvm::RecordKeeper &Records,
87 void EmitClangSyntaxNodeList(llvm::RecordKeeper &Records,
125 void EmitClangOpenCLBuiltins(llvm::RecordKeeper &Records,
[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 __anon442fd56c0111::BuiltinNameEmitter
241 : Records(Records), OS(OS) {} in OpenCLBuiltinFileEmitterBase()
308 RecordKeeper &Records; member in __anon442fd56c0111::OpenCLBuiltinFileEmitterBase
320 : OpenCLBuiltinFileEmitterBase(Records, OS) {} in OpenCLBuiltinTestEmitter()
384 Records.getAllDerivedDefinitions("GenericType"); in EmitDeclarations()
799 Records.getAllDerivedDefinitions("ImageType"); in EmitQualTypeFinder()
1042 Record *PossibleGenType = Records.getDef(SubTypeName); in getTypeLists()
1264 BuiltinNameEmitter NameChecker(Records, OS); in EmitClangOpenCLBuiltins()
[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.cpp1881 RecordKeeper &Records) { in PragmaClangAttributeSupport() argument
2781 emitAttributes(Records, OS, true); in EmitClangAttrClass()
2790 emitAttributes(Records, OS, false); in EmitClangAttrImpl()
3025 AttrClassHierarchy Hierarchy(Records); in EmitClangAttrList()
3066 getPragmaAttributeSupport(Records); in EmitClangAttrSubjectMatchRuleList()
4141 getPragmaAttributeSupport(Records); in EmitClangAttrParsedAttrImpl()
4469 emitClangAttrArgContextList(Records, OS); in EmitClangAttrParserStringSwitches()
4473 emitClangAttrAcceptsExprPack(Records, OS); in EmitClangAttrParserStringSwitches()
4474 emitClangAttrTypeArgList(Records, OS); in EmitClangAttrParserStringSwitches()
4475 emitClangAttrLateParsedList(Records, OS); in EmitClangAttrParserStringSwitches()
[all …]
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DTableGen.cpp162 EmitJSON(Records, OS); in LLVMTableGenMain()
171 EmitInstrInfo(Records, OS); in LLVMTableGenMain()
174 EmitInstrDocs(Records, OS); in LLVMTableGenMain()
180 EmitAsmWriter(Records, OS); in LLVMTableGenMain()
195 EmitDAGISel(Records, OS); in LLVMTableGenMain()
201 EmitFastISel(Records, OS); in LLVMTableGenMain()
204 EmitSubtarget(Records, OS); in LLVMTableGenMain()
216 EmitOptRST(Records, OS); in LLVMTableGenMain()
240 EmitCTags(Records, OS); in LLVMTableGenMain()
267 EmitExegesis(Records, OS); in LLVMTableGenMain()
[all …]
H A DAttributes.cpp19 Attributes(RecordKeeper &R) : Records(R) {} in Attributes()
27 RecordKeeper &Records; member in __anonf8ddbc720111::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 __anon59d40e020111::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()
/llvm-project-15.0.7/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.cpp38 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()
313 for (auto *R : B.Records) in loadFDRLog()
338 for (auto *R : B.Records) in loadFDRLog()
351 std::vector<XRayRecord> &Records) { in loadYAMLLog() argument
369 Records.clear(); in loadYAMLLog()
370 std::transform(Trace.Records.begin(), Trace.Records.end(), in loadYAMLLog()
446 T.FileHeader, T.Records)) in loadTrace()
[all …]
/llvm-project-15.0.7/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()
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()
158 Records.stopTimer(); in TableGenMain()
[all …]
H A DTGParser.cpp507 Records.addDef(std::move(Rec)); in addDefOne()
545 return UnsetInit::get(Records); in ParseObjectName()
822 return BitRecTy::get(Records); in ParseType()
825 return IntRecTy::get(Records); in ParseType()
828 return DagRecTy::get(Records); in ParseType()
1859 RHS = IntInit::get(Records, 0); in ParseOperationFind()
2145 R = IntInit::get(Records, 1); in ParseSimpleValue()
2149 R = IntInit::get(Records, 0); in ParseSimpleValue()
2183 R = UnsetInit::get(Records); in ParseSimpleValue()
3088 CurRec = std::make_unique<Record>(Records.getNewAnonymousName(), DefLoc, Records, in ParseDef()
[all …]
/llvm-project-15.0.7/llvm/lib/DebugInfo/CodeView/
H A DLazyRandomTypeCollection.cpp43 Records.resize(RecordCountHint); in LazyRandomTypeCollection()
69 Records.clear(); in reset()
70 Records.resize(RecordCountHint); in reset()
129 if (Records[I].Name.data() == nullptr) { in getTypeName()
131 Records[I].Name = Result; in getTypeName()
133 return Records[I].Name; in getTypeName()
168 Records.resize(NewCapacity); in ensureCapacityFor()
253 Records[Idx].Type = *Begin; in fullScanForType()
254 Records[Idx].Offset = Begin.offset(); in fullScanForType()
274 Records[Idx].Type = *RI; in visitRange()
[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()
/llvm-project-15.0.7/llvm/unittests/XRay/
H A DFDRProducerConsumerTest.cpp140 std::vector<std::unique_ptr<Record>> Records; in TYPED_TEST_P() local
141 LogBuilderConsumer C(Records); in TYPED_TEST_P()
149 ASSERT_THAT(Records, Not(IsEmpty())); in TYPED_TEST_P()
153 for (auto &P : Records) in TYPED_TEST_P()
159 ASSERT_THAT(Records, SizeIs(2)); in TYPED_TEST_P()
160 EXPECT_THAT(Records[1]->getRecordType(), Eq(R->getRecordType())); in TYPED_TEST_P()
181 std::vector<std::unique_ptr<Record>> Records; in TYPED_TEST_P() local
182 LogBuilderConsumer C(Records); in TYPED_TEST_P()
190 ASSERT_THAT(Records, Not(IsEmpty())); in TYPED_TEST_P()
194 for (auto &P : Records) in TYPED_TEST_P()
[all …]
/llvm-project-15.0.7/llvm/unittests/ProfileData/
H A DMemProfTest.cpp181 ASSERT_EQ(Records.size(), 4U); in TEST()
185 ASSERT_EQ(Records.count(FooId), 1U); in TEST()
186 const MemProfRecord &Foo = Records[FooId]; in TEST()
201 ASSERT_EQ(Records.count(BarId), 1U); in TEST()
202 const MemProfRecord &Bar = Records[BarId]; in TEST()
221 ASSERT_EQ(Records.count(XyzId), 1U); in TEST()
222 const MemProfRecord &Xyz = Records[XyzId]; in TEST()
232 ASSERT_EQ(Records.count(AbcId), 1U); in TEST()
233 const MemProfRecord &Abc = Records[AbcId]; in TEST()
343 Records.push_back(KeyRecordPair.second); in TEST()
[all …]
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/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()
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()
220 HashRecords.resize(Records.size()); in finalizeBuckets()
[all …]
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/libc/utils/LibcTableGenUtil/
H A DAPIIndexer.cpp151 void APIIndexer::index(llvm::RecordKeeper &Records) { in index() argument
152 NamedTypeClass = Records.getClass(NamedTypeClassName); in index()
153 PtrTypeClass = Records.getClass(PtrTypeClassName); in index()
154 RestrictedPtrTypeClass = Records.getClass(RestrictedPtrTypeClassName); in index()
155 StructClass = Records.getClass(StructTypeClassName); in index()
156 ConstTypeClass = Records.getClass(ConstTypeClassName); in index()
157 StandardSpecClass = Records.getClass(StandardSpecClassName); in index()
158 PublicAPIClass = Records.getClass(PublicAPIClassName); in index()
160 const auto &DefsMap = Records.getDefs(); in index()
H A DAPIIndexer.h44 void index(llvm::RecordKeeper &Records);
51 explicit APIIndexer(llvm::RecordKeeper &Records) : StdHeader(llvm::None) { in APIIndexer() argument
52 index(Records); in APIIndexer()
55 APIIndexer(llvm::StringRef Header, llvm::RecordKeeper &Records) in APIIndexer() argument
57 index(Records); in APIIndexer()
/llvm-project-15.0.7/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()
122 static std::vector<GloballyHashedType> hashTypes(Range &&Records) { in hashTypes()
125 for (const auto &R : Records) { in hashTypes()
140 for (const auto &R : Records) { in hashTypes()
159 hashIds(Range &&Records, ArrayRef<GloballyHashedType> TypeHashes) { in hashIds()
161 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
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/libc/utils/tools/WrapperGen/
H A DMain.cpp155 llvm::RecordKeeper &Records) { in generateWrapper() argument
156 llvm_libc::APIIndexer Indexer(Records); in generateWrapper()
174 static bool generateAlias(llvm::raw_ostream &OS, llvm::RecordKeeper &Records) { in generateAlias() argument
177 llvm_libc::APIIndexer Indexer(Records); in generateAlias()
184 static bool wrapperGenMain(llvm::raw_ostream &OS, llvm::RecordKeeper &Records) { in wrapperGenMain() argument
188 return generateWrapper(OS, Records); in wrapperGenMain()
190 return generateAlias(OS, Records); in wrapperGenMain()

12345678910