Implementation of the target library information.
Synopsis
Declared in <llvm/Analysis/TargetLibraryInfo.h>
class TargetLibraryInfoImpl;
Description
This class constructs tables that hold the target library information and make it available. However, it is somewhat expensive to compute and only depends on the triple. So users typically interact with the TargetLibraryInfo wrapper below.
Member Functions
Name |
Description |
|
Constructors |
Assignment operators |
|
Add a set of scalar ‐> vector mappings, queryable via getVectorizedFunction and getScalarizedFunction. |
|
Calls addVectorizableFunctions with a known preset of functions for the given vector library. |
|
Disables all builtins. |
|
Get size of a C‐level int or unsigned int, in bits. |
|
|
|
Returns the size of the size_t type in bits. |
|
Return VecDesc info for the vectorized equivalent of |
|
Return the name of the equivalent of F, vectorized with factor VF. If no such mapping exists, return the empty string. |
|
Returns the size of the wchar_t type in bytes. This queries the 'wchar_size' metadata. |
|
Returns the largest vectorization factor used in the list of vector functions. |
|
Return true if errno is defined as a function call on known environments. |
|
|
|
Forces a function to be marked as available. |
|
Forces a function to be marked as available and provide an alternate name that must be used. |
|
Initialize the C‐level size of an integer. |
|
Set to true iff i32 parameters to library functions should have signext or zeroext attributes if they correspond to C‐level int or unsigned int, respectively. |
|
Set to true iff i32 results from library functions should have signext or zeroext attributes if they correspond to C‐level int or unsigned int, respectively. |
|
Set to true iff i32 parameters to library functions should have signext attribute if they correspond to C‐level int or unsigned int. |
|
Set to true iff i32 results from library functions should have signext attribute if they correspond to C‐level int or unsigned int. |
|
Forces a function to be marked as unavailable. |
Static Member Functions
Name |
Description |
|
Friends
Name |
Description |
Provides information about what library functions are available for the current target. |
Non-Member Functions
Name |
Description |
Create a TargetLibraryInfoImpl for a target triple and vector library. |
Created with MrDocs