Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/
DTargetMachine.cpp77 static TLSModel::Model getSelectedTLSModel(const GlobalValue *GV) { in getSelectedTLSModel()
83 return TLSModel::GeneralDynamic; in getSelectedTLSModel()
85 return TLSModel::LocalDynamic; in getSelectedTLSModel()
87 return TLSModel::InitialExec; in getSelectedTLSModel()
89 return TLSModel::LocalExec; in getSelectedTLSModel()
210 TLSModel::Model TargetMachine::getTLSModel(const GlobalValue *GV) const { in getTLSModel()
216 TLSModel::Model Model; in getTLSModel()
219 Model = TLSModel::LocalDynamic; in getTLSModel()
221 Model = TLSModel::GeneralDynamic; in getTLSModel()
224 Model = TLSModel::LocalExec; in getTLSModel()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64MCInstLower.cpp121 TLSModel::Model Model; in lowerSymbolOperandELF()
126 Model == TLSModel::LocalDynamic) in lowerSymbolOperandELF()
127 Model = TLSModel::GeneralDynamic; in lowerSymbolOperandELF()
135 Model = TLSModel::GeneralDynamic; in lowerSymbolOperandELF()
138 case TLSModel::InitialExec: in lowerSymbolOperandELF()
141 case TLSModel::LocalExec: in lowerSymbolOperandELF()
144 case TLSModel::LocalDynamic: in lowerSymbolOperandELF()
147 case TLSModel::GeneralDynamic: in lowerSymbolOperandELF()
DAArch64ISelLowering.cpp4791 TLSModel::Model Model = getTargetMachine().getTLSModel(GA->getGlobal()); in LowerELFGlobalTLSAddress()
4794 if (Model == TLSModel::LocalDynamic) in LowerELFGlobalTLSAddress()
4795 Model = TLSModel::GeneralDynamic; in LowerELFGlobalTLSAddress()
4799 Model != TLSModel::LocalExec) in LowerELFGlobalTLSAddress()
4816 if (Model == TLSModel::LocalExec) { in LowerELFGlobalTLSAddress()
4818 } else if (Model == TLSModel::InitialExec) { in LowerELFGlobalTLSAddress()
4821 } else if (Model == TLSModel::LocalDynamic) { in LowerELFGlobalTLSAddress()
4856 } else if (Model == TLSModel::GeneralDynamic) { in LowerELFGlobalTLSAddress()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DCodeGen.h41 namespace TLSModel {
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCTargetTransformInfo.cpp251 TLSModel::Model Model = TM.getTLSModel(GV); in mightUseCTR()
252 return Model == TLSModel::GeneralDynamic || in mightUseCTR()
253 Model == TLSModel::LocalDynamic; in mightUseCTR()
DPPCISelLowering.cpp2900 TLSModel::Model Model = TM.getTLSModel(GV); in LowerGlobalTLSAddress()
2902 if (Model == TLSModel::LocalExec) { in LowerGlobalTLSAddress()
2914 if (Model == TLSModel::InitialExec) { in LowerGlobalTLSAddress()
2937 if (Model == TLSModel::GeneralDynamic) { in LowerGlobalTLSAddress()
2955 if (Model == TLSModel::LocalDynamic) { in LowerGlobalTLSAddress()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Target/
DTargetMachine.h219 TLSModel::Model getTLSModel(const GlobalValue *GV) const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/
DSparcISelLowering.cpp2026 TLSModel::Model model = getTargetMachine().getTLSModel(GV); in LowerGlobalTLSAddress()
2028 if (model == TLSModel::GeneralDynamic || model == TLSModel::LocalDynamic) { in LowerGlobalTLSAddress()
2029 unsigned HiTF = ((model == TLSModel::GeneralDynamic) in LowerGlobalTLSAddress()
2032 unsigned LoTF = ((model == TLSModel::GeneralDynamic) in LowerGlobalTLSAddress()
2035 unsigned addTF = ((model == TLSModel::GeneralDynamic) in LowerGlobalTLSAddress()
2038 unsigned callTF = ((model == TLSModel::GeneralDynamic) in LowerGlobalTLSAddress()
2073 if (model != TLSModel::LocalDynamic) in LowerGlobalTLSAddress()
2085 if (model == TLSModel::InitialExec) { in LowerGlobalTLSAddress()
2109 assert(model == TLSModel::LocalExec); in LowerGlobalTLSAddress()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVISelLowering.cpp599 TLSModel::Model Model = getTargetMachine().getTLSModel(N->getGlobal()); in lowerGlobalTLSAddress()
603 case TLSModel::LocalExec: in lowerGlobalTLSAddress()
606 case TLSModel::InitialExec: in lowerGlobalTLSAddress()
609 case TLSModel::LocalDynamic: in lowerGlobalTLSAddress()
610 case TLSModel::GeneralDynamic: in lowerGlobalTLSAddress()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsISelLowering.cpp2144 TLSModel::Model model = getTargetMachine().getTLSModel(GV); in lowerGlobalTLSAddress()
2146 if (model == TLSModel::GeneralDynamic || model == TLSModel::LocalDynamic) { in lowerGlobalTLSAddress()
2148 unsigned Flag = (model == TLSModel::LocalDynamic) ? MipsII::MO_TLSLDM in lowerGlobalTLSAddress()
2173 if (model != TLSModel::LocalDynamic) in lowerGlobalTLSAddress()
2187 if (model == TLSModel::InitialExec) { in lowerGlobalTLSAddress()
2197 assert(model == TLSModel::LocalExec); in lowerGlobalTLSAddress()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMISelLowering.h699 TLSModel::Model model) const;
DARMISelLowering.cpp3254 TLSModel::Model model) const { in LowerToTLSExecModels()
3263 if (model == TLSModel::InitialExec) { in LowerToTLSExecModels()
3288 assert(model == TLSModel::LocalExec); in LowerToTLSExecModels()
3317 TLSModel::Model model = getTargetMachine().getTLSModel(GA->getGlobal()); in LowerGlobalTLSAddress()
3320 case TLSModel::GeneralDynamic: in LowerGlobalTLSAddress()
3321 case TLSModel::LocalDynamic: in LowerGlobalTLSAddress()
3323 case TLSModel::InitialExec: in LowerGlobalTLSAddress()
3324 case TLSModel::LocalExec: in LowerGlobalTLSAddress()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DTargetLoweringBase.cpp1693 auto TLSModel = UseTLS ? in getDefaultSafeStackPointerLocation() local
1701 UnsafeStackPtrVar, nullptr, TLSModel); in getDefaultSafeStackPointerLocation()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp1271 case TLSModel::GeneralDynamic: in LowerGlobalTLSAddress()
1272 case TLSModel::LocalDynamic: in LowerGlobalTLSAddress()
1274 case TLSModel::InitialExec: in LowerGlobalTLSAddress()
1276 case TLSModel::LocalExec: in LowerGlobalTLSAddress()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp3090 TLSModel::Model model = DAG.getTarget().getTLSModel(GV); in lowerGlobalTLSAddress()
3101 case TLSModel::GeneralDynamic: { in lowerGlobalTLSAddress()
3116 case TLSModel::LocalDynamic: { in lowerGlobalTLSAddress()
3148 case TLSModel::InitialExec: { in lowerGlobalTLSAddress()
3159 case TLSModel::LocalExec: { in lowerGlobalTLSAddress()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp18280 const EVT PtrVT, TLSModel::Model model, in LowerToTLSExecModel()
18296 if (model == TLSModel::LocalExec) { in LowerToTLSExecModel()
18298 } else if (model == TLSModel::InitialExec) { in LowerToTLSExecModel()
18317 if (model == TLSModel::InitialExec) { in LowerToTLSExecModel()
18346 TLSModel::Model model = DAG.getTarget().getTLSModel(GV); in LowerGlobalTLSAddress()
18348 case TLSModel::GeneralDynamic: in LowerGlobalTLSAddress()
18352 case TLSModel::LocalDynamic: in LowerGlobalTLSAddress()
18355 case TLSModel::InitialExec: in LowerGlobalTLSAddress()
18356 case TLSModel::LocalExec: in LowerGlobalTLSAddress()