Lines Matching refs:CodeModel
317 static CodeModel::Model
319 std::optional<CodeModel::Model> CM, bool JIT) {
321 if (*CM != CodeModel::Small && *CM != CodeModel::Tiny &&
322 *CM != CodeModel::Large) {
325 } else if (*CM == CodeModel::Tiny && !TT.isOSBinFormatELF())
332 // We should set the CodeModel::Small for Windows ARM64 in JIT mode,
336 return CodeModel::Large;
337 return CodeModel::Small;
346 std::optional<CodeModel::Model> CM,
374 if ((getCodeModel() == CodeModel::Small ||
375 getCodeModel() == CodeModel::Kernel) &&
379 else if (getCodeModel() == CodeModel::Tiny && this->Options.TLSSize > 24)
384 // MachO/CodeModel::Large, which GlobalISel does not support.
388 !(getCodeModel() == CodeModel::Large && TT.isOSBinFormatMachO())) {
478 std::optional<CodeModel::Model> CM, CodeGenOptLevel OL, bool JIT)
486 std::optional<CodeModel::Model> CM, CodeGenOptLevel OL, bool JIT)