Searched refs:TLSModel (Results 1 – 18 of 18) sorted by relevance
92 static TLSModel::Model getSelectedTLSModel(const GlobalValue *GV) { in getSelectedTLSModel()98 return TLSModel::GeneralDynamic; in getSelectedTLSModel()100 return TLSModel::LocalDynamic; in getSelectedTLSModel()102 return TLSModel::InitialExec; in getSelectedTLSModel()104 return TLSModel::LocalExec; in getSelectedTLSModel()109 TLSModel::Model TargetMachine::getTLSModel(const GlobalValue *GV) const { in getTLSModel()118 TLSModel::Model Model; in getTLSModel()121 Model = TLSModel::LocalDynamic; in getTLSModel()123 Model = TLSModel::GeneralDynamic; in getTLSModel()126 Model = TLSModel::LocalExec; in getTLSModel()[all …]
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()
3139 TLSModel::Model Model = getTargetMachine().getTLSModel(GA->getGlobal()); in LowerELFGlobalTLSAddress()3141 if (Model == TLSModel::LocalDynamic) in LowerELFGlobalTLSAddress()3142 Model = TLSModel::GeneralDynamic; in LowerELFGlobalTLSAddress()3152 if (Model == TLSModel::LocalExec) { in LowerELFGlobalTLSAddress()3168 } else if (Model == TLSModel::InitialExec) { in LowerELFGlobalTLSAddress()3171 } else if (Model == TLSModel::LocalDynamic) { in LowerELFGlobalTLSAddress()3206 } else if (Model == TLSModel::GeneralDynamic) { in LowerELFGlobalTLSAddress()
38 namespace TLSModel {
84 enum TLSModel { enum
170 ENUM_CODEGENOPT(DefaultTLSModel, TLSModel, 2, GeneralDynamicTLSModel)
208 TLSModel::Model Model = TM->getTLSModel(GV); in memAddrUsesCTR()209 return Model == TLSModel::GeneralDynamic || Model == TLSModel::LocalDynamic; in memAddrUsesCTR()
1931 TLSModel::Model Model = getTargetMachine().getTLSModel(GV); in LowerGlobalTLSAddress()1933 if (Model == TLSModel::LocalExec) { in LowerGlobalTLSAddress()1944 if (Model == TLSModel::InitialExec) { in LowerGlobalTLSAddress()1961 if (Model == TLSModel::GeneralDynamic) { in LowerGlobalTLSAddress()1979 if (Model == TLSModel::LocalDynamic) { in LowerGlobalTLSAddress()
159 TLSModel::Model getTLSModel(const GlobalValue *GV) const;
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()1922 if (model != TLSModel::LocalDynamic) in LowerGlobalTLSAddress()1934 if (model == TLSModel::InitialExec) { in LowerGlobalTLSAddress()1958 assert(model == TLSModel::LocalExec); in LowerGlobalTLSAddress()
477 TLSModel::Model model) const;
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()
1699 TLSModel::Model model = getTargetMachine().getTLSModel(GV); in lowerGlobalTLSAddress()1701 if (model == TLSModel::GeneralDynamic || model == TLSModel::LocalDynamic) { in lowerGlobalTLSAddress()1703 unsigned Flag = (model == TLSModel::LocalDynamic) ? MipsII::MO_TLSLDM in lowerGlobalTLSAddress()1727 if (model != TLSModel::LocalDynamic) in lowerGlobalTLSAddress()1741 if (model == TLSModel::InitialExec) { in lowerGlobalTLSAddress()1752 assert(model == TLSModel::LocalExec); in lowerGlobalTLSAddress()
2005 TLSModel::Model model = DAG.getTarget().getTLSModel(GV); in lowerGlobalTLSAddress()2025 case TLSModel::GeneralDynamic: { in lowerGlobalTLSAddress()2040 case TLSModel::LocalDynamic: { in lowerGlobalTLSAddress()2072 case TLSModel::InitialExec: { in lowerGlobalTLSAddress()2083 case TLSModel::LocalExec: { in lowerGlobalTLSAddress()
581 Opts.setDefaultTLSModel(static_cast<CodeGenOptions::TLSModel>(Model)); in ParseCodeGenArgs()
11146 const EVT PtrVT, TLSModel::Model model, in LowerToTLSExecModel()11162 if (model == TLSModel::LocalExec) { in LowerToTLSExecModel()11164 } else if (model == TLSModel::InitialExec) { in LowerToTLSExecModel()11183 if (model == TLSModel::InitialExec) { in LowerToTLSExecModel()11206 TLSModel::Model model = DAG.getTarget().getTLSModel(GV); in LowerGlobalTLSAddress()11209 case TLSModel::GeneralDynamic: in LowerGlobalTLSAddress()11213 case TLSModel::LocalDynamic: in LowerGlobalTLSAddress()11216 case TLSModel::InitialExec: in LowerGlobalTLSAddress()11217 case TLSModel::LocalExec: in LowerGlobalTLSAddress()
397 def TLSModel : InheritableAttr {
527 CodeGenOptions::TLSModel M) { in GetLLVMTLSModel()