Home
last modified time | relevance | path

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

12

/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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/
DTargetMachine.cpp95 static TLSModel::Model getSelectedTLSModel(const GlobalValue *GV) { in getSelectedTLSModel()
101 return TLSModel::GeneralDynamic; in getSelectedTLSModel()
103 return TLSModel::LocalDynamic; in getSelectedTLSModel()
105 return TLSModel::InitialExec; in getSelectedTLSModel()
107 return TLSModel::LocalExec; in getSelectedTLSModel()
207 TLSModel::Model TargetMachine::getTLSModel(const GlobalValue *GV) const { in getTLSModel()
213 TLSModel::Model Model; in getTLSModel()
216 Model = TLSModel::LocalDynamic; in getTLSModel()
218 Model = TLSModel::GeneralDynamic; in getTLSModel()
221 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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64MCInstLower.cpp106 TLSModel::Model Model; in lowerSymbolOperandELF()
111 Model == TLSModel::LocalDynamic) in lowerSymbolOperandELF()
112 Model = TLSModel::GeneralDynamic; in lowerSymbolOperandELF()
120 Model = TLSModel::GeneralDynamic; in lowerSymbolOperandELF()
123 case TLSModel::InitialExec: in lowerSymbolOperandELF()
126 case TLSModel::LocalExec: in lowerSymbolOperandELF()
129 case TLSModel::LocalDynamic: in lowerSymbolOperandELF()
132 case TLSModel::GeneralDynamic: in lowerSymbolOperandELF()
/external/llvm/include/llvm/Support/
DCodeGen.h41 namespace TLSModel {
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DCodeGen.h41 namespace TLSModel {
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCCTRLoops.cpp242 TLSModel::Model Model = TM.getTLSModel(GV); in memAddrUsesCTR()
243 return Model == TLSModel::GeneralDynamic || Model == TLSModel::LocalDynamic; in memAddrUsesCTR()
/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()
/external/clang/include/clang/Frontend/
DCodeGenOptions.h64 enum TLSModel { enum
DCodeGenOptions.def233 ENUM_CODEGENOPT(DefaultTLSModel, TLSModel, 2, GeneralDynamicTLSModel)
/external/llvm/include/llvm/Target/
DTargetMachine.h182 TLSModel::Model getTLSModel(const GlobalValue *GV) const;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Target/
DTargetMachine.h193 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-7.0/llvm/lib/Target/Sparc/
DSparcISelLowering.cpp2066 TLSModel::Model model = getTargetMachine().getTLSModel(GV); in LowerGlobalTLSAddress()
2068 if (model == TLSModel::GeneralDynamic || model == TLSModel::LocalDynamic) { in LowerGlobalTLSAddress()
2069 unsigned HiTF = ((model == TLSModel::GeneralDynamic) in LowerGlobalTLSAddress()
2072 unsigned LoTF = ((model == TLSModel::GeneralDynamic) in LowerGlobalTLSAddress()
2075 unsigned addTF = ((model == TLSModel::GeneralDynamic) in LowerGlobalTLSAddress()
2078 unsigned callTF = ((model == TLSModel::GeneralDynamic) in LowerGlobalTLSAddress()
2113 if (model != TLSModel::LocalDynamic) in LowerGlobalTLSAddress()
2125 if (model == TLSModel::InitialExec) { in LowerGlobalTLSAddress()
2149 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;
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMipsISelLowering.cpp2012 TLSModel::Model model = getTargetMachine().getTLSModel(GV); in lowerGlobalTLSAddress()
2014 if (model == TLSModel::GeneralDynamic || model == TLSModel::LocalDynamic) { in lowerGlobalTLSAddress()
2016 unsigned Flag = (model == TLSModel::LocalDynamic) ? MipsII::MO_TLSLDM in lowerGlobalTLSAddress()
2041 if (model != TLSModel::LocalDynamic) in lowerGlobalTLSAddress()
2055 if (model == TLSModel::InitialExec) { in lowerGlobalTLSAddress()
2065 assert(model == TLSModel::LocalExec); in lowerGlobalTLSAddress()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMISelLowering.h650 TLSModel::Model model) const;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DTargetLoweringBase.cpp1543 auto TLSModel = UseTLS ? in getDefaultSafeStackPointerLocation() local
1551 UnsafeStackPtrVar, nullptr, TLSModel); in getDefaultSafeStackPointerLocation()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp1209 case TLSModel::GeneralDynamic: in LowerGlobalTLSAddress()
1210 case TLSModel::LocalDynamic: in LowerGlobalTLSAddress()
1212 case TLSModel::InitialExec: in LowerGlobalTLSAddress()
1214 case 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()

12