LLVM 22.0.0git
|
#include "llvm/Target/TargetMachine.h"
#include "llvm/Analysis/TargetTransformInfo.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/GlobalValue.h"
#include "llvm/IR/GlobalVariable.h"
#include "llvm/IR/Mangler.h"
#include "llvm/IR/Module.h"
#include "llvm/MC/MCAsmInfo.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCInstrInfo.h"
#include "llvm/MC/MCRegisterInfo.h"
#include "llvm/MC/MCStreamer.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/Support/CodeGen.h"
#include "llvm/Target/TargetLoweringObjectFile.h"
Go to the source code of this file.
Macros | |
#define | RESET_OPTION(X, Y) |
Functions | |
static TLSModel::Model | getSelectedTLSModel (const GlobalValue *GV) |
Get the IR-specified TLS model for Var. |
Variables | |
cl::opt< bool > | NoKernelInfoEndLTO ("no-kernel-info-end-lto", cl::desc("remove the kernel-info pass at the end of the full LTO pipeline"), cl::init(false), cl::Hidden) |
Referenced by llvm::TargetMachine::resetTargetOptions().
|
static |
Get the IR-specified TLS model for Var.
Definition at line 186 of file TargetMachine.cpp.
References llvm::TLSModel::GeneralDynamic, llvm::GlobalValue::GeneralDynamicTLSModel, llvm::GlobalValue::getThreadLocalMode(), llvm::TLSModel::InitialExec, llvm::GlobalValue::InitialExecTLSModel, llvm_unreachable, llvm::TLSModel::LocalDynamic, llvm::GlobalValue::LocalDynamicTLSModel, llvm::TLSModel::LocalExec, llvm::GlobalValue::LocalExecTLSModel, and llvm::GlobalValue::NotThreadLocal.
Referenced by llvm::TargetMachine::getTLSModel().
cl::opt< bool > NoKernelInfoEndLTO("no-kernel-info-end-lto", cl::desc("remove the kernel-info pass at the end of the full LTO pipeline"), cl::init(false), cl::Hidden) | ( | "no-kernel-info-end-lto" | , |
cl::desc("remove the kernel-info pass at the end of the full LTO pipeline") | , | ||
cl::init(false) | , | ||
cl::Hidden | ) |