Home
last modified time | relevance | path

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

/external/llvm/lib/Target/
DTargetMachine.cpp92 static TLSModel::Model getSelectedTLSModel(const GlobalValue *GV) { in getSelectedTLSModel()
98 return TLSModel::GeneralDynamic; in getSelectedTLSModel()
100 return TLSModel::LocalDynamic; in getSelectedTLSModel()
102 return TLSModel::InitialExec; in getSelectedTLSModel()
104 return TLSModel::LocalExec; in getSelectedTLSModel()
109 TLSModel::Model TargetMachine::getTLSModel(const GlobalValue *GV) const { in getTLSModel()
118 TLSModel::Model Model; in getTLSModel()
121 Model = TLSModel::LocalDynamic; in getTLSModel()
123 Model = TLSModel::GeneralDynamic; in getTLSModel()
126 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.cpp3139 TLSModel::Model Model = getTargetMachine().getTLSModel(GA->getGlobal()); in LowerELFGlobalTLSAddress()
3141 if (Model == TLSModel::LocalDynamic) in LowerELFGlobalTLSAddress()
3142 Model = TLSModel::GeneralDynamic; in LowerELFGlobalTLSAddress()
3152 if (Model == TLSModel::LocalExec) { in LowerELFGlobalTLSAddress()
3168 } else if (Model == TLSModel::InitialExec) { in LowerELFGlobalTLSAddress()
3171 } else if (Model == TLSModel::LocalDynamic) { in LowerELFGlobalTLSAddress()
3206 } else if (Model == TLSModel::GeneralDynamic) { in LowerELFGlobalTLSAddress()
/external/llvm/include/llvm/Support/
DCodeGen.h38 namespace TLSModel {
/external/clang/include/clang/Frontend/
DCodeGenOptions.h84 enum TLSModel { enum
DCodeGenOptions.def170 ENUM_CODEGENOPT(DefaultTLSModel, TLSModel, 2, GeneralDynamicTLSModel)
/external/llvm/lib/Target/PowerPC/
DPPCCTRLoops.cpp208 TLSModel::Model Model = TM->getTLSModel(GV); in memAddrUsesCTR()
209 return Model == TLSModel::GeneralDynamic || Model == TLSModel::LocalDynamic; in memAddrUsesCTR()
DPPCISelLowering.cpp1931 TLSModel::Model Model = getTargetMachine().getTLSModel(GV); in LowerGlobalTLSAddress()
1933 if (Model == TLSModel::LocalExec) { in LowerGlobalTLSAddress()
1944 if (Model == TLSModel::InitialExec) { in LowerGlobalTLSAddress()
1961 if (Model == TLSModel::GeneralDynamic) { in LowerGlobalTLSAddress()
1979 if (Model == TLSModel::LocalDynamic) { in LowerGlobalTLSAddress()
/external/llvm/include/llvm/Target/
DTargetMachine.h159 TLSModel::Model getTLSModel(const GlobalValue *GV) const;
/external/llvm/lib/Target/Sparc/
DSparcISelLowering.cpp1874 TLSModel::Model model = getTargetMachine().getTLSModel(GV); in LowerGlobalTLSAddress()
1876 if (model == TLSModel::GeneralDynamic || model == TLSModel::LocalDynamic) { in LowerGlobalTLSAddress()
1877 unsigned HiTF = ((model == TLSModel::GeneralDynamic) in LowerGlobalTLSAddress()
1880 unsigned LoTF = ((model == TLSModel::GeneralDynamic) in LowerGlobalTLSAddress()
1883 unsigned addTF = ((model == TLSModel::GeneralDynamic) in LowerGlobalTLSAddress()
1886 unsigned callTF = ((model == TLSModel::GeneralDynamic) in LowerGlobalTLSAddress()
1922 if (model != TLSModel::LocalDynamic) in LowerGlobalTLSAddress()
1934 if (model == TLSModel::InitialExec) { in LowerGlobalTLSAddress()
1958 assert(model == TLSModel::LocalExec); in LowerGlobalTLSAddress()
/external/llvm/lib/Target/ARM/
DARMISelLowering.h477 TLSModel::Model model) const;
DARMISelLowering.cpp2471 TLSModel::Model model) const { in LowerToTLSExecModels()
2480 if (model == TLSModel::InitialExec) { in LowerToTLSExecModels()
2505 assert(model == TLSModel::LocalExec); in LowerToTLSExecModels()
2527 TLSModel::Model model = getTargetMachine().getTLSModel(GA->getGlobal()); in LowerGlobalTLSAddress()
2530 case TLSModel::GeneralDynamic: in LowerGlobalTLSAddress()
2531 case TLSModel::LocalDynamic: in LowerGlobalTLSAddress()
2533 case TLSModel::InitialExec: in LowerGlobalTLSAddress()
2534 case TLSModel::LocalExec: in LowerGlobalTLSAddress()
/external/llvm/lib/Target/Mips/
DMipsISelLowering.cpp1699 TLSModel::Model model = getTargetMachine().getTLSModel(GV); in lowerGlobalTLSAddress()
1701 if (model == TLSModel::GeneralDynamic || model == TLSModel::LocalDynamic) { in lowerGlobalTLSAddress()
1703 unsigned Flag = (model == TLSModel::LocalDynamic) ? MipsII::MO_TLSLDM in lowerGlobalTLSAddress()
1727 if (model != TLSModel::LocalDynamic) in lowerGlobalTLSAddress()
1741 if (model == TLSModel::InitialExec) { in lowerGlobalTLSAddress()
1752 assert(model == TLSModel::LocalExec); in lowerGlobalTLSAddress()
/external/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp2005 TLSModel::Model model = DAG.getTarget().getTLSModel(GV); in lowerGlobalTLSAddress()
2025 case TLSModel::GeneralDynamic: { in lowerGlobalTLSAddress()
2040 case TLSModel::LocalDynamic: { in lowerGlobalTLSAddress()
2072 case TLSModel::InitialExec: { in lowerGlobalTLSAddress()
2083 case TLSModel::LocalExec: { in lowerGlobalTLSAddress()
/external/clang/lib/Frontend/
DCompilerInvocation.cpp581 Opts.setDefaultTLSModel(static_cast<CodeGenOptions::TLSModel>(Model)); in ParseCodeGenArgs()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp11146 const EVT PtrVT, TLSModel::Model model, in LowerToTLSExecModel()
11162 if (model == TLSModel::LocalExec) { in LowerToTLSExecModel()
11164 } else if (model == TLSModel::InitialExec) { in LowerToTLSExecModel()
11183 if (model == TLSModel::InitialExec) { in LowerToTLSExecModel()
11206 TLSModel::Model model = DAG.getTarget().getTLSModel(GV); in LowerGlobalTLSAddress()
11209 case TLSModel::GeneralDynamic: in LowerGlobalTLSAddress()
11213 case TLSModel::LocalDynamic: in LowerGlobalTLSAddress()
11216 case TLSModel::InitialExec: in LowerGlobalTLSAddress()
11217 case TLSModel::LocalExec: in LowerGlobalTLSAddress()
/external/clang/include/clang/Basic/
DAttr.td397 def TLSModel : InheritableAttr {
/external/clang/lib/CodeGen/
DCodeGenModule.cpp527 CodeGenOptions::TLSModel M) { in GetLLVMTLSModel()