LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::tlshoist::TLSCandidate Struct Reference

Keeps track of a TLS variable candidate and its users. More...

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

Public Member Functions

void addUser (Instruction *Inst, unsigned Idx)
 Add the user to the use list and update the cost.
 

Public Attributes

SmallVector< TLSUser, 8 > Users
 

Detailed Description

Keeps track of a TLS variable candidate and its users.

Definition at line 92 of file TLSVariableHoist.h.

Member Function Documentation

◆ addUser()

void llvm::tlshoist::TLSCandidate::addUser ( Instruction Inst,
unsigned  Idx 
)
inline

Add the user to the use list and update the cost.

Definition at line 96 of file TLSVariableHoist.h.

References Idx, and Users.

Member Data Documentation

◆ Users

SmallVector<TLSUser, 8> llvm::tlshoist::TLSCandidate::Users

Definition at line 93 of file TLSVariableHoist.h.

Referenced by addUser(), and oneUseOutsideLoop().


The documentation for this struct was generated from the following file: