<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/llvm/lib/TableGen/TGLexer.cpp, 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>[llvm] Remove unused includes (NFC) (#142733)</title>
<updated>2025-06-04T19:30:52+00:00</updated>
<author>
<name>Kazu Hirata</name>
<email>kazu@google.com</email>
</author>
<published>2025-06-04T19:30:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=228f66807d0be1d7873e075fc81baf41001950b5'/>
<id>228f66807d0be1d7873e075fc81baf41001950b5</id>
<content type='text'>
These are identified by misc-include-cleaner.  I've filtered out those
that break builds.  Also, I'm staying away from llvm-config.h,
config.h, and Compiler.h, which likely cause platform- or
compiler-specific build failures.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These are identified by misc-include-cleaner.  I've filtered out those
that break builds.  Also, I'm staying away from llvm-config.h,
config.h, and Compiler.h, which likely cause platform- or
compiler-specific build failures.</pre>
</div>
</content>
</entry>
<entry>
<title>[TableGen] Add `!instances` operator to get defined records (#129680)</title>
<updated>2025-03-28T08:31:00+00:00</updated>
<author>
<name>Pengcheng Wang</name>
<email>wangpengcheng.pp@bytedance.com</email>
</author>
<published>2025-03-28T08:31:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=883612859bd255fc964c121ea6d3b1a9fb37fc65'/>
<id>883612859bd255fc964c121ea6d3b1a9fb37fc65</id>
<content type='text'>
The format is: `!instances&lt;T&gt;([regex])`.
    
This operator produces a list of records whose type is `T`. If
`regex` is provided, only records whose name matches the regular
expression `regex` will be included. The format of `regex` is ERE
(Extended POSIX Regular Expressions).</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The format is: `!instances&lt;T&gt;([regex])`.
    
This operator produces a list of records whose type is `T`. If
`regex` is provided, only records whose name matches the regular
expression `regex` will be included. The format of `regex` is ERE
(Extended POSIX Regular Expressions).</pre>
</div>
</content>
</entry>
<entry>
<title>[TableGen] Add `!match` operator to do regex matching (#130759)</title>
<updated>2025-03-13T04:13:09+00:00</updated>
<author>
<name>Pengcheng Wang</name>
<email>wangpengcheng.pp@bytedance.com</email>
</author>
<published>2025-03-13T04:13:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=376e3b62cd36cabf4235e085cd13df05c2bd754b'/>
<id>376e3b62cd36cabf4235e085cd13df05c2bd754b</id>
<content type='text'>
The grammar is `!match(str, regex)` and this operator produces 1
if the `str` matches the regular expression `regex`.

The format of `regex` is ERE (Extended POSIX Regular Expressions).</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The grammar is `!match(str, regex)` and this operator produces 1
if the `str` matches the regular expression `regex`.

The format of `regex` is ERE (Extended POSIX Regular Expressions).</pre>
</div>
</content>
</entry>
<entry>
<title>Fix an unused-variable warning in release build.</title>
<updated>2025-01-13T11:03:35+00:00</updated>
<author>
<name>Haojian Wu</name>
<email>hokein.wu@gmail.com</email>
</author>
<published>2025-01-13T11:03:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=d2ba364440662b1025b2fbc00066eaae8b369cb1'/>
<id>d2ba364440662b1025b2fbc00066eaae8b369cb1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[TableGen] Use assert instead of PrintFatalError in TGLexer. NFC. (#122303)</title>
<updated>2025-01-13T10:30:55+00:00</updated>
<author>
<name>Jay Foad</name>
<email>jay.foad@amd.com</email>
</author>
<published>2025-01-13T10:30:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=a3b3c26048e1e9397cf412b07f09f82fe49e351e'/>
<id>a3b3c26048e1e9397cf412b07f09f82fe49e351e</id>
<content type='text'>
Do not use the PrintFatalError diagnostic machinery for conditions that
can never happen with any input.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Do not use the PrintFatalError diagnostic machinery for conditions that
can never happen with any input.</pre>
</div>
</content>
</entry>
<entry>
<title>[TableGen] Use SmallVectors for preprocessor include stack. NFC. (#121571)</title>
<updated>2025-01-03T19:37:58+00:00</updated>
<author>
<name>Jay Foad</name>
<email>jay.foad@amd.com</email>
</author>
<published>2025-01-03T19:37:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=cb2eafe6ac72064529da5219434e351851a2b68f'/>
<id>cb2eafe6ac72064529da5219434e351851a2b68f</id>
<content type='text'>
This is just a minor cleanup and a small step in the direction of using
LLVM containers in preference to STL containers in lib/TableGen.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is just a minor cleanup and a small step in the direction of using
LLVM containers in preference to STL containers in lib/TableGen.</pre>
</div>
</content>
</entry>
<entry>
<title>[llvm][TableGen] Add a !initialized predicate to allow testing for ? (#117964)</title>
<updated>2024-12-18T02:34:35+00:00</updated>
<author>
<name>Krzysztof Drewniak</name>
<email>Krzysztof.Drewniak@amd.com</email>
</author>
<published>2024-12-18T02:34:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=b24caf3d2b91ad8b2b29d70fb69fce3c5347b9f4'/>
<id>b24caf3d2b91ad8b2b29d70fb69fce3c5347b9f4</id>
<content type='text'>
There are cases (like in an upcoming patch to MLIR's `Property` class)
where the ? value is a useful null value. However, existing predicates
make ti difficult to test if the value in a record one is operating is ?
or not.

This commit adds the !initialized predicate, which is 1 on concrete,
non-? values and 0 on ?.

---------

Co-authored-by: Akshat Oke &lt;Akshat.Oke@amd.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There are cases (like in an upcoming patch to MLIR's `Property` class)
where the ? value is a useful null value. However, existing predicates
make ti difficult to test if the value in a record one is operating is ?
or not.

This commit adds the !initialized predicate, which is 1 on concrete,
non-? values and 0 on ?.

---------

Co-authored-by: Akshat Oke &lt;Akshat.Oke@amd.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[LLVM] Change error messages to start with lower case (#113748)</title>
<updated>2024-10-29T19:26:33+00:00</updated>
<author>
<name>Rahul Joshi</name>
<email>rjoshi@nvidia.com</email>
</author>
<published>2024-10-29T19:26:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=a18af41c20ac9ca22e3c95da3d71475f9f6c31b5'/>
<id>a18af41c20ac9ca22e3c95da3d71475f9f6c31b5</id>
<content type='text'>
Change LLVM Asm and TableGen Lexer/Parser error messages to begin with
lower case.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change LLVM Asm and TableGen Lexer/Parser error messages to begin with
lower case.</pre>
</div>
</content>
</entry>
<entry>
<title>[TableGen] Add a !listflatten operator to TableGen (#109346)</title>
<updated>2024-09-24T13:01:34+00:00</updated>
<author>
<name>Rahul Joshi</name>
<email>rjoshi@nvidia.com</email>
</author>
<published>2024-09-24T13:01:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=66c8dce82e60ebd22bbe6ce7c1550ae6de057625'/>
<id>66c8dce82e60ebd22bbe6ce7c1550ae6de057625</id>
<content type='text'>
Add a !listflatten operator that will transform an input list of type
`list&lt;list&lt;X&gt;&gt;` to `list&lt;X&gt;` by concatenating elements of the
constituent lists of the input argument.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a !listflatten operator that will transform an input list of type
`list&lt;list&lt;X&gt;&gt;` to `list&lt;X&gt;` by concatenating elements of the
constituent lists of the input argument.</pre>
</div>
</content>
</entry>
<entry>
<title>[NFC][TableGen] Elminate use of isalpha/isdigit from TGLexer (#104837)</title>
<updated>2024-08-20T16:54:12+00:00</updated>
<author>
<name>Rahul Joshi</name>
<email>rjoshi@nvidia.com</email>
</author>
<published>2024-08-20T16:54:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=e6751bfbf77bd9888b7882a46e2453e4ed149c7b'/>
<id>e6751bfbf77bd9888b7882a46e2453e4ed149c7b</id>
<content type='text'>
- Replace use of std::isalpha, std::isdigit, std:isxdigit with LLVM's
StringExtras versions, to avoid possibly locale dependent behavior (e.g.
glibc).
- Create helper function for common checks for valid identifier
characters.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Replace use of std::isalpha, std::isdigit, std:isxdigit with LLVM's
StringExtras versions, to avoid possibly locale dependent behavior (e.g.
glibc).
- Create helper function for common checks for valid identifier
characters.</pre>
</div>
</content>
</entry>
</feed>
