<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/clang/test/OpenMP/declare_simd_codegen.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>[OpenMP] Fix declare simd use on in-class member template function</title>
<updated>2022-05-13T15:24:55+00:00</updated>
<author>
<name>Mike Rice</name>
<email>michael.p.rice@intel.com</email>
</author>
<published>2022-05-12T16:33:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=0d67c8a51d61cb0fac91f265a424767f072c7d5c'/>
<id>0d67c8a51d61cb0fac91f265a424767f072c7d5c</id>
<content type='text'>
Return the Decl when parsing the template member declaration so the
'omp declare simd' pragma can be applied to it. Previously a nullptr
was returned causing an error applying the pragma.

Fixes #52700.

Differential Revision: https://reviews.llvm.org/D125493
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Return the Decl when parsing the template member declaration so the
'omp declare simd' pragma can be applied to it. Previously a nullptr
was returned causing an error applying the pragma.

Fixes #52700.

Differential Revision: https://reviews.llvm.org/D125493
</pre>
</div>
</content>
</entry>
<entry>
<title>[OpenMP] Fix mangling for linear parameters with negative stride</title>
<updated>2022-05-11T21:02:09+00:00</updated>
<author>
<name>Mike Rice</name>
<email>michael.p.rice@intel.com</email>
</author>
<published>2022-05-11T18:26:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=772b0c44a4296a34cbc072c2a7cf294410d07a1a'/>
<id>772b0c44a4296a34cbc072c2a7cf294410d07a1a</id>
<content type='text'>
The 'n' character is used in place of '-' in the mangled name.

Differential Revision: https://reviews.llvm.org/D125406
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The 'n' character is used in place of '-' in the mangled name.

Differential Revision: https://reviews.llvm.org/D125406
</pre>
</div>
</content>
</entry>
<entry>
<title>[OpenMP] Fix mangling for linear modifiers with variable stride</title>
<updated>2022-05-10T21:12:44+00:00</updated>
<author>
<name>Mike Rice</name>
<email>michael.p.rice@intel.com</email>
</author>
<published>2022-05-10T17:54:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=0dbaef61b56f0ef0ab0cf38ea92ffc1f35bee3ff'/>
<id>0dbaef61b56f0ef0ab0cf38ea92ffc1f35bee3ff</id>
<content type='text'>
This adds support for variable stride with the val, uval, and ref linear
modifiers.  Previously only the no modifer type ls&lt;argno&gt; was supported.

  val  -&gt; Ls&lt;argno&gt;
  uval -&gt; Us&lt;argno&gt;
  ref  -&gt; Rs&lt;argno&gt;

Differential Revision: https://reviews.llvm.org/D125330
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds support for variable stride with the val, uval, and ref linear
modifiers.  Previously only the no modifer type ls&lt;argno&gt; was supported.

  val  -&gt; Ls&lt;argno&gt;
  uval -&gt; Us&lt;argno&gt;
  ref  -&gt; Rs&lt;argno&gt;

Differential Revision: https://reviews.llvm.org/D125330
</pre>
</div>
</content>
</entry>
<entry>
<title>[OpenMP] Add mangling support for linear modifiers (ref,uval,val)</title>
<updated>2022-05-10T16:56:55+00:00</updated>
<author>
<name>Mike Rice</name>
<email>michael.p.rice@intel.com</email>
</author>
<published>2022-05-09T18:41:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=1a02519bc504a12a12ba875db29c9e5901ed9bef'/>
<id>1a02519bc504a12a12ba875db29c9e5901ed9bef</id>
<content type='text'>
Add mangling for linear parameters specified with ref, uval, and val
for 'omp declare simd' vector functions.

Add missing stride for linear this parameters.

Differential Revision: https://reviews.llvm.org/D125269
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add mangling for linear parameters specified with ref, uval, and val
for 'omp declare simd' vector functions.

Add missing stride for linear this parameters.

Differential Revision: https://reviews.llvm.org/D125269
</pre>
</div>
</content>
</entry>
<entry>
<title>Eliminate extra set of simd variant function attribute.</title>
<updated>2022-03-24T20:27:28+00:00</updated>
<author>
<name>Jennifer Yu</name>
<email>jennifer.yu@intel.com</email>
</author>
<published>2022-03-23T14:34:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=a6cdac48ffaf1aba9c2055db0ea92f8d25e629d8'/>
<id>a6cdac48ffaf1aba9c2055db0ea92f8d25e629d8</id>
<content type='text'>
Current clang generates extra set of simd variant function attribute
with extra 'v' encoding.
For example:
_ZGVbN2v__Z5add_1Pf vs _ZGVbN2vv__Z5add_1Pf
The problem is due to declaration of ParamAttrs following:
    llvm::SmallVector&lt;ParamAttrTy, 8&gt; ParamAttrs(ParamPositions.size());
where ParamPositions.size() is grown after following assignment:
    Pos = ParamPositions[PVD];
So the PVD is not find in ParamPositions.

The problem is ParamPositions need to set for each FD decl. To fix this

Move ParamPositions's init inside while loop for each FD.

