/external/llvm-project/clang/utils/TableGen/ |
D | TableGen.cpp | 248 bool ClangTableGenMain(raw_ostream &OS, RecordKeeper &Records) { in ClangTableGenMain() argument 251 OS << Records; // No argument, dump all contents in ClangTableGenMain() 254 EmitJSON(Records, OS); in ClangTableGenMain() 257 EmitClangAttrClass(Records, OS); in ClangTableGenMain() 260 EmitClangAttrParserStringSwitches(Records, OS); in ClangTableGenMain() 263 EmitClangAttrSubjectMatchRulesParserStringSwitches(Records, OS); in ClangTableGenMain() 266 EmitClangAttrImpl(Records, OS); in ClangTableGenMain() 269 EmitClangAttrList(Records, OS); in ClangTableGenMain() 272 EmitClangAttrSubjectMatchRuleList(Records, OS); in ClangTableGenMain() 275 EmitClangAttrPCHRead(Records, OS); in ClangTableGenMain() [all …]
|
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 …]
|
/external/clang/utils/TableGen/ |
D | TableGenBackends.h | 35 void EmitClangAttrParserStringSwitches(RecordKeeper &Records, raw_ostream &OS); 36 void EmitClangAttrClass(RecordKeeper &Records, raw_ostream &OS); 37 void EmitClangAttrImpl(RecordKeeper &Records, raw_ostream &OS); 38 void EmitClangAttrList(RecordKeeper &Records, raw_ostream &OS); 39 void EmitClangAttrPCHRead(RecordKeeper &Records, raw_ostream &OS); 40 void EmitClangAttrPCHWrite(RecordKeeper &Records, raw_ostream &OS); 41 void EmitClangAttrHasAttrImpl(RecordKeeper &Records, raw_ostream &OS); 42 void EmitClangAttrSpellingListIndex(RecordKeeper &Records, raw_ostream &OS); 43 void EmitClangAttrASTVisitor(RecordKeeper &Records, raw_ostream &OS); 44 void EmitClangAttrTemplateInstantiate(RecordKeeper &Records, raw_ostream &OS); [all …]
|
D | TableGen.cpp | 144 bool ClangTableGenMain(raw_ostream &OS, RecordKeeper &Records) { in ClangTableGenMain() argument 147 EmitClangAttrClass(Records, OS); in ClangTableGenMain() 150 EmitClangAttrParserStringSwitches(Records, OS); in ClangTableGenMain() 153 EmitClangAttrImpl(Records, OS); in ClangTableGenMain() 156 EmitClangAttrList(Records, OS); in ClangTableGenMain() 159 EmitClangAttrPCHRead(Records, OS); in ClangTableGenMain() 162 EmitClangAttrPCHWrite(Records, OS); in ClangTableGenMain() 165 EmitClangAttrHasAttrImpl(Records, OS); in ClangTableGenMain() 168 EmitClangAttrSpellingListIndex(Records, OS); in ClangTableGenMain() 171 EmitClangAttrASTVisitor(Records, OS); in ClangTableGenMain() [all …]
|
/external/llvm-project/llvm/utils/TableGen/ |
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 EmitRegisterInfo(Records, OS); in LLVMTableGenMain() 168 EmitInstrInfo(Records, OS); in LLVMTableGenMain() 171 EmitInstrDocs(Records, OS); in LLVMTableGenMain() 174 EmitCallingConv(Records, OS); in LLVMTableGenMain() 177 EmitAsmWriter(Records, OS); in LLVMTableGenMain() [all …]
|
/external/llvm/utils/TableGen/ |
D | TableGen.cpp | 101 bool LLVMTableGenMain(raw_ostream &OS, RecordKeeper &Records) { in LLVMTableGenMain() argument 104 OS << Records; // No argument, dump all contents in LLVMTableGenMain() 107 EmitCodeEmitter(Records, OS); in LLVMTableGenMain() 110 EmitRegisterInfo(Records, OS); in LLVMTableGenMain() 113 EmitInstrInfo(Records, OS); in LLVMTableGenMain() 116 EmitCallingConv(Records, OS); in LLVMTableGenMain() 119 EmitAsmWriter(Records, OS); in LLVMTableGenMain() 122 EmitAsmMatcher(Records, OS); in LLVMTableGenMain() 125 EmitDisassembler(Records, OS); in LLVMTableGenMain() 128 EmitPseudoLowering(Records, OS); in LLVMTableGenMain() [all …]
|
D | Attributes.cpp | 25 Attributes(RecordKeeper &R) : Records(R) {} in Attributes() 34 const std::vector<Record *> &Records); 36 const std::vector<Record *> &Records); 38 RecordKeeper &Records; member in __anon9391c5eb0111::Attributes 48 Records.getAllDerivedDefinitions("EnumAttr"); in emitTargetIndependentEnums() 61 Records.getAllDerivedDefinitions("EnumAttr"); in emitConversionFn() 107 printEnumAttrClasses(OS ,Records.getAllDerivedDefinitions("EnumAttr")); in emitFnAttrCompatCheck() 108 printStrBoolAttrClasses(OS , Records.getAllDerivedDefinitions("StrBoolAttr")); in emitFnAttrCompatCheck() 115 Records.getAllDerivedDefinitions("CompatRule"); in emitFnAttrCompatCheck() 127 Records.getAllDerivedDefinitions("MergeRule"); in emitFnAttrCompatCheck() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/XRay/ |
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 …]
|
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 …]
|
/external/llvm-project/llvm/lib/XRay/ |
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 …]
|
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 …]
|
/external/llvm-project/llvm/lib/TableGen/ |
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 …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/ |
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 …]
|
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()
|
/external/llvm-project/llvm/lib/DebugInfo/CodeView/ |
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 …]
|
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()
|
/external/llvm-project/llvm/unittests/XRay/ |
D | FDRProducerConsumerTest.cpp | 140 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 …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/ |
D | GSIStreamBuilder.cpp | 51 std::vector<CVSymbol> Records; member 75 Records.push_back(Symbol); in addSymbol() 89 for (const auto &Sym : Records) in calculateRecordByteSize() 137 for (const CVSymbol &Sym : Records) { in finalizeBuckets() 152 HashRecords.reserve(Records.size()); in finalizeBuckets() 195 Size += PSH->Records.size() * sizeof(uint32_t); // AddrMap in calculatePublicsHashStreamSize() 245 static std::vector<ulittle32_t> computeAddrMap(ArrayRef<CVSymbol> Records) { in computeAddrMap() argument 252 DeserializedPublics.reserve(Records.size()); in computeAddrMap() 253 PublicsByAddr.reserve(Records.size()); in computeAddrMap() 254 SymOffsets.reserve(Records.size()); in computeAddrMap() [all …]
|
/external/llvm-project/lldb/utils/TableGen/ |
D | LLDBTableGen.cpp | 45 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()
|
/external/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
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 …]
|
/external/llvm-project/llvm/include/llvm/XRay/ |
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()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/XRay/ |
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()
|
/external/llvm-project/libc/utils/LibcTableGenUtil/ |
D | APIIndexer.cpp | 140 void APIIndexer::index(llvm::RecordKeeper &Records) { in index() argument 141 NamedTypeClass = Records.getClass(NamedTypeClassName); in index() 142 PtrTypeClass = Records.getClass(PtrTypeClassName); in index() 143 RestrictedPtrTypeClass = Records.getClass(RestrictedPtrTypeClassName); in index() 144 StructClass = Records.getClass(StructTypeClassName); in index() 145 ConstTypeClass = Records.getClass(ConstTypeClassName); in index() 146 StandardSpecClass = Records.getClass(StandardSpecClassName); in index() 147 PublicAPIClass = Records.getClass(PublicAPIClassName); in index() 149 const auto &DefsMap = Records.getDefs(); in index()
|
/external/llvm-project/llvm/include/llvm/DebugInfo/CodeView/ |
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()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/ |
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() 110 static std::vector<GloballyHashedType> hashTypes(Range &&Records) { in hashTypes() 113 for (const auto &R : Records) { in hashTypes() 128 for (const auto &R : Records) { in hashTypes() 147 hashIds(Range &&Records, ArrayRef<GloballyHashedType> TypeHashes) { in hashIds() 149 for (const auto &R : Records) in hashIds()
|