LLVM 20.0.0git
Macros | Functions
LowerEmuTLS.cpp File Reference
#include "llvm/CodeGen/LowerEmuTLS.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/Analysis/GlobalsModRef.h"
#include "llvm/Analysis/ModuleSummaryAnalysis.h"
#include "llvm/Analysis/StackSafetyAnalysis.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/CodeGen/TargetPassConfig.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/Module.h"
#include "llvm/InitializePasses.h"
#include "llvm/Pass.h"
#include "llvm/Target/TargetMachine.h"

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "lower-emutls"
 

Functions

static bool addEmuTlsVar (Module &M, const GlobalVariable *GV)
 
static void copyLinkageVisibility (Module &M, const GlobalVariable *from, GlobalVariable *to)
 
 INITIALIZE_PASS (LowerEmuTLS, DEBUG_TYPE, "Add __emutls_[vt]. variables for emultated TLS model", false, false) ModulePass *llvm
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "lower-emutls"

Definition at line 31 of file LowerEmuTLS.cpp.

Function Documentation

◆ addEmuTlsVar()

bool addEmuTlsVar ( Module M,
const GlobalVariable GV 
)
static

◆ copyLinkageVisibility()

static void copyLinkageVisibility ( Module M,
const GlobalVariable from,
GlobalVariable to 
)
static

◆ INITIALIZE_PASS()

INITIALIZE_PASS ( LowerEmuTLS  ,
DEBUG_TYPE  ,
"Add __emutls_. variables for emultated TLS model"  [vt],
false  ,
false   
)

Definition at line 80 of file LowerEmuTLS.cpp.