Lines Matching refs:OpenCL
1343 // Set OpenCL Version.
1344 Opts.OpenCL = LangStd == LangStandard::lang_opencl || IK == IK_OpenCL;
1354 // OpenCL has some additional defaults.
1355 if (Opts.OpenCL) {
1367 // OpenCL and C++ both have bool, true, false keywords.
1368 Opts.Bool = Opts.OpenCL || Opts.CPlusPlus;
1370 // OpenCL has half keyword
1371 Opts.Half = Opts.OpenCL;
1437 << A->getAsString(Args) << "OpenCL";
1451 // -cl-std only applies for OpenCL language standards.
1656 Opts.CharIsSigned = Opts.OpenCL || !Args.hasArg(OPT_fno_signed_char);
1669 Opts.MathErrno = !Opts.OpenCL && Args.hasArg(OPT_fmath_errno);