<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/llvm/utils/TableGen/CodeEmitterGen.cpp, branch main</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] Constify CodeGenInstruction where possible (NFC) (#169193)</title>
<updated>2025-11-23T00:22:48+00:00</updated>
<author>
<name>Sergei Barannikov</name>
<email>barannikov88@gmail.com</email>
</author>
<published>2025-11-23T00:22:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=0619292195ecd47ac05b0c7759992b400abec52c'/>
<id>0619292195ecd47ac05b0c7759992b400abec52c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[NFC][MC][CodeEmitterGen] Extract error reporting into a helper function (#159778)</title>
<updated>2025-09-23T16:05:10+00:00</updated>
<author>
<name>Rahul Joshi</name>
<email>rjoshi@nvidia.com</email>
</author>
<published>2025-09-23T16:05:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=b7908e3841601b46eaf5b4fcc17aeb020df80672'/>
<id>b7908e3841601b46eaf5b4fcc17aeb020df80672</id>
<content type='text'>
Extract error reporting code emitted by CodeEmitterGen into
MCCodeEmitter static members functions.
Additionally, remove unused ErrorHandling.h header from several files.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Extract error reporting code emitted by CodeEmitterGen into
MCCodeEmitter static members functions.
Additionally, remove unused ErrorHandling.h header from several files.</pre>
</div>
</content>
</entry>
<entry>
<title>[TableGen][CodeEmitter] Refactor addCodeToMergeInOperand (NFC) (#158674)</title>
<updated>2025-09-16T13:04:08+00:00</updated>
<author>
<name>Sergei Barannikov</name>
<email>barannikov88@gmail.com</email>
</author>
<published>2025-09-16T13:04:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=3c7c8929d415ab773c88e7e0a668930738f98e56'/>
<id>3c7c8929d415ab773c88e7e0a668930738f98e56</id>
<content type='text'>
* Use streams to avoid dealing with std::string
* Print operand masks in hex
* Make the output more succinct</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Use streams to avoid dealing with std::string
* Print operand masks in hex
* Make the output more succinct</pre>
</div>
</content>
</entry>
<entry>
<title>[TableGen][CodeEmitterGen] Cache Target/CGH in class (NFC) (#158517)</title>
<updated>2025-09-14T23:49:45+00:00</updated>
<author>
<name>Sergei Barannikov</name>
<email>barannikov88@gmail.com</email>
</author>
<published>2025-09-14T23:49:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=fb58bc6763573f0a7182290cdbfcec469f34c273'/>
<id>fb58bc6763573f0a7182290cdbfcec469f34c273</id>
<content type='text'>
To avoid passing them to member functions.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To avoid passing them to member functions.</pre>
</div>
</content>
</entry>
<entry>
<title>[LLVM][MC][CodeEmitterGen] Reduce various `InstBits` table sizes (#156213)</title>
<updated>2025-09-10T12:36:51+00:00</updated>
<author>
<name>Rahul Joshi</name>
<email>rjoshi@nvidia.com</email>
</author>
<published>2025-09-10T12:36:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=acea1f512ea804d7c35b60682f62327dceea1e18'/>
<id>acea1f512ea804d7c35b60682f62327dceea1e18</id>
<content type='text'>
Change various `InstBits` tables have an entry only for non-pseudo
target instructions and adjust the indexing into these tables
accordingly.

Some minor refactoring related to this:
- Use early return after handling variable length encodings
- Reduce the scope of anonymous namespace to just the class declaration.

Example reductions in these table sizes for some targets:

```
Target      FirstSupportedOpcode         Reduction in size
AMDGPU                     10813         10813 * 16 = 168KB
RISCV                      12051         12051 * 8 = 94KB
```</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change various `InstBits` tables have an entry only for non-pseudo
target instructions and adjust the indexing into these tables
accordingly.

Some minor refactoring related to this:
- Use early return after handling variable length encodings
- Reduce the scope of anonymous namespace to just the class declaration.

Example reductions in these table sizes for some targets:

```
Target      FirstSupportedOpcode         Reduction in size
AMDGPU                     10813         10813 * 16 = 168KB
RISCV                      12051         12051 * 8 = 94KB
```</pre>
</div>
</content>
</entry>
<entry>
<title>[TableGen][CodeGen] Remove DisableEncoding field of Instruction class (#156098)</title>
<updated>2025-08-30T04:44:20+00:00</updated>
<author>
<name>Sergei Barannikov</name>
<email>barannikov88@gmail.com</email>
</author>
<published>2025-08-30T04:44:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=cc5e8967ab1ae04ccbb6a8678dcd4ef0d5c5ccdf'/>
<id>cc5e8967ab1ae04ccbb6a8678dcd4ef0d5c5ccdf</id>
<content type='text'>
I believe it became no-op with the removal of the "positionally encoded
operands" functionality (b87dc356 is the last commit in the series).

There are no changes in the generated files.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I believe it became no-op with the removal of the "positionally encoded
operands" functionality (b87dc356 is the last commit in the series).

There are no changes in the generated files.</pre>
</div>
</content>
</entry>
<entry>
<title>[TableGen] Remove unnecessary use of utostr when writing to raw_ostream. NFC (#154800)</title>
<updated>2025-08-22T00:44:53+00:00</updated>
<author>
<name>Craig Topper</name>
<email>craig.topper@sifive.com</email>
</author>
<published>2025-08-22T00:44:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=6167b1e6e9cf4f58c9f42d94956e79018881577b'/>
<id>6167b1e6e9cf4f58c9f42d94956e79018881577b</id>
<content type='text'>
raw_ostream is capable of printing unsigned or uint64_t directly.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
raw_ostream is capable of printing unsigned or uint64_t directly.</pre>
</div>
</content>
</entry>
<entry>
<title>[TableGen] Remove dummy UINT64_C(0) from end of InstBits table. NFC (#154778)</title>
<updated>2025-08-21T17:42:37+00:00</updated>
<author>
<name>Craig Topper</name>
<email>craig.topper@sifive.com</email>
</author>
<published>2025-08-21T17:42:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=c91f7dc7cdbefb76a0db0d0250ee0c2543b9c04f'/>
<id>c91f7dc7cdbefb76a0db0d0250ee0c2543b9c04f</id>
<content type='text'>
I suspect this originally existed to avoid a trailing comma from the
previous entry. C++ allows trailing commas in arrays so this isn't
necessary.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I suspect this originally existed to avoid a trailing comma from the
previous entry. C++ allows trailing commas in arrays so this isn't
necessary.</pre>
</div>
</content>
</entry>
<entry>
<title>[TableGen] Use getValueAsOptionalDef to simplify code (NFC) (#153170)</title>
<updated>2025-08-12T14:44:01+00:00</updated>
<author>
<name>Sergei Barannikov</name>
<email>barannikov88@gmail.com</email>
</author>
<published>2025-08-12T14:44:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=2f9f92ad01c06c7b02d15a730cd609db95705882'/>
<id>2f9f92ad01c06c7b02d15a730cd609db95705882</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[NFC][TableGen] Rename `CodeGenTarget` instruction accessors (#146767)</title>
<updated>2025-07-07T15:01:14+00:00</updated>
<author>
<name>Rahul Joshi</name>
<email>rjoshi@nvidia.com</email>
</author>
<published>2025-07-07T15:01:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=5f2e88a1254ee392c24a1963e08d76e771ba7aea'/>
<id>5f2e88a1254ee392c24a1963e08d76e771ba7aea</id>
<content type='text'>
Rename `getXYZInstructionsByEnumValue()` to just `getXYZInstructions`
and drop the `ByEnumValue` in the name.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rename `getXYZInstructionsByEnumValue()` to just `getXYZInstructions`
and drop the `ByEnumValue` in the name.</pre>
</div>
</content>
</entry>
</feed>
