• Home
  • Raw
  • Download

Lines Matching refs:LangStd

1464 bool isOpenCL(LangStandard::Kind LangStd) {  in isOpenCL()  argument
1465 return LangStd == LangStandard::lang_opencl || in isOpenCL()
1466 LangStd == LangStandard::lang_opencl11 || in isOpenCL()
1467 LangStd == LangStandard::lang_opencl12 || in isOpenCL()
1468 LangStd == LangStandard::lang_opencl20; in isOpenCL()
1474 LangStandard::Kind LangStd) { in setLangDefaults() argument
1487 if (LangStd == LangStandard::lang_unspecified) { in setLangDefaults()
1495 LangStd = LangStandard::lang_opencl; in setLangDefaults()
1499 LangStd = LangStandard::lang_cuda; in setLangDefaults()
1508 LangStd = LangStandard::lang_gnu99; in setLangDefaults()
1510 LangStd = LangStandard::lang_gnu11; in setLangDefaults()
1516 LangStd = LangStandard::lang_gnucxx98; in setLangDefaults()
1519 LangStd = LangStandard::lang_c99; in setLangDefaults()
1524 const LangStandard &Std = LangStandard::getLangStandardForKind(LangStd); in setLangDefaults()
1539 Opts.OpenCL = isOpenCL(LangStd) || IK == IK_OpenCL; in setLangDefaults()
1540 if (LangStd == LangStandard::lang_opencl) in setLangDefaults()
1542 else if (LangStd == LangStandard::lang_opencl11) in setLangDefaults()
1544 else if (LangStd == LangStandard::lang_opencl12) in setLangDefaults()
1546 else if (LangStd == LangStandard::lang_opencl20) in setLangDefaults()
1565 LangStd == LangStandard::lang_cuda; in setLangDefaults()
1611 LangStandard::Kind LangStd = LangStandard::lang_unspecified; in ParseLangArgs() local
1613 LangStd = llvm::StringSwitch<LangStandard::Kind>(A->getValue()) in ParseLangArgs()
1620 if (LangStd == LangStandard::lang_unspecified) in ParseLangArgs()
1626 const LangStandard &Std = LangStandard::getLangStandardForKind(LangStd); in ParseLangArgs()
1645 if (!isOpenCL(LangStd)) in ParseLangArgs()
1677 LangStd = OpenCLLangStd; in ParseLangArgs()
1683 CompilerInvocation::setLangDefaults(Opts, IK, T, PPOpts, LangStd); in ParseLangArgs()