<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/llvm/utils/TableGen/Common/CodeGenSchedule.h, 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] Use default member initializers. NFC. (#144349)</title>
<updated>2025-06-16T14:26:47+00:00</updated>
<author>
<name>Jay Foad</name>
<email>jay.foad@amd.com</email>
</author>
<published>2025-06-16T14:26:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=39ad3151e073e9f721d1e2e2849fb4bdc9443ae3'/>
<id>39ad3151e073e9f721d1e2e2849fb4bdc9443ae3</id>
<content type='text'>
Automated with clang-tidy -fix -checks=-*,modernize-use-default-member-init</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Automated with clang-tidy -fix -checks=-*,modernize-use-default-member-init</pre>
</div>
</content>
</entry>
<entry>
<title>[NFC][TableGen] Use StringRef::str() instead of casting (#139332)</title>
<updated>2025-05-12T22:41:27+00:00</updated>
<author>
<name>Rahul Joshi</name>
<email>rjoshi@nvidia.com</email>
</author>
<published>2025-05-12T22:41:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=9981afc5f9d1bb84e35d562f2a1d0f6bf56fcb58'/>
<id>9981afc5f9d1bb84e35d562f2a1d0f6bf56fcb58</id>
<content type='text'>
- Also eliminate unneeded std::string() around some literal strings.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Also eliminate unneeded std::string() around some literal strings.</pre>
</div>
</content>
</entry>
<entry>
<title>[NFC][TableGen] Cleanup iterators in CodeGenSchedule.h (#127401)</title>
<updated>2025-02-18T16:57:22+00:00</updated>
<author>
<name>Rahul Joshi</name>
<email>rjoshi@nvidia.com</email>
</author>
<published>2025-02-18T16:57:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=1fd06001a9e4f3da4c70f71e1d8df28198f67529'/>
<id>1fd06001a9e4f3da4c70f71e1d8df28198f67529</id>
<content type='text'>
- Use range for loops for processor models and schedule classes.
- Cleanup duplicated or unused iterators in CodeGenSchedule.h</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Use range for loops for processor models and schedule classes.
- Cleanup duplicated or unused iterators in CodeGenSchedule.h</pre>
</div>
</content>
</entry>
<entry>
<title>[NFC][TableGen] Code cleanup in InstrInfoEmitter.cpp (#126578)</title>
<updated>2025-02-11T15:02:37+00:00</updated>
<author>
<name>Rahul Joshi</name>
<email>rjoshi@nvidia.com</email>
</author>
<published>2025-02-11T15:02:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=dbe1dafdbde247d9c133626cc38a8c587a49344f'/>
<id>dbe1dafdbde247d9c133626cc38a8c587a49344f</id>
<content type='text'>
- Use range for loops and `enumerate` in a few places.
- Use `StringRef` for `TargetName` in `InstrInfoEmitter::run`.
- Use `\n` character for new line instead of string.
- Use StringRef in `InstrNames` (instead of std::string) and 
  avoid string copies.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Use range for loops and `enumerate` in a few places.
- Use `StringRef` for `TargetName` in `InstrInfoEmitter::run`.
- Use `\n` character for new line instead of string.
- Use StringRef in `InstrNames` (instead of std::string) and 
  avoid string copies.</pre>
</div>
</content>
</entry>
<entry>
<title>[TableGen] Add a SmallPtrSet to track WriteRes that are referenced by some ReadAdvance. NFC (#124160)</title>
<updated>2025-01-23T20:48:59+00:00</updated>
<author>
<name>Craig Topper</name>
<email>craig.topper@sifive.com</email>
</author>
<published>2025-01-23T20:48:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=e19261faf5c771bd7951b987abe8de698469e9f1'/>
<id>e19261faf5c771bd7951b987abe8de698469e9f1</id>
<content type='text'>
Use this to remove a linear scan from CodeGenProcModel::hasReadOfWrite.

This reduces build time of RISCVGenSubtargetInfo.inc on by machine from
~6 seconds to ~3 seconds.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use this to remove a linear scan from CodeGenProcModel::hasReadOfWrite.

This reduces build time of RISCVGenSubtargetInfo.inc on by machine from
~6 seconds to ~3 seconds.</pre>
</div>
</content>
</entry>
<entry>
<title>[TableGen] Pass CodeGenProcModel reference instead of index to addWriteRes/addReadAdvance. NFC</title>
<updated>2025-01-23T17:11:29+00:00</updated>
<author>
<name>Craig Topper</name>
<email>craig.topper@sifive.com</email>
</author>
<published>2025-01-23T17:00:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=082b148041ec8bb5024246da3a33e8246dc5e01b'/>
<id>082b148041ec8bb5024246da3a33e8246dc5e01b</id>
<content type='text'>
2 of the 3 callers of each of these already had a reference they
converted to index. Use that reference and make the one caller
that only has an index responsible for looking up the reference from it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
2 of the 3 callers of each of these already had a reference they
converted to index. Use that reference and make the one caller
that only has an index responsible for looking up the reference from it.
</pre>
</div>
</content>
</entry>
<entry>
<title>[TableGen] Add maps from Write/ReadType to the parent WriteRes/ReadAdvance. NFC (#123876)</title>
<updated>2025-01-22T21:41:42+00:00</updated>
<author>
<name>Craig Topper</name>
<email>craig.topper@sifive.com</email>
</author>
<published>2025-01-22T21:41:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=517334bdb83deaae3be6fbc4fa5f1d721b01c0f0'/>
<id>517334bdb83deaae3be6fbc4fa5f1d721b01c0f0</id>
<content type='text'>
Use this to improve performance of SubtargetEmitter::findWriteResources
and SubtargetEmitter::findReadAdvance. Now we can do a map lookup
instead of a linear search through all WriteRes/ReadAdvance records.
    
This reduces the build time of RISCVGenSubtargetInfo.inc on my
machine from 43 seconds to 10 seconds.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use this to improve performance of SubtargetEmitter::findWriteResources
and SubtargetEmitter::findReadAdvance. Now we can do a map lookup
instead of a linear search through all WriteRes/ReadAdvance records.
    
This reduces the build time of RISCVGenSubtargetInfo.inc on my
machine from 43 seconds to 10 seconds.</pre>
</div>
</content>
</entry>
<entry>
<title>[TableGen] Use const getter to implement non-const getter instead of the other way around. NFC (#123452)</title>
<updated>2025-01-18T16:35:59+00:00</updated>
<author>
<name>Craig Topper</name>
<email>craig.topper@sifive.com</email>
</author>
<published>2025-01-18T16:35:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=2a4c4b554b23f2a7180502c1a635d8aae4dca027'/>
<id>2a4c4b554b23f2a7180502c1a635d8aae4dca027</id>
<content type='text'>
It's better to cast away constness on the reference being returned than
to cast away constness on the this pointer.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's better to cast away constness on the reference being returned than
to cast away constness on the this pointer.</pre>
</div>
</content>
</entry>
<entry>
<title>[TableGen] const-correct a couple CodeGenSchedule methods. NFC</title>
<updated>2025-01-18T06:55:20+00:00</updated>
<author>
<name>Craig Topper</name>
<email>craig.topper@sifive.com</email>
</author>
<published>2025-01-18T06:54:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=c3aa86c9de5dfcc40abad01eabb7f9a301b90a2e'/>
<id>c3aa86c9de5dfcc40abad01eabb7f9a301b90a2e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[TableGen] Inline a helper function that didn't seem necessary. NFC (#123440)</title>
<updated>2025-01-18T05:41:04+00:00</updated>
<author>
<name>Craig Topper</name>
<email>craig.topper@sifive.com</email>
</author>
<published>2025-01-18T05:41:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=9cd12b5652ec0bcf8670aa7c8ddfddf9212aa94c'/>
<id>9cd12b5652ec0bcf8670aa7c8ddfddf9212aa94c</id>
<content type='text'>
The function called find_if and converted the iterator to an index.
The caller then had to check the index being non-zero to know if the
find succeeded.

Seems better to just do the find and distance in the caller.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The function called find_if and converted the iterator to an index.
The caller then had to check the index being non-zero to know if the
find succeeded.

Seems better to just do the find and distance in the caller.</pre>
</div>
</content>
</entry>
</feed>
