<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/llvm/docs/TableGen/BackGuide.rst, branch users/nico/python-2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/'/>
<entry>
<title>[TableGen] Only store direct superclasses in Record (#123072)</title>
<updated>2025-04-24T17:57:51+00:00</updated>
<author>
<name>Jay Foad</name>
<email>jay.foad@amd.com</email>
</author>
<published>2025-04-24T17:57:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=2bc6f9d4b6ff1d838f1c2d50cacbab6ba2f20bc9'/>
<id>2bc6f9d4b6ff1d838f1c2d50cacbab6ba2f20bc9</id>
<content type='text'>
In Record only store the direct superclasses instead of all
superclasses. getSuperClasses recurses to find all superclasses when
necessary.

This gives a small reduction in memory usage. On lib/Target/X86/X86.td I
measured about 2.0% reduction in total bytes allocated (measured by
valgrind) and 1.3% reduction in peak memory usage (measured by
/usr/bin/time -v).

---------

Co-authored-by: Min-Yih Hsu &lt;min@myhsu.dev&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In Record only store the direct superclasses instead of all
superclasses. getSuperClasses recurses to find all superclasses when
necessary.

This gives a small reduction in memory usage. On lib/Target/X86/X86.td I
measured about 2.0% reduction in total bytes allocated (measured by
valgrind) and 1.3% reduction in peak memory usage (measured by
/usr/bin/time -v).

---------

Co-authored-by: Min-Yih Hsu &lt;min@myhsu.dev&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[NFC][TableGen] Change `Record::getSuperClasses` to use const Record* (#110845)</title>
<updated>2024-10-02T20:24:46+00:00</updated>
<author>
<name>Rahul Joshi</name>
<email>rjoshi@nvidia.com</email>
</author>
<published>2024-10-02T20:24:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=65e69f7436c08bb6a32a9d9784b2158b63af1955'/>
<id>65e69f7436c08bb6a32a9d9784b2158b63af1955</id>
<content type='text'>
Change `Record::getSuperClasses` to return a const pointer to the
superclass records.

This is a part of effort to have better const correctness in TableGen
backends:


https://discourse.llvm.org/t/psa-planned-changes-to-tablegen-getallderiveddefinitions-api-potential-downstream-breakages/81089</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change `Record::getSuperClasses` to return a const pointer to the
superclass records.

This is a part of effort to have better const correctness in TableGen
backends:


https://discourse.llvm.org/t/psa-planned-changes-to-tablegen-getallderiveddefinitions-api-potential-downstream-breakages/81089</pre>
</div>
</content>
</entry>
<entry>
<title>[RFC][AMDGPU] Remove old llvm.amdgcn.buffer.* and tbuffer intrinsics (#93801)</title>
<updated>2024-06-10T11:14:51+00:00</updated>
<author>
<name>Jay Foad</name>
<email>jay.foad@amd.com</email>
</author>
<published>2024-06-10T11:14:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=18ec885a26049264a56714f234c086eec2df68db'/>
<id>18ec885a26049264a56714f234c086eec2df68db</id>
<content type='text'>
They have been superseded by llvm.amdgcn.raw.buffer.* and
llvm.amdgcn.struct.buffer.*.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
They have been superseded by llvm.amdgcn.raw.buffer.* and
llvm.amdgcn.struct.buffer.*.</pre>
</div>
</content>
</entry>
<entry>
<title>TableGen: Introduce `llvm::TableGen::Emitter` to register backends</title>
<updated>2023-03-21T07:21:27+00:00</updated>
<author>
<name>NAKAMURA Takumi</name>
<email>geek4civic@gmail.com</email>
</author>
<published>2023-02-16T23:24:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=4178ef43b2f12171639e3ef2bf02e5b7efd34688'/>
<id>4178ef43b2f12171639e3ef2bf02e5b7efd34688</id>
<content type='text'>
`Opt(flag, func, desc)` registers an option into `Action`.

`OptClass&lt;EmitterC&gt;` is also available if `EmitterC(RK).run(OS)` is capable.

`Action` is defined as `ManagedStatic&lt;cl::opt&gt;` to guarantee to be created
when each registration of emitter is invoked.

`llvm::TableGenMain(argv0, MainFn)` invokes `Action` instead of `MainFn`

Differential Revision: https://reviews.llvm.org/D144351
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`Opt(flag, func, desc)` registers an option into `Action`.

`OptClass&lt;EmitterC&gt;` is also available if `EmitterC(RK).run(OS)` is capable.

`Action` is defined as `ManagedStatic&lt;cl::opt&gt;` to guarantee to be created
when each registration of emitter is invoked.

`llvm::TableGenMain(argv0, MainFn)` invokes `Action` instead of `MainFn`

Differential Revision: https://reviews.llvm.org/D144351
</pre>
</div>
</content>
</entry>
<entry>
<title>[NFC] Trim trailing whitespace in *.rst</title>
<updated>2021-11-15T01:17:08+00:00</updated>
<author>
<name>Shao-Ce SUN</name>
<email>shaoce@nj.iscas.ac.cn</email>
</author>
<published>2021-11-15T01:17:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=0c660256eb41fb0ba44277a32f39d2a028f797f2'/>
<id>0c660256eb41fb0ba44277a32f39d2a028f797f2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Ensure newlines at the end of files (NFC)</title>
<updated>2021-10-23T15:45:29+00:00</updated>
<author>
<name>Kazu Hirata</name>
<email>kazu@google.com</email>
</author>
<published>2021-10-23T15:45:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=d8e4170b0a1431edee939efc16b60b409affcb4d'/>
<id>d8e4170b0a1431edee939efc16b60b409affcb4d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[TableGen] Eliminate the 'code' type</title>
<updated>2020-12-03T15:19:11+00:00</updated>
<author>
<name>Paul C. Anagnostopoulos</name>
<email>paul@windfall.com</email>
</author>
<published>2020-11-24T18:09:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=415fab6f67b4db59abe533130272d55b4efbf0cb'/>
<id>415fab6f67b4db59abe533130272d55b4efbf0cb</id>
<content type='text'>
Update the documentation.

Rework various backends that relied on the code type.

Differential Revision: https://reviews.llvm.org/D92269
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update the documentation.

Rework various backends that relied on the code type.

Differential Revision: https://reviews.llvm.org/D92269
</pre>
</div>
</content>
</entry>
<entry>
<title>[TableGen] Eliminte source location from CodeInit</title>
<updated>2020-11-23T16:30:13+00:00</updated>
<author>
<name>Paul C. Anagnostopoulos</name>
<email>paul@windfall.com</email>
</author>
<published>2020-11-22T14:56:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=b23e84ffcff8957e095599a6b7fd3f24ecf1f18c'/>
<id>b23e84ffcff8957e095599a6b7fd3f24ecf1f18c</id>
<content type='text'>
Step 1 in eliminating the 'code' type.

Differential Revision: https://reviews.llvm.org/D91932
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Step 1 in eliminating the 'code' type.

Differential Revision: https://reviews.llvm.org/D91932
</pre>
</div>
</content>
</entry>
<entry>
<title>[TableGen] Add frontend/backend phase timing capability.</title>
<updated>2020-11-14T15:10:29+00:00</updated>
<author>
<name>Paul C. Anagnostopoulos</name>
<email>paul@windfall.com</email>
</author>
<published>2020-10-22T06:58:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=54f9ee334114e9b494fc80978357d58295a48bd1'/>
<id>54f9ee334114e9b494fc80978357d58295a48bd1</id>
<content type='text'>
Describe in the BackEnd Developer's Guide. Instrument a few backends.

Remove an old unused timing facility. Add a null backend for timing
the parser.

Differential Revision: https://reviews.llvm.org/D91388
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Describe in the BackEnd Developer's Guide. Instrument a few backends.

Remove an old unused timing facility. Add a null backend for timing
the parser.

Differential Revision: https://reviews.llvm.org/D91388
</pre>
</div>
</content>
</entry>
<entry>
<title>[TableGen] Clean up documentation toctrees; clarify two paragraphs.</title>
<updated>2020-11-05T21:19:18+00:00</updated>
<author>
<name>Paul C. Anagnostopoulos</name>
<email>paul@windfall.com</email>
</author>
<published>2020-11-04T23:48:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=6f288b11dba7f7ef01bdc4a3202e908bdc0fb067'/>
<id>6f288b11dba7f7ef01bdc4a3202e908bdc0fb067</id>
<content type='text'>
Differential Revision: https://reviews.llvm.org/D90804
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Differential Revision: https://reviews.llvm.org/D90804
</pre>
</div>
</content>
</entry>
</feed>