Differential Revision: https://reviews.llvm.org/D122338
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Current clang generates extra set of simd variant function attribute
with extra 'v' encoding.
For example:
_ZGVbN2v__Z5add_1Pf vs _ZGVbN2vv__Z5add_1Pf
The problem is due to declaration of ParamAttrs following:
    llvm::SmallVector&lt;ParamAttrTy, 8&gt; ParamAttrs(ParamPositions.size());
where ParamPositions.size() is grown after following assignment:
    Pos = ParamPositions[PVD];
So the PVD is not find in ParamPositions.

The problem is ParamPositions need to set for each FD decl. To fix this

Move ParamPositions's init inside while loop for each FD.

Differential Revision: https://reviews.llvm.org/D122338
</pre>
</div>
</content>
</entry>
<entry>
<title>[clang][OpenMP] Fix mangling of linear parameters.</title>
<updated>2020-05-01T21:19:00+00:00</updated>
<author>
<name>Francesco Petrogalli</name>
<email>francesco.petrogalli@arm.com</email>
</author>
<published>2020-04-27T19:39:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=7585ba208e67443d0fbc883db320934c65312b02'/>
<id>7585ba208e67443d0fbc883db320934c65312b02</id>
<content type='text'>
Summary:
The linear parameter token in the mangling function must be multiplied
by the pointee size in bytes when the parameter is a pointer.

Reviewers: ABataev, andwar, jdoerfert

Subscribers: yaxunl, guansong, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D78965
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
The linear parameter token in the mangling function must be multiplied
by the pointee size in bytes when the parameter is a pointer.

Reviewers: ABataev, andwar, jdoerfert

Subscribers: yaxunl, guansong, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D78965
</pre>
</div>
</content>
</entry>
<entry>
<title>[OpenMP] Allow const parameters in declare simd linear clause</title>
<updated>2020-03-02T14:54:14+00:00</updated>
<author>
<name>Graham Hunter</name>
<email>graham.hunter@arm.com</email>
</author>
<published>2020-02-28T13:53:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=ad497658d25a3616e4c57cf7d12e3497a1c66f35'/>
<id>ad497658d25a3616e4c57cf7d12e3497a1c66f35</id>
<content type='text'>
Reviewers: ABataev, kkwli0, jdoerfert, fpetrogalli

Reviewed By: ABataev, fpetrogalli

Differential Revision: https://reviews.llvm.org/D75350
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewers: ABataev, kkwli0, jdoerfert, fpetrogalli

Reviewed By: ABataev, fpetrogalli

Differential Revision: https://reviews.llvm.org/D75350
</pre>
</div>
</content>
</entry>
<entry>
<title>[OPENMP] Scan all redeclarations looking for `declare simd` attribute.</title>
<updated>2018-03-02T18:07:00+00:00</updated>
<author>
<name>Alexey Bataev</name>
<email>a.bataev@hotmail.com</email>
</author>
<published>2018-03-02T18:07:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=20cf67c233beab21cccbdc23d8b35397fc6cb321'/>
<id>20cf67c233beab21cccbdc23d8b35397fc6cb321</id>
<content type='text'>
Patch fixes the problem with the functions marked as `declare simd`. If
the canonical declaration does not have associated `declare simd`
construct, we may not generate required code even if other
redeclarations are marked as `declare simd`.

llvm-svn: 326594
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Patch fixes the problem with the functions marked as `declare simd`. If
the canonical declaration does not have associated `declare simd`
construct, we may not generate required code even if other
redeclarations are marked as `declare simd`.

llvm-svn: 326594
</pre>
</div>
</content>
</entry>
<entry>
<title>[OPENMP] Support for -fopenmp-simd option with compilation of simd loops</title>
<updated>2017-12-29T18:07:07+00:00</updated>
<author>
<name>Alexey Bataev</name>
<email>a.bataev@hotmail.com</email>
</author>
<published>2017-12-29T18:07:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=a8a9153a372afcfe2d18399b079bfdc5fd4da626'/>
<id>a8a9153a372afcfe2d18399b079bfdc5fd4da626</id>
<content type='text'>
only.

Added support for -fopenmp-simd option that allows compilation of
simd-based constructs without emission of OpenMP runtime calls.

llvm-svn: 321560
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
only.

Added support for -fopenmp-simd option that allows compilation of
simd-based constructs without emission of OpenMP runtime calls.

llvm-svn: 321560
</pre>
</div>
</content>
</entry>
<entry>
<title>[OPENMP] Codegen `declare simd` for function declarations.</title>
<updated>2017-12-15T16:28:31+00:00</updated>
<author>
<name>Alexey Bataev</name>
<email>a.bataev@hotmail.com</email>
</author>
<published>2017-12-15T16:28:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=b952e639d9dc0cf9c7d46231d080e436fae5f9e4'/>
<id>b952e639d9dc0cf9c7d46231d080e436fae5f9e4</id>
<content type='text'>
Previously the attributes were emitted only for function definitions.
Patch adds emission of the attributes for function declarations.

llvm-svn: 320826
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously the attributes were emitted only for function definitions.
Patch adds emission of the attributes for function declarations.

llvm-svn: 320826
</pre>
</div>
</content>
</entry>
</feed>
