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

/external/llvm/lib/Target/
H A DTargetMachine.cpp92 static TLSModel::Model getSelectedTLSModel(const GlobalValue *GV) {
98 return TLSModel::GeneralDynamic;
100 return TLSModel::LocalDynamic;
102 return TLSModel::InitialExec;
104 return TLSModel::LocalExec;
109 TLSModel::Model TargetMachine::getTLSModel(const GlobalValue *GV) const {
118 TLSModel::Model Model;
121 Model = TLSModel::LocalDynamic;
123 Model = TLSModel::GeneralDynamic;
126 Model = TLSModel
[all...]
/external/llvm/lib/Target/AArch64/
H A DAArch64MCInstLower.cpp86 TLSModel::Model Model;
91 Model == TLSModel::LocalDynamic)
92 Model = TLSModel::GeneralDynamic;
100 Model = TLSModel::GeneralDynamic;
103 case TLSModel::InitialExec:
106 case TLSModel::LocalExec:
109 case TLSModel::LocalDynamic:
112 case TLSModel::GeneralDynamic:
H A DAArch64ISelLowering.cpp3139 TLSModel::Model Model = getTargetMachine().getTLSModel(GA->getGlobal());
3141 if (Model == TLSModel::LocalDynamic)
3142 Model = TLSModel::GeneralDynamic;
3152 if (Model == TLSModel::LocalExec) {
3168 } else if (Model == TLSModel::InitialExec) {
3171 } else if (Model == TLSModel::LocalDynamic) {
3206 } else if (Model == TLSModel::GeneralDynamic) {
/external/llvm/include/llvm/Support/
H A DCodeGen.h38 namespace TLSModel { namespace in namespace:llvm
/external/clang/include/clang/Frontend/
H A DCodeGenOptions.h84 enum TLSModel { enum in class:clang::CodeGenOptions
/external/llvm/include/llvm/Target/
H A DTargetMachine.h159 TLSModel::Model getTLSModel(const GlobalValue *GV) const;
/external/llvm/lib/Target/PowerPC/
H A DPPCCTRLoops.cpp208 TLSModel::Model Model = TM->getTLSModel(GV);
209 return Model == TLSModel::GeneralDynamic || Model == TLSModel::LocalDynamic;
H A DPPCISelLowering.cpp1931 TLSModel::Model Model = getTargetMachine().getTLSModel(GV);
1933 if (Model == TLSModel::LocalExec) {
1944 if (Model == TLSModel::InitialExec) {
1961 if (Model == TLSModel::GeneralDynamic) {
1979 if (Model == TLSModel::LocalDynamic) {
/external/llvm/lib/Target/Sparc/
H A DSparcISelLowering.cpp1874 TLSModel::Model model = getTargetMachine().getTLSModel(GV);
1876 if (model == TLSModel::GeneralDynamic || model == TLSModel::LocalDynamic) {
1877 unsigned HiTF = ((model == TLSModel::GeneralDynamic)
1880 unsigned LoTF = ((model == TLSModel::GeneralDynamic)
1883 unsigned addTF = ((model == TLSModel::GeneralDynamic)
1886 unsigned callTF = ((model == TLSModel::GeneralDynamic)
1922 if (model != TLSModel::LocalDynamic)
1934 if (model == TLSModel::InitialExec) {
1958 assert(model == TLSModel
[all...]
/external/llvm/lib/Target/ARM/
H A DARMISelLowering.h477 TLSModel::Model model) const;
H A DARMISelLowering.cpp2471 TLSModel::Model model) const {
2480 if (model == TLSModel::InitialExec) {
2505 assert(model == TLSModel::LocalExec);
2527 TLSModel::Model model = getTargetMachine().getTLSModel(GA->getGlobal());
2530 case TLSModel::GeneralDynamic:
2531 case TLSModel::LocalDynamic:
2533 case TLSModel::InitialExec:
2534 case TLSModel::LocalExec:
/external/llvm/lib/Target/Mips/
H A DMipsISelLowering.cpp1699 TLSModel::Model model = getTargetMachine().getTLSModel(GV);
1701 if (model == TLSModel::GeneralDynamic || model == TLSModel::LocalDynamic) {
1703 unsigned Flag = (model == TLSModel::LocalDynamic) ? MipsII::MO_TLSLDM
1727 if (model != TLSModel::LocalDynamic)
1741 if (model == TLSModel::InitialExec) {
1752 assert(model == TLSModel::LocalExec);
/external/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp2005 TLSModel::Model model = DAG.getTarget().getTLSModel(GV);
2025 case TLSModel::GeneralDynamic: {
2040 case TLSModel::LocalDynamic: {
2072 case TLSModel::InitialExec: {
2083 case TLSModel::LocalExec: {
/external/clang/lib/CodeGen/
H A DCodeGenModule.cpp527 CodeGenOptions::TLSModel M) {
/external/clang/lib/Frontend/
H A DCompilerInvocation.cpp581 Opts.setDefaultTLSModel(static_cast<CodeGenOptions::TLSModel>(Model));
/external/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp11146 const EVT PtrVT, TLSModel::Model model,
11162 if (model == TLSModel::LocalExec) {
11164 } else if (model == TLSModel::InitialExec) {
11183 if (model == TLSModel::InitialExec) {
11206 TLSModel::Model model = DAG.getTarget().getTLSModel(GV);
11209 case TLSModel::GeneralDynamic:
11213 case TLSModel::LocalDynamic:
11216 case TLSModel::InitialExec:
11217 case TLSModel::LocalExec:

Completed in 735 milliseconds