Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:CodeModel

348   llvm::CodeModel::Model CM;
349 if (CodeGenOpts.CodeModel == "small") {
350 CM = llvm::CodeModel::Small;
351 } else if (CodeGenOpts.CodeModel == "kernel") {
352 CM = llvm::CodeModel::Kernel;
353 } else if (CodeGenOpts.CodeModel == "medium") {
354 CM = llvm::CodeModel::Medium;
355 } else if (CodeGenOpts.CodeModel == "large") {
356 CM = llvm::CodeModel::Large;
358 assert(CodeGenOpts.CodeModel.empty() && "Invalid code model!");
359 CM = llvm::CodeModel::Default;