LLVM  13.0.0git
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 BaselineInfoImpl)
 Construct a library analysis with baseline Module-level info. More...
 
TargetLibraryInfo run (const 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 421 of file TargetLibraryInfo.h.

Member Typedef Documentation

◆ Result

Definition at line 423 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 429 of file TargetLibraryInfo.h.

◆ TargetLibraryAnalysis() [2/2]

llvm::TargetLibraryAnalysis::TargetLibraryAnalysis ( TargetLibraryInfoImpl  BaselineInfoImpl)
inline

Construct a library analysis with baseline Module-level info.

This will be supplemented with Function-specific info in the Result.

Definition at line 434 of file TargetLibraryInfo.h.

Member Function Documentation

◆ run()

TargetLibraryInfo TargetLibraryAnalysis::run ( const Function F,
FunctionAnalysisManager  
)

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