Lines Matching defs:TableGenIndexSymbol
145 struct TableGenIndexSymbol {
146 TableGenIndexSymbol(const Record *record)
149 TableGenIndexSymbol(const RecordVal *value)
151 virtual ~TableGenIndexSymbol() = default;
163 struct TableGenRecordSymbol : public TableGenIndexSymbol {
164 TableGenRecordSymbol(const Record *record) : TableGenIndexSymbol(record) {}
167 static bool classof(const TableGenIndexSymbol *symbol) {
175 struct TableGenRecordValSymbol : public TableGenIndexSymbol {
177 : TableGenIndexSymbol(value), record(record) {}
180 static bool classof(const TableGenIndexSymbol *symbol) {
206 const TableGenIndexSymbol *lookup(SMLoc loc,
213 const char *, const TableGenIndexSymbol *,
215 const TableGenIndexSymbol *>::LeafSize,
219 TableGenIndexSymbol *getOrInsertDef(const Record *record) {
226 TableGenIndexSymbol *getOrInsertDef(const Record *record,
244 DenseMap<const void *, std::unique_ptr<TableGenIndexSymbol>> defToSymbol;
252 auto insertRef = [&](TableGenIndexSymbol *sym, SMRange refLoc,
304 const TableGenIndexSymbol *
477 const TableGenIndexSymbol *symbol = index.lookup(posLoc);
499 const TableGenIndexSymbol *symbol = index.lookup(posLoc);
533 const TableGenIndexSymbol *symbol = index.lookup(posLoc, &hoverRange);