LLVM 22.0.0git
SystemLibraries.cpp
Go to the documentation of this file.
1//===-----------------------------------------------------------------------==//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
11
12using namespace llvm;
13
15
17 "vector-library", cl::Hidden, cl::desc("Vector functions library"),
21 "No vector functions library"),
23 "Accelerate framework"),
24 clEnumValN(VectorLibrary::DarwinLibSystemM, "Darwin_libsystem_m",
25 "Darwin libsystem_m"),
27 "GLIBC Vector Math library"),
28 clEnumValN(VectorLibrary::MASSV, "MASSV", "IBM MASS vector library"),
29 clEnumValN(VectorLibrary::SVML, "SVML", "Intel SVML library"),
31 "SIMD Library for Evaluating Elementary Functions"),
32 clEnumValN(VectorLibrary::ArmPL, "ArmPL", "Arm Performance Libraries"),
34 "AMD vector math library")));
#define clEnumValN(ENUMVAL, FLAGNAME, DESC)
static cl::opt< VectorLibrary, true > ClVectorLibraryOpt("vector-library", cl::Hidden, cl::desc("Vector functions library"), cl::location(llvm::ClVectorLibrary), cl::init(VectorLibrary::NoLibrary), cl::values(clEnumValN(VectorLibrary::NoLibrary, "none", "No vector functions library"), clEnumValN(VectorLibrary::Accelerate, "Accelerate", "Accelerate framework"), clEnumValN(VectorLibrary::DarwinLibSystemM, "Darwin_libsystem_m", "Darwin libsystem_m"), clEnumValN(VectorLibrary::LIBMVEC, "LIBMVEC", "GLIBC Vector Math library"), clEnumValN(VectorLibrary::MASSV, "MASSV", "IBM MASS vector library"), clEnumValN(VectorLibrary::SVML, "SVML", "Intel SVML library"), clEnumValN(VectorLibrary::SLEEFGNUABI, "sleefgnuabi", "SIMD Library for Evaluating Elementary Functions"), clEnumValN(VectorLibrary::ArmPL, "ArmPL", "Arm Performance Libraries"), clEnumValN(VectorLibrary::AMDLIBM, "AMDLIBM", "AMD vector math library")))
ValuesClass values(OptsTy... Options)
Helper to build a ValuesClass by forwarding a variable number of arguments as an initializer list to ...
initializer< Ty > init(const Ty &Val)
LocationClass< Ty > location(Ty &L)
This is an optimization pass for GlobalISel generic memory operations.
VectorLibrary ClVectorLibrary
Command line flag value for the vector math library to use.
VectorLibrary
List of known vector-functions libraries.