Lines Matching defs:definition
105 /// Get the base definition of the given record value, or nullptr if one
125 // Try to find the lowest definition of the record value.
142 /// This class represents a single symbol definition within a TableGen index. It
143 /// contains the definition of the symbol, the location of the symbol, and any
147 : definition(record),
150 : definition(value), defLoc(convertTokenLocToRange(value->getLoc())) {}
153 // The main definition of the symbol.
154 PointerUnion<const Record *, const RecordVal *> definition;
156 /// The source location of the definition.
159 /// The source location of the references of the definition.
168 return isa<const Record *>(symbol->definition);
172 const Record *getValue() const { return cast<const Record *>(definition); }
181 return isa<const RecordVal *>(symbol->definition);
186 return cast<const RecordVal *>(definition);
194 /// document. It provides efficient lookup of a definition given an input source
239 /// An interval map containing a corresponding definition mapped to a source
288 // Add references to the definition.
482 // the symbol, check to see if the value has a base definition. This allows
483 // for a "go-to-def" on a "let" to resolve the definition in the base class.