Lines Matching refs:Model
74 /// getRelocationModel - Returns the code generation relocation model. The
76 Reloc::Model TargetMachine::getRelocationModel() const {
82 /// getCodeModel - Returns the code model. The choices are small, kernel,
84 CodeModel::Model TargetMachine::getCodeModel() const {
90 /// Get the IR-specified TLS model for Var.
91 static TLSModel::Model getSelectedTLSModel(const GlobalValue *GV) {
105 llvm_unreachable("invalid TLS model");
108 TLSModel::Model TargetMachine::getTLSModel(const GlobalValue *GV) const {
117 TLSModel::Model Model;
120 Model = TLSModel::LocalDynamic;
122 Model = TLSModel::GeneralDynamic;
125 Model = TLSModel::LocalExec;
127 Model = TLSModel::InitialExec;
130 // If the user specified a more specific model, use that.
131 TLSModel::Model SelectedModel = getSelectedTLSModel(GV);
132 if (SelectedModel > Model)
135 return Model;