Home
last modified time | relevance | path

Searched refs:TLSModel (Results 1 – 23 of 23) sorted by relevance

/external/llvm/lib/Target/
DTargetMachine.cpp91 static TLSModel::Model getSelectedTLSModel(const GlobalValue *GV) { in getSelectedTLSModel()
97 return TLSModel::GeneralDynamic; in getSelectedTLSModel()
99 return TLSModel::LocalDynamic; in getSelectedTLSModel()
101 return TLSModel::InitialExec; in getSelectedTLSModel()
103 return TLSModel::LocalExec; in getSelectedTLSModel()
153 TLSModel::Model TargetMachine::getTLSModel(const GlobalValue *GV) const { in getTLSModel()
159 TLSModel::Model Model; in getTLSModel()
162 Model = TLSModel::LocalDynamic; in getTLSModel()
164 Model = TLSModel::GeneralDynamic; in getTLSModel()
167 Model = TLSModel::LocalExec; in getTLSModel()
[all …]
/external/llvm/lib/Target/AArch64/
DAArch64MCInstLower.cpp86 TLSModel::Model Model; in lowerSymbolOperandELF()
91 Model == TLSModel::LocalDynamic) in lowerSymbolOperandELF()
92 Model = TLSModel::GeneralDynamic; in lowerSymbolOperandELF()
100 Model = TLSModel::GeneralDynamic; in lowerSymbolOperandELF()
103 case TLSModel::InitialExec: in lowerSymbolOperandELF()
106 case TLSModel::LocalExec: in lowerSymbolOperandELF()
109 case TLSModel::LocalDynamic: in lowerSymbolOperandELF()
112 case TLSModel::GeneralDynamic: in lowerSymbolOperandELF()
DAArch64ISelLowering.cpp3515 TLSModel::Model Model = getTargetMachine().getTLSModel(GA->getGlobal()); in LowerELFGlobalTLSAddress()
3521 if (Model == TLSModel::LocalDynamic) in LowerELFGlobalTLSAddress()
3522 Model = TLSModel::GeneralDynamic; in LowerELFGlobalTLSAddress()
3532 if (Model == TLSModel::LocalExec) { in LowerELFGlobalTLSAddress()
3550 } else if (Model == TLSModel::InitialExec) { in LowerELFGlobalTLSAddress()
3553 } else if (Model == TLSModel::LocalDynamic) { in LowerELFGlobalTLSAddress()
3588 } else if (Model == TLSModel::GeneralDynamic) { in LowerELFGlobalTLSAddress()
/external/llvm/include/llvm/Support/
DCodeGen.h41 namespace TLSModel {
/external/clang/include/clang/Frontend/
DCodeGenOptions.h64 enum TLSModel { enum
DCodeGenOptions.def233 ENUM_CODEGENOPT(DefaultTLSModel, TLSModel, 2, GeneralDynamicTLSModel)
/external/llvm/lib/Target/PowerPC/
DPPCCTRLoops.cpp218 TLSModel::Model Model = TM->getTLSModel(GV); in memAddrUsesCTR()
219 return Model == TLSModel::GeneralDynamic || Model == TLSModel::LocalDynamic; in memAddrUsesCTR()
DPPCISelLowering.cpp2225 TLSModel::Model Model = getTargetMachine().getTLSModel(GV); in LowerGlobalTLSAddress()
2227 if (Model == TLSModel::LocalExec) { in LowerGlobalTLSAddress()
2238 if (Model == TLSModel::InitialExec) { in LowerGlobalTLSAddress()
2255 if (Model == TLSModel::GeneralDynamic) { in LowerGlobalTLSAddress()
2273 if (Model == TLSModel::LocalDynamic) { in LowerGlobalTLSAddress()
/external/llvm/include/llvm/Target/
DTargetMachine.h182 TLSModel::Model getTLSModel(const GlobalValue *GV) const;
/external/llvm/lib/CodeGen/
DSafeStack.cpp375 auto TLSModel = UseTLS ? in getOrCreateUnsafeStackPtr() local
383 UnsafeStackPtrVar, nullptr, TLSModel); in getOrCreateUnsafeStackPtr()
/external/llvm/lib/Target/Sparc/
DSparcISelLowering.cpp2045 TLSModel::Model model = getTargetMachine().getTLSModel(GV); in LowerGlobalTLSAddress()
2047 if (model == TLSModel::GeneralDynamic || model == TLSModel::LocalDynamic) { in LowerGlobalTLSAddress()
2048 unsigned HiTF = ((model == TLSModel::GeneralDynamic) in LowerGlobalTLSAddress()
2051 unsigned LoTF = ((model == TLSModel::GeneralDynamic) in LowerGlobalTLSAddress()
2054 unsigned addTF = ((model == TLSModel::GeneralDynamic) in LowerGlobalTLSAddress()
2057 unsigned callTF = ((model == TLSModel::GeneralDynamic) in LowerGlobalTLSAddress()
2092 if (model != TLSModel::LocalDynamic) in LowerGlobalTLSAddress()
2104 if (model == TLSModel::InitialExec) { in LowerGlobalTLSAddress()
2128 assert(model == TLSModel::LocalExec); in LowerGlobalTLSAddress()
/external/swiftshader/third_party/LLVM/include/llvm/Target/
DTargetLowering.h65 namespace TLSModel {
73 TLSModel::Model getTLSModel(const GlobalValue *GV, Reloc::Model reloc);
/external/llvm/lib/Target/ARM/
DARMISelLowering.h541 TLSModel::Model model) const;
DARMISelLowering.cpp2713 TLSModel::Model model) const { in LowerToTLSExecModels()
2722 if (model == TLSModel::InitialExec) { in LowerToTLSExecModels()
2749 assert(model == TLSModel::LocalExec); in LowerToTLSExecModels()
2779 TLSModel::Model model = getTargetMachine().getTLSModel(GA->getGlobal()); in LowerGlobalTLSAddress()
2782 case TLSModel::GeneralDynamic: in LowerGlobalTLSAddress()
2783 case TLSModel::LocalDynamic: in LowerGlobalTLSAddress()
2785 case TLSModel::InitialExec: in LowerGlobalTLSAddress()
2786 case TLSModel::LocalExec: in LowerGlobalTLSAddress()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp43 TLSModel::Model getTLSModel(const GlobalValue *GV, Reloc::Model reloc) { in getTLSModel()
52 return TLSModel::LocalDynamic; in getTLSModel()
54 return TLSModel::GeneralDynamic; in getTLSModel()
57 return TLSModel::LocalExec; in getTLSModel()
59 return TLSModel::InitialExec; in getTLSModel()
/external/llvm/lib/Target/Mips/
DMipsISelLowering.cpp1819 TLSModel::Model model = getTargetMachine().getTLSModel(GV); in lowerGlobalTLSAddress()
1821 if (model == TLSModel::GeneralDynamic || model == TLSModel::LocalDynamic) { in lowerGlobalTLSAddress()
1823 unsigned Flag = (model == TLSModel::LocalDynamic) ? MipsII::MO_TLSLDM in lowerGlobalTLSAddress()
1847 if (model != TLSModel::LocalDynamic) in lowerGlobalTLSAddress()
1861 if (model == TLSModel::InitialExec) { in lowerGlobalTLSAddress()
1872 assert(model == TLSModel::LocalExec); in lowerGlobalTLSAddress()
/external/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp1686 case TLSModel::GeneralDynamic: in LowerGlobalTLSAddress()
1687 case TLSModel::LocalDynamic: in LowerGlobalTLSAddress()
1689 case TLSModel::InitialExec: in LowerGlobalTLSAddress()
1691 case TLSModel::LocalExec: in LowerGlobalTLSAddress()
/external/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp2577 TLSModel::Model model = DAG.getTarget().getTLSModel(GV); in lowerGlobalTLSAddress()
2584 case TLSModel::GeneralDynamic: { in lowerGlobalTLSAddress()
2600 case TLSModel::LocalDynamic: { in lowerGlobalTLSAddress()
2634 case TLSModel::InitialExec: { in lowerGlobalTLSAddress()
2645 case TLSModel::LocalExec: { in lowerGlobalTLSAddress()
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86ISelLowering.cpp7417 const EVT PtrVT, TLSModel::Model model, in LowerToTLSExecModel()
7433 if (model == TLSModel::LocalExec) { in LowerToTLSExecModel()
7436 assert(model == TLSModel::InitialExec); in LowerToTLSExecModel()
7440 assert(model == TLSModel::InitialExec); in LowerToTLSExecModel()
7451 if (model == TLSModel::InitialExec) in LowerToTLSExecModel()
7475 TLSModel::Model model in LowerGlobalTLSAddress()
7479 case TLSModel::GeneralDynamic: in LowerGlobalTLSAddress()
7480 case TLSModel::LocalDynamic: // not implemented in LowerGlobalTLSAddress()
7485 case TLSModel::InitialExec: in LowerGlobalTLSAddress()
7486 case TLSModel::LocalExec: in LowerGlobalTLSAddress()
/external/clang/lib/Frontend/
DCompilerInvocation.cpp770 Opts.setDefaultTLSModel(static_cast<CodeGenOptions::TLSModel>(Model)); in ParseCodeGenArgs()
/external/clang/include/clang/Basic/
DAttr.td447 def TLSModel : InheritableAttr {
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp13076 const EVT PtrVT, TLSModel::Model model, in LowerToTLSExecModel()
13092 if (model == TLSModel::LocalExec) { in LowerToTLSExecModel()
13094 } else if (model == TLSModel::InitialExec) { in LowerToTLSExecModel()
13113 if (model == TLSModel::InitialExec) { in LowerToTLSExecModel()
13143 TLSModel::Model model = DAG.getTarget().getTLSModel(GV); in LowerGlobalTLSAddress()
13145 case TLSModel::GeneralDynamic: in LowerGlobalTLSAddress()
13149 case TLSModel::LocalDynamic: in LowerGlobalTLSAddress()
13152 case TLSModel::InitialExec: in LowerGlobalTLSAddress()
13153 case TLSModel::LocalExec: in LowerGlobalTLSAddress()
/external/clang/lib/CodeGen/
DCodeGenModule.cpp614 CodeGenOptions::TLSModel M) { in GetLLVMTLSModel()