Lines Matching full:records
16 information is coded in a declarative style involving classes and records,
17 which are then processed by TableGen. The internalized records are passed on
18 to various backends, which extract information from a subset of the records
37 and records that are collected from the TableGen source files by the
48 classes and records parsed and collected by TableGen. The ``RecordKeeper``
52 There are two maps in the recordkeeper, one for classes and one for records
63 * A counter for naming anonymous records.
69 * Functions to get a subset of the records based on their parent classes.
71 * Functions to get individual classes, records, and globals, by name.
81 classes and one for the records. The primary data members of a record are
381 represent the records that were collected by TableGen. It includes a data
476 member so that records can be obtained from it. This data member is usually
477 named ``Records``.
480 function" to collect records and emit the output file. It accepts an instance
510 If you need to iterate over all the class records:
514 for (auto ClassPair : Records.getClasses()) {
523 Getting Records
527 ``Record`` instances for concrete records defined in the TableGen files.
530 records.
536 ``Record`` references for the concrete records that derive from the
540 a vector of ``Record`` references for the concrete records that derive from
543 This statement obtains all the records that derive from the ``Attribute``
548 auto AttrRecords = Records.getAllDerivedDefinitions("Attribute");
570 information about the fields in records.
667 TableGen records are often derived from multiple classes and also often
713 The TableGen command option ``--print-records`` invokes a simple backend
714 that prints all the classes and records defined in the source files. This is
746 ``//``), and fields. Records are shown with their parent classes and
747 fields. Note that anonymous records are named ``anonymous_0``,
753 The TableGen command option ``--print-detailed-records`` invokes a backend
754 that prints all the global variables, classes, and records defined in the
760 DETAILED RECORDS for file llvm-project\llvm\lib\target\arc\arc.td
777 -------------------- Records (12303) --------------------
793 * The records are shown with their source location, ``defm`` sequence,
812 ``--print-detailed-records`` backend run on the AMDGPU target.
823 15.1789 ( 15.1%) 0.0000 ( 0.0%) 15.1789 ( 15.0%) 15.1829 ( 14.8%) Parse, build records
843 14.8825 ( 2.0%) 0.0156 ( 10.0%) 14.8981 ( 2.0%) 14.9009 ( 2.0%) Parse, build records
852 and search for ``Records.startTimer``.