LLVM  8.0.1
Public Types | Public Member Functions | List of all members
llvm::TargetLibraryAnalysis Class Reference

Analysis pass providing the TargetLibraryInfo. More...

#include "llvm/Analysis/TargetLibraryInfo.h"

Inheritance diagram for llvm::TargetLibraryAnalysis:
Inheritance graph
[legend]
Collaboration diagram for llvm::TargetLibraryAnalysis:
Collaboration graph
[legend]

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 AnalysisKeyID ()
 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...
 

Detailed Description

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.

Member Typedef Documentation

◆ Result

Definition at line 347 of file TargetLibraryInfo.h.

Constructor & Destructor Documentation

◆ TargetLibraryAnalysis() [1/2]

llvm::TargetLibraryAnalysis::TargetLibraryAnalysis ( )
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.

◆ TargetLibraryAnalysis() [2/2]

llvm::TargetLibraryAnalysis::TargetLibraryAnalysis ( TargetLibraryInfoImpl  PresetInfoImpl)
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().

Member Function Documentation

◆ run() [1/2]

TargetLibraryInfo TargetLibraryAnalysis::run ( Module M,
ModuleAnalysisManager  
)

◆ run() [2/2]

TargetLibraryInfo TargetLibraryAnalysis::run ( Function F,
FunctionAnalysisManager  
)

The documentation for this class was generated from the following files: