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
Collaboration diagram for llvm::TargetLibraryAnalysis:
Collaboration graph

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 438 of file TargetLibraryInfo.h.

Member Typedef Documentation

◆ Result

Definition at line 440 of file TargetLibraryInfo.h.

Constructor & Destructor Documentation

◆ TargetLibraryAnalysis() [1/2]

llvm::TargetLibraryAnalysis::TargetLibraryAnalysis ( )

Default construct the library analysis.

This will use the module's triple to construct the library info for that module.

Definition at line 446 of file TargetLibraryInfo.h.

◆ TargetLibraryAnalysis() [2/2]

llvm::TargetLibraryAnalysis::TargetLibraryAnalysis ( TargetLibraryInfoImpl  BaselineInfoImpl)

Construct a library analysis with baseline Module-level info.

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

Definition at line 451 of file TargetLibraryInfo.h.

Member Function Documentation

◆ run()

TargetLibraryInfo TargetLibraryAnalysis::run ( const Function F,

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