/minix/external/bsd/llvm/dist/llvm/lib/Target/ |
H A D | TargetMachine.cpp | 89 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 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()
|
H A D | AArch64ISelLowering.cpp | 3106 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 D | CodeGen.h | 38 namespace TLSModel {
|
/minix/external/bsd/llvm/dist/clang/include/clang/Frontend/ |
H A D | CodeGenOptions.h | 79 enum TLSModel { enum
|
H A D | CodeGenOptions.def | 161 ENUM_CODEGENOPT(DefaultTLSModel, TLSModel, 2, GeneralDynamicTLSModel)
|
/minix/external/bsd/llvm/dist/llvm/lib/Target/PowerPC/ |
H A D | PPCCTRLoops.cpp | 208 TLSModel::Model Model = TM->getTLSModel(GV); in memAddrUsesCTR() 209 return Model == TLSModel::GeneralDynamic || Model == TLSModel::LocalDynamic; in memAddrUsesCTR()
|
H A D | PPCISelLowering.cpp | 1712 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 D | TargetMachine.h | 149 TLSModel::Model getTLSModel(const GlobalValue *GV) const;
|
/minix/external/bsd/llvm/dist/llvm/lib/Target/Sparc/ |
H A D | SparcISelLowering.cpp | 1874 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 D | ARMISelLowering.h | 471 TLSModel::Model model) const;
|
H A D | ARMISelLowering.cpp | 2471 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 D | MipsISelLowering.cpp | 1696 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 D | SystemZISelLowering.cpp | 1839 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 D | CompilerInvocation.cpp | 556 Opts.setDefaultTLSModel(static_cast<CodeGenOptions::TLSModel>(Model)); in ParseCodeGenArgs()
|
/minix/external/bsd/llvm/dist/clang/include/clang/Basic/ |
H A D | Attr.td | 393 def TLSModel : InheritableAttr {
|
/minix/external/bsd/llvm/dist/clang/lib/CodeGen/ |
H A D | CodeGenModule.cpp | 523 CodeGenOptions::TLSModel M) { in GetLLVMTLSModel()
|
/minix/external/bsd/llvm/dist/llvm/lib/Target/X86/ |
H A D | X86ISelLowering.cpp | 13465 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()
|