Lines Matching refs:CodeModel
327 static CodeModel::Model
329 std::optional<CodeModel::Model> CM, bool JIT) {
331 if (*CM != CodeModel::Small && *CM != CodeModel::Tiny &&
332 *CM != CodeModel::Large) {
335 } else if (*CM == CodeModel::Tiny && !TT.isOSBinFormatELF())
342 // We should set the CodeModel::Small for Windows ARM64 in JIT mode,
346 return CodeModel::Large;
347 return CodeModel::Small;
356 std::optional<CodeModel::Model> CM,
384 if ((getCodeModel() == CodeModel::Small ||
385 getCodeModel() == CodeModel::Kernel) &&
389 else if (getCodeModel() == CodeModel::Tiny && this->Options.TLSSize > 24)
394 // MachO/CodeModel::Large, which GlobalISel does not support.
398 !(getCodeModel() == CodeModel::Large && TT.isOSBinFormatMachO())) {
488 std::optional<CodeModel::Model> CM, CodeGenOptLevel OL, bool JIT)
496 std::optional<CodeModel::Model> CM, CodeGenOptLevel OL, bool JIT)