Home
last modified time | relevance | path

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

/minix/external/bsd/llvm/dist/llvm/lib/Target/
H A DTargetMachine.cpp89 static TLSModel::Model getSelectedTLSModel(const GlobalValue *GV) { in getSelectedTLSModel()
95 return TLSModel::GeneralDynamic; in getSelectedTLSModel()
97 return TLSModel::LocalDynamic; in getSelectedTLSModel()
99 return TLSModel::InitialExec; in getSelectedTLSModel()
101 return TLSModel::LocalExec; in getSelectedTLSModel()
115 TLSModel::Model Model; in getTLSModel()
118 Model = TLSModel::LocalDynamic; in getTLSModel()
120 Model = TLSModel::GeneralDynamic; in getTLSModel()
123 Model = TLSModel::LocalExec; in getTLSModel()
125 Model = TLSModel::InitialExec; in getTLSModel()
[all …]
/minix/external/bsd/llvm/dist/llvm/lib/Target/AArch64/
H A 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()
H A DAArch64ISelLowering.cpp3106 TLSModel::Model Model = getTargetMachine().getTLSModel(GA->getGlobal()); in LowerELFGlobalTLSAddress()
3108 if (Model == TLSModel::LocalDynamic) in LowerELFGlobalTLSAddress()
3109 Model = TLSModel::GeneralDynamic; in LowerELFGlobalTLSAddress()
3119 if (Model == TLSModel::LocalExec) { in LowerELFGlobalTLSAddress()
3135 } else if (Model == TLSModel::InitialExec) { in LowerELFGlobalTLSAddress()
3138 } else if (Model == TLSModel::LocalDynamic) { in LowerELFGlobalTLSAddress()
3173 } else if (Model == TLSModel::GeneralDynamic) { in LowerELFGlobalTLSAddress()
/minix/external/bsd/llvm/dist/llvm/include/llvm/Support/
H A DCodeGen.h38 namespace TLSModel {
/minix/external/bsd/llvm/dist/clang/include/clang/Frontend/
H A DCodeGenOptions.h79 enum TLSModel { enum
H A DCodeGenOptions.def161 ENUM_CODEGENOPT(DefaultTLSModel, TLSModel, 2, GeneralDynamicTLSModel)
/minix/external/bsd/llvm/dist/llvm/lib/Target/PowerPC/
H A DPPCCTRLoops.cpp208 TLSModel::Model Model = TM->getTLSModel(GV); in memAddrUsesCTR()
209 return Model == TLSModel::GeneralDynamic || Model == TLSModel::LocalDynamic; in memAddrUsesCTR()
H A DPPCISelLowering.cpp1712 TLSModel::Model Model = getTargetMachine().getTLSModel(GV); in LowerGlobalTLSAddress()
1714 if (Model == TLSModel::LocalExec) { in LowerGlobalTLSAddress()
1725 if (Model == TLSModel::InitialExec) { in LowerGlobalTLSAddress()
1741 if (Model == TLSModel::GeneralDynamic) { in LowerGlobalTLSAddress()
1761 if (Model == TLSModel::LocalDynamic) { in LowerGlobalTLSAddress()
/minix/external/bsd/llvm/dist/llvm/include/llvm/Target/
H A DTargetMachine.h149 TLSModel::Model getTLSModel(const GlobalValue *GV) const;
/minix/external/bsd/llvm/dist/llvm/lib/Target/Sparc/
H A 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()
1924 if (model != TLSModel::LocalDynamic) in LowerGlobalTLSAddress()
1936 if (model == TLSModel::InitialExec) { in LowerGlobalTLSAddress()
1960 assert(model == TLSModel::LocalExec); in LowerGlobalTLSAddress()
/minix/external/bsd/llvm/dist/llvm/lib/Target/ARM/
H A DARMISelLowering.h471 TLSModel::Model model) const;
H A 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()
/minix/external/bsd/llvm/dist/llvm/lib/Target/Mips/
H A DMipsISelLowering.cpp1696 TLSModel::Model model = getTargetMachine().getTLSModel(GV); in lowerGlobalTLSAddress()
1698 if (model == TLSModel::GeneralDynamic || model == TLSModel::LocalDynamic) { in lowerGlobalTLSAddress()
1700 unsigned Flag = (model == TLSModel::LocalDynamic) ? MipsII::MO_TLSLDM in lowerGlobalTLSAddress()
1724 if (model != TLSModel::LocalDynamic) in lowerGlobalTLSAddress()
1738 if (model == TLSModel::InitialExec) { in lowerGlobalTLSAddress()
1749 assert(model == TLSModel::LocalExec); in lowerGlobalTLSAddress()
/minix/external/bsd/llvm/dist/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp1839 TLSModel::Model model = DAG.getTarget().getTLSModel(GV); in lowerGlobalTLSAddress()
1841 if (model != TLSModel::LocalExec) in lowerGlobalTLSAddress()
/minix/external/bsd/llvm/dist/clang/lib/Frontend/
H A DCompilerInvocation.cpp556 Opts.setDefaultTLSModel(static_cast<CodeGenOptions::TLSModel>(Model)); in ParseCodeGenArgs()
/minix/external/bsd/llvm/dist/clang/include/clang/Basic/
H A DAttr.td393 def TLSModel : InheritableAttr {
/minix/external/bsd/llvm/dist/clang/lib/CodeGen/
H A DCodeGenModule.cpp523 CodeGenOptions::TLSModel M) { in GetLLVMTLSModel()
/minix/external/bsd/llvm/dist/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp13465 const EVT PtrVT, TLSModel::Model model, in LowerToTLSExecModel()
13481 if (model == TLSModel::LocalExec) { in LowerToTLSExecModel()
13483 } else if (model == TLSModel::InitialExec) { in LowerToTLSExecModel()
13502 if (model == TLSModel::InitialExec) { in LowerToTLSExecModel()
13525 TLSModel::Model model = DAG.getTarget().getTLSModel(GV); in LowerGlobalTLSAddress()
13528 case TLSModel::GeneralDynamic: in LowerGlobalTLSAddress()
13532 case TLSModel::LocalDynamic: in LowerGlobalTLSAddress()
13535 case TLSModel::InitialExec: in LowerGlobalTLSAddress()
13536 case TLSModel::LocalExec: in LowerGlobalTLSAddress()