/external/llvm/lib/Target/ |
D | TargetMachine.cpp | 91 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/ |
D | AArch64MCInstLower.cpp | 86 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()
|
D | AArch64ISelLowering.cpp | 3515 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/ |
D | CodeGen.h | 41 namespace TLSModel {
|
/external/clang/include/clang/Frontend/ |
D | CodeGenOptions.h | 64 enum TLSModel { enum
|
D | CodeGenOptions.def | 233 ENUM_CODEGENOPT(DefaultTLSModel, TLSModel, 2, GeneralDynamicTLSModel)
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCCTRLoops.cpp | 218 TLSModel::Model Model = TM->getTLSModel(GV); in memAddrUsesCTR() 219 return Model == TLSModel::GeneralDynamic || Model == TLSModel::LocalDynamic; in memAddrUsesCTR()
|
D | PPCISelLowering.cpp | 2225 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/ |
D | TargetMachine.h | 182 TLSModel::Model getTLSModel(const GlobalValue *GV) const;
|
/external/llvm/lib/CodeGen/ |
D | SafeStack.cpp | 375 auto TLSModel = UseTLS ? in getOrCreateUnsafeStackPtr() local 383 UnsafeStackPtrVar, nullptr, TLSModel); in getOrCreateUnsafeStackPtr()
|
/external/llvm/lib/Target/Sparc/ |
D | SparcISelLowering.cpp | 2045 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/ |
D | TargetLowering.h | 65 namespace TLSModel { 73 TLSModel::Model getTLSModel(const GlobalValue *GV, Reloc::Model reloc);
|
/external/llvm/lib/Target/ARM/ |
D | ARMISelLowering.h | 541 TLSModel::Model model) const;
|
D | ARMISelLowering.cpp | 2713 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/ |
D | TargetLowering.cpp | 43 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/ |
D | MipsISelLowering.cpp | 1819 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/ |
D | HexagonISelLowering.cpp | 1686 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/ |
D | SystemZISelLowering.cpp | 2577 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/ |
D | X86ISelLowering.cpp | 7417 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/ |
D | CompilerInvocation.cpp | 770 Opts.setDefaultTLSModel(static_cast<CodeGenOptions::TLSModel>(Model)); in ParseCodeGenArgs()
|
/external/clang/include/clang/Basic/ |
D | Attr.td | 447 def TLSModel : InheritableAttr {
|
/external/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 13076 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/ |
D | CodeGenModule.cpp | 614 CodeGenOptions::TLSModel M) { in GetLLVMTLSModel()
|