diff options
author | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2015-07-30 14:10:43 +0000 |
---|---|---|
committer | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2015-07-30 14:10:43 +0000 |
commit | ca25643a05d3d85ef9f0f2f931b30fd83e2c21a6 (patch) | |
tree | bdb44019cabb3c4920fb6458f0e49c6a07e18cd6 /clang/lib/Parse/Parser.cpp | |
parent | 3c5038a535c8a70a23ee8259efab875233732163 (diff) | |
download | bcm5719-llvm-ca25643a05d3d85ef9f0f2f931b30fd83e2c21a6.tar.gz bcm5719-llvm-ca25643a05d3d85ef9f0f2f931b30fd83e2c21a6.zip |
[SystemZ] Add support for vecintrin.h vector built-in functions
This patch adds support for the System Z vector built-in functions.
The API-defined header file has the name vecintrin.h.
The user-level functions are defined in the same style as the clang
version of altivec.h, making heavy use of the __overloadable__ and
__always_inline__ attributes. Where possible the functions expand to
generic operations rather than specific built-in functions, in the hope
that that form can be optimised better.
Where a built-in routine is specified to require an immediate integer
argument, the __enable_if__ attribute is used to verify the argument is
in fact constant and in the appropriate range.
Based on a patch by Richard Sandiford.
llvm-svn: 243643
Diffstat (limited to 'clang/lib/Parse/Parser.cpp')
0 files changed, 0 insertions, 0 deletions