llvm-project/clang/lib
Nemanja Ivanovic 6321c68065 Initial support for vectorization using MASSV (IBM MASS vector library)
Part 2 (the Clang portion) of D59881.

This patch (first of two patches) enables the vectorizer to recognize the
IBM MASS vector library routines. This patch specifically adds support for
recognizing the -vector-library=MASSV option, and defines mappings from IEEE
standard scalar math functions to generic PowerPC MASS vector counterparts.
For instance, the generic PowerPC MASS vector entry for double-precision
cbrt function is __cbrtd2_massv.

The second patch will further lower the generic PowerPC vector entries to
PowerPC subtarget-specific entries.
For instance, the PowerPC generic entry cbrtd2_massv is lowered to
cbrtd2_P9 for Power9 subtarget.

The overall support for MASS vector library is presented as such in two patches
for ease of review.

Patch by Jeeva Paudel.

Differential revision: https://reviews.llvm.org/D59881

llvm-svn: 362571
2019-06-05 01:57:57 +00:00
..
ARCMigrate Recommit r359859 "[Attribute/Diagnostics] Print macro if definition is an attribute declaration" 2019-05-07 03:20:17 +00:00
AST msabi: Fix exponential mangling time for even more contrived inputs 2019-06-04 23:27:40 +00:00
ASTMatchers Move TraversalKind enum to ast_type_traits 2019-05-16 17:57:38 +00:00
Analysis [Analysis] Only build Analysis plugins when CLANG_ENABLE_STATIC_ANALYZER is enabled. 2019-06-04 22:07:40 +00:00
Basic [X86] Add VP2INTERSECT instructions 2019-05-31 06:09:35 +00:00
CodeGen Initial support for vectorization using MASSV (IBM MASS vector library) 2019-06-05 01:57:57 +00:00
CrossTU [ASTImporter] Use llvm::Expected and Error in the importer API 2019-05-15 10:29:48 +00:00
Driver [ARM] Fix recent breakage of -mfpu=none. 2019-06-03 11:02:53 +00:00
Edit Range-style std::find{,_if} -> llvm::find{,_if}. NFC 2019-03-31 08:48:19 +00:00
Format [clang-format] Allow configuring list of function-like macros that resolve to a type 2019-05-29 16:30:47 +00:00
Frontend Initial support for vectorization using MASSV (IBM MASS vector library) 2019-06-05 01:57:57 +00:00
FrontendTool Add clang source minimizer that reduces source to directives 2019-06-03 22:59:17 +00:00
Headers [OpenCL] Undefine cl_intel_planar_yuv extension 2019-06-03 13:02:43 +00:00
Index [Index] Compute correct symbol kind for variable templates 2019-05-29 17:49:30 +00:00
Lex Fix windows build for commit r362459 2019-06-03 23:17:21 +00:00
Parse Re-check in clang support gun asm goto after fixing tests. 2019-06-03 15:57:25 +00:00
Rewrite [analyzer] [NFC] PathDiagnostic: Create PathDiagnosticPopUpPiece 2019-05-29 19:21:59 +00:00
Sema Factor out duplicated code building a MemberExpr and marking it 2019-06-05 00:21:47 +00:00
Serialization Convert MemberExpr creation and serialization to work the same way as 2019-06-04 21:29:28 +00:00
StaticAnalyzer [analyzer] print() JSONify: ExplodedNode revision 2019-05-31 17:54:12 +00:00
Tooling [LibTooling] Add `before` and `after` selectors for selecting point-ranges relative to nodes. 2019-05-29 12:40:36 +00:00
CMakeLists.txt Add Cross Translation Unit support library 2017-09-22 11:11:01 +00:00