<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/clang/lib/CIR/CodeGen/CIRGenModule.cpp, branch users/mingmingl-llvm/samplefdo-profile-format</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>[CIR] Add constant record ILE support (#155663)</title>
<updated>2025-09-04T21:10:47+00:00</updated>
<author>
<name>Morris Hafner</name>
<email>mmha@users.noreply.github.com</email>
</author>
<published>2025-09-04T21:10:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=1dbe65a008ea7731bf91910ddeb13f53758db5c2'/>
<id>1dbe65a008ea7731bf91910ddeb13f53758db5c2</id>
<content type='text'>
This patch adds basic support for constant record initializer list
expressions. There's a couple of limitations:

* No zero initialized padding bytes in C mode
* No bitfields
* No designated initializer lists
* Record alignments are not calculated, yet
* ILEs of derived records don't work, yet
* The constant attribute is not propagated to the backend, resulting in
non-constants being emitted in the LLVM IR</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds basic support for constant record initializer list
expressions. There's a couple of limitations:

* No zero initialized padding bytes in C mode
* No bitfields
* No designated initializer lists
* Record alignments are not calculated, yet
* ILEs of derived records don't work, yet
* The constant attribute is not propagated to the backend, resulting in
non-constants being emitted in the LLVM IR</pre>
</div>
</content>
</entry>
<entry>
<title>[CIR] Add support for constructors with VTT parameters (#156521)</title>
<updated>2025-09-03T19:06:56+00:00</updated>
<author>
<name>Andy Kaylor</name>
<email>akaylor@nvidia.com</email>
</author>
<published>2025-09-03T19:06:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=88c38258891fe7572b1d57b42dea059d422ced6f'/>
<id>88c38258891fe7572b1d57b42dea059d422ced6f</id>
<content type='text'>
This adds the support for implicit VTT arguments in constructors.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds the support for implicit VTT arguments in constructors.</pre>
</div>
</content>
</entry>
<entry>
<title>[clang] NFC: introduce Type::getAsEnumDecl, and cast variants for all TagDecls (#155463)</title>
<updated>2025-08-26T19:05:59+00:00</updated>
<author>
<name>Matheus Izvekov</name>
<email>mizvekov@gmail.com</email>
</author>
<published>2025-08-26T19:05:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=2ec71d93ad888d9523425930ef8c35fe8f0b2485'/>
<id>2ec71d93ad888d9523425930ef8c35fe8f0b2485</id>
<content type='text'>
And make use of those.

These changes are split from prior PR #155028, in order to decrease the
size of that PR and facilitate review.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
And make use of those.

These changes are split from prior PR #155028, in order to decrease the
size of that PR and facilitate review.</pre>
</div>
</content>
</entry>
<entry>
<title>[clang] NFC: change more places to use Type::getAsTagDecl and friends (#155313)</title>
<updated>2025-08-25T23:18:56+00:00</updated>
<author>
<name>Matheus Izvekov</name>
<email>mizvekov@gmail.com</email>
</author>
<published>2025-08-25T23:18:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=dc8596d5485a52abee2967cec72f81ef4872270c'/>
<id>dc8596d5485a52abee2967cec72f81ef4872270c</id>
<content type='text'>
This changes a bunch of places which use getAs&lt;TagType&gt;, including
derived types, just to obtain the tag definition.

This is preparation for #155028, offloading all the changes that PR used
to introduce which don't depend on any new helpers.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This changes a bunch of places which use getAs&lt;TagType&gt;, including
derived types, just to obtain the tag definition.

This is preparation for #155028, offloading all the changes that PR used
to introduce which don't depend on any new helpers.</pre>
</div>
</content>
</entry>
<entry>
<title>[CIR][NFC] Fix build warning in getCIRSourceLanguage (#155029)</title>
<updated>2025-08-22T21:57:31+00:00</updated>
<author>
<name>Andy Kaylor</name>
<email>akaylor@nvidia.com</email>
</author>
<published>2025-08-22T21:57:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=480d528053f635d381a471f613631a4ecae321ca'/>
<id>480d528053f635d381a471f613631a4ecae321ca</id>
<content type='text'>
The getCIRSourceLanguage wasn't returning a value if the source language
was anything other than C or C++. This change updates that function to
return a std::optional value and only adds the source language attribute
if one was returned.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The getCIRSourceLanguage wasn't returning a value if the source language
was anything other than C or C++. This change updates that function to
return a std::optional value and only adds the source language attribute
if one was returned.</pre>
</div>
</content>
</entry>
<entry>
<title>[CIR] Add support for emitting vtables (#154808)</title>
<updated>2025-08-22T20:26:17+00:00</updated>
<author>
<name>Andy Kaylor</name>
<email>akaylor@nvidia.com</email>
</author>
<published>2025-08-22T20:26:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=ffe3768dfbbb3a598482d1f4a3dce4f02446340d'/>
<id>ffe3768dfbbb3a598482d1f4a3dce4f02446340d</id>
<content type='text'>
This adds a simplified version of the code to emit vtables. It does not
yet handle RTTI or cases that require multiple vtables.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds a simplified version of the code to emit vtables. It does not
yet handle RTTI or cases that require multiple vtables.</pre>
</div>
</content>
</entry>
<entry>
<title>[CIR][Dialect] Add SourceLangAttr (#152511)</title>
<updated>2025-08-21T16:51:37+00:00</updated>
<author>
<name>7mile</name>
<email>i@7li.moe</email>
</author>
<published>2025-08-21T16:51:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=761125f2676925fbc4ef23f8b5cc937ebea9a0fb'/>
<id>761125f2676925fbc4ef23f8b5cc937ebea9a0fb</id>
<content type='text'>
This patch upstreams `SourceLangAttr` and its CodeGen logic in the CGM,
which encodes the source language in CIR.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch upstreams `SourceLangAttr` and its CodeGen logic in the CGM,
which encodes the source language in CIR.</pre>
</div>
</content>
</entry>
<entry>
<title>[CIR] Add support for string literal lvalues in ConstantLValueEmitter (#154514)</title>
<updated>2025-08-20T11:30:21+00:00</updated>
<author>
<name>Morris Hafner</name>
<email>mmha@users.noreply.github.com</email>
</author>
<published>2025-08-20T11:30:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=b01f05977ce65dc71fed07cd64684a182e983533'/>
<id>b01f05977ce65dc71fed07cd64684a182e983533</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[CIR] Add constant attribute to GlobalOp (#154359)</title>
<updated>2025-08-20T10:53:00+00:00</updated>
<author>
<name>Morris Hafner</name>
<email>mmha@users.noreply.github.com</email>
</author>
<published>2025-08-20T10:53:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=0989ff5de8daa5b5689f975141e720e0bc8afcad'/>
<id>0989ff5de8daa5b5689f975141e720e0bc8afcad</id>
<content type='text'>
This patch adds the constant attribute to cir.global, the appropriate
lowering to LLVM constant and updates the tests.

---------

Co-authored-by: Andy Kaylor &lt;akaylor@nvidia.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds the constant attribute to cir.global, the appropriate
lowering to LLVM constant and updates the tests.

---------

Co-authored-by: Andy Kaylor &lt;akaylor@nvidia.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[CIR} Add support for static member variable instantiation (#153200)</title>
<updated>2025-08-13T16:03:05+00:00</updated>
<author>
<name>Morris Hafner</name>
<email>mmha@users.noreply.github.com</email>
</author>
<published>2025-08-13T16:03:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=0045bfca9c51e3b61b1e1772adf3a2c391a039c2'/>
<id>0045bfca9c51e3b61b1e1772adf3a2c391a039c2</id>
<content type='text'>
This patch handles both implicit and explicit template instantiations of
template class static member variables.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch handles both implicit and explicit template instantiations of
template class static member variables.</pre>
</div>
</content>
</entry>
</feed>
