LLVM
8.0.1
|
Analysis pass providing the TargetLibraryInfo
.
More...
#include "llvm/Analysis/TargetLibraryInfo.h"
Public Types | |
typedef TargetLibraryInfo | Result |
Public Member Functions | |
TargetLibraryAnalysis () | |
Default construct the library analysis. More... | |
TargetLibraryAnalysis (TargetLibraryInfoImpl PresetInfoImpl) | |
Construct a library analysis with preset info. More... | |
TargetLibraryInfo | run (Module &M, ModuleAnalysisManager &) |
TargetLibraryInfo | run (Function &F, FunctionAnalysisManager &) |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::AnalysisInfoMixin< TargetLibraryAnalysis > | |
static AnalysisKey * | ID () |
Returns an opaque, unique ID for this analysis type. More... | |
Static Public Member Functions inherited from llvm::PassInfoMixin< TargetLibraryAnalysis > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. More... | |
Analysis pass providing the TargetLibraryInfo
.
Note that this pass's result cannot be invalidated, it is immutable for the life of the module.
Definition at line 345 of file TargetLibraryInfo.h.
Definition at line 347 of file TargetLibraryInfo.h.
|
inline |
Default construct the library analysis.
This will use the module's triple to construct the library info for that module.
Definition at line 353 of file TargetLibraryInfo.h.
|
inline |
Construct a library analysis with preset info.
This will directly copy the preset info into the result without consulting the module's triple.
Definition at line 359 of file TargetLibraryInfo.h.
References F().
TargetLibraryInfo TargetLibraryAnalysis::run | ( | Module & | M, |
ModuleAnalysisManager & | |||
) |
Definition at line 1647 of file TargetLibraryInfo.cpp.
References llvm::Module::getTargetTriple(), and llvm::TargetLibraryInfoImpl::TargetLibraryInfo.
TargetLibraryInfo TargetLibraryAnalysis::run | ( | Function & | F, |
FunctionAnalysisManager & | |||
) |
Definition at line 1655 of file TargetLibraryInfo.cpp.
References llvm::GlobalValue::getParent(), llvm::Module::getTargetTriple(), llvm::Triple::normalize(), llvm::TargetLibraryInfoImpl::TargetLibraryInfo, and llvm::TargetLibraryInfoImpl::TargetLibraryInfoImpl().