LLVM 20.0.0git
Public Member Functions | List of all members
llvm::TLSVariableHoistPass Class Reference

#include "llvm/Transforms/Scalar/TLSVariableHoist.h"

Inheritance diagram for llvm::TLSVariableHoistPass:
Inheritance graph
[legend]

Public Member Functions

PreservedAnalyses run (Function &F, FunctionAnalysisManager &AM)
 
bool runImpl (Function &F, DominatorTree &DT, LoopInfo &LI)
 Optimize expensive TLS variables in the given function.
 
- Public Member Functions inherited from llvm::PassInfoMixin< TLSVariableHoistPass >
void printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName)
 

Additional Inherited Members

- Static Public Member Functions inherited from llvm::PassInfoMixin< TLSVariableHoistPass >
static StringRef name ()
 Gets the name of the pass we are mixed into.
 

Detailed Description

Definition at line 103 of file TLSVariableHoist.h.

Member Function Documentation

◆ run()

PreservedAnalyses TLSVariableHoistPass::run ( Function F,
FunctionAnalysisManager AM 
)

◆ runImpl()

bool TLSVariableHoistPass::runImpl ( Function F,
DominatorTree DT,
LoopInfo LI 
)

Optimize expensive TLS variables in the given function.

Definition at line 261 of file TLSVariableHoist.cpp.

References assert(), llvm::Function::getAttributes(), llvm::AttributeList::hasFnAttr(), llvm::Function::hasOptNone(), and TLSLoadHoist.

Referenced by run().


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