Searched refs:TLSModel (Results 1 - 14 of 14) sorted by relevance

/external/llvm/lib/Target/
H A DTargetMachine.cpp106 static TLSModel::Model getSelectedTLSModel(const GlobalVariable *Var) {
112 return TLSModel::GeneralDynamic;
114 return TLSModel::LocalDynamic;
116 return TLSModel::InitialExec;
118 return TLSModel::LocalExec;
123 TLSModel::Model TargetMachine::getTLSModel(const GlobalValue *GV) const {
138 TLSModel::Model Model;
141 Model = TLSModel::LocalDynamic;
143 Model = TLSModel::GeneralDynamic;
146 Model = TLSModel
[all...]
/external/llvm/include/llvm/Support/
H A DCodeGen.h34 namespace TLSModel { namespace in namespace:llvm
/external/llvm/lib/Target/AArch64/
H A DAArch64AsmPrinter.cpp95 case TLSModel::GeneralDynamic:
98 case TLSModel::LocalDynamic:
101 case TLSModel::InitialExec:
104 case TLSModel::LocalExec:
H A DAArch64ISelLowering.cpp2083 TLSModel::Model Model = getTargetMachine().getTLSModel(GA->getGlobal());
2092 if (Model == TLSModel::InitialExec) {
2101 } else if (Model == TLSModel::LocalExec) {
2112 } else if (Model == TLSModel::GeneralDynamic) {
2125 } else if (Model == TLSModel::LocalDynamic) {
/external/clang/include/clang/Frontend/
H A DCodeGenOptions.h61 enum TLSModel { enum in class:clang::CodeGenOptions
/external/llvm/include/llvm/Target/
H A DTargetMachine.h205 TLSModel::Model getTLSModel(const GlobalValue *GV) const;
/external/llvm/lib/Target/ARM/
H A DARMISelLowering.h447 TLSModel::Model model) const;
H A DARMISelLowering.cpp2327 TLSModel::Model model) const {
2336 if (model == TLSModel::InitialExec) {
2361 assert(model == TLSModel::LocalExec);
2383 TLSModel::Model model = getTargetMachine().getTLSModel(GA->getGlobal());
2386 case TLSModel::GeneralDynamic:
2387 case TLSModel::LocalDynamic:
2389 case TLSModel::InitialExec:
2390 case TLSModel::LocalExec:
/external/llvm/lib/Target/Mips/
H A DMipsISelLowering.cpp1543 TLSModel::Model model = getTargetMachine().getTLSModel(GV);
1545 if (model == TLSModel::GeneralDynamic || model == TLSModel::LocalDynamic) {
1547 unsigned Flag = (model == TLSModel::LocalDynamic) ? MipsII::MO_TLSLDM
1573 if (model != TLSModel::LocalDynamic)
1587 if (model == TLSModel::InitialExec) {
1598 assert(model == TLSModel::LocalExec);
/external/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp1187 TLSModel::Model model = TM.getTLSModel(GV);
1189 if (model != TLSModel::LocalExec)
/external/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp1395 TLSModel::Model Model = getTargetMachine().getTLSModel(GV);
1397 if (Model == TLSModel::LocalExec) {
1411 if (Model == TLSModel::InitialExec) {
1423 if (Model == TLSModel::GeneralDynamic) {
1446 if (Model == TLSModel::LocalDynamic) {
/external/clang/lib/Frontend/
H A DCompilerInvocation.cpp480 Opts.setDefaultTLSModel(static_cast<CodeGenOptions::TLSModel>(Model));
/external/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp8103 const EVT PtrVT, TLSModel::Model model,
8120 if (model == TLSModel::LocalExec) {
8122 } else if (model == TLSModel::InitialExec) {
8141 if (model == TLSModel::InitialExec) {
8165 TLSModel::Model model = getTargetMachine().getTLSModel(GV);
8168 case TLSModel::GeneralDynamic:
8172 case TLSModel::LocalDynamic:
8175 case TLSModel::InitialExec:
8176 case TLSModel::LocalExec:
/external/clang/lib/CodeGen/
H A DCodeGenModule.cpp319 CodeGenOptions::TLSModel M) {

Completed in 461 milliseconds