Home | History | Annotate | Download | only in TableGen

Lines Matching full:record

16 #include "llvm/TableGen/Record.h"
28 static bool isHidden(const Record &R) {
38 static bool isCheckerNamed(const Record *R) {
42 static std::string getPackageFullName(const Record *R);
44 static std::string getParentPackageFullName(const Record *R) {
51 static std::string getPackageFullName(const Record *R) {
57 static std::string getCheckerFullName(const Record *R) {
66 static std::string getStringValue(const Record &R, StringRef field) {
74 llvm::DenseSet<const Record*> Checkers;
75 llvm::DenseSet<const Record *> SubGroups;
83 static void addPackageToCheckerGroup(const Record *package, const Record *group,
84 llvm::DenseMap<const Record *, GroupInfo *> &recordGroupMap) {
85 llvm::DenseSet<const Record *> &checkers = recordGroupMap[package]->Checkers;
86 for (llvm::DenseSet<const Record *>::iterator
90 llvm::DenseSet<const Record *> &subGroups = recordGroupMap[package]->SubGroups;
91 for (llvm::DenseSet<const Record *>::iterator
98 std::vector<Record*> checkers = Records.getAllDerivedDefinitions("Checker");
99 llvm::DenseMap<const Record *, unsigned> checkerRecIndexMap;
106 llvm::DenseMap<const Record *, GroupInfo *> recordGroupMap;
108 std::vector<Record*> packages = Records.getAllDerivedDefinitions("Package");
110 Record *R = packages[i];
119 std::vector<Record*>
122 Record *R = checkerGroups[i];
131 Record *R = checkers[i];
132 Record *package = nullptr;
151 Record *currR = isCheckerNamed(R) ? R : package;
156 Record *parentPackage = DI->getDef();
171 typedef std::map<std::string, const Record *> SortedRecords;
172 typedef llvm::DenseMap<const Record *, unsigned> RecToSortIndex;
185 const Record *R = I->second;
204 const Record &R = *I->second;
225 const Record &R = *checkers[i];
264 llvm::DenseSet<const Record *> &checkers = I->second.Checkers;
268 std::map<int, const Record *> sorted;
269 for (llvm::DenseSet<const Record *>::iterator
273 for (std::map<int, const Record *>::iterator
279 llvm::DenseSet<const Record *> &subGroups = I->second.SubGroups;
283 std::map<int, const Record *> sorted;
284 for (llvm::DenseSet<const Record *>::iterator
288 for (std::map<int, const Record *>::iterator