Home | History | Annotate | Download | only in Target

Lines Matching defs:Model

75 /// getRelocationModel - Returns the code generation relocation model. The
77 Reloc::Model TargetMachine::getRelocationModel() const {
83 /// getCodeModel - Returns the code model. The choices are small, kernel,
85 CodeModel::Model TargetMachine::getCodeModel() const {
91 /// Get the IR-specified TLS model for Var.
92 static TLSModel::Model getSelectedTLSModel(const GlobalValue *GV) {
106 llvm_unreachable("invalid TLS model");
109 TLSModel::Model TargetMachine::getTLSModel(const GlobalValue *GV) const {
118 TLSModel::Model Model;
121 Model = TLSModel::LocalDynamic;
123 Model = TLSModel::GeneralDynamic;
126 Model = TLSModel::LocalExec;
128 Model = TLSModel::InitialExec;
131 // If the user specified a more specific model, use that.
132 TLSModel::Model SelectedModel = getSelectedTLSModel(GV);
133 if (SelectedModel > Model)
136 return Model;