Home
last modified time | relevance | path

Searched refs:OpenCLVersion (Results 1 – 9 of 9) sorted by relevance

/llvm-project-15.0.7/clang/lib/Basic/
H A DLangOptions.cpp49 const int Ver = OpenCLCPlusPlus ? OpenCLCPlusPlusVersion : OpenCLVersion; in getOpenCLVersionTuple()
57 return OpenCLVersion; in getOpenCLCompatibleVersion()
126 Opts.OpenCLVersion = 100; in setLangDefaults()
128 Opts.OpenCLVersion = 110; in setLangDefaults()
130 Opts.OpenCLVersion = 120; in setLangDefaults()
132 Opts.OpenCLVersion = 200; in setLangDefaults()
134 Opts.OpenCLVersion = 300; in setLangDefaults()
187 Opts.OpenCLVersion = 200; in setLangDefaults()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DOpenCLOptions.h40 static inline OpenCLVersionID encodeOpenCLVersion(unsigned OpenCLVersion) { in encodeOpenCLVersion() argument
41 switch (OpenCLVersion) { in encodeOpenCLVersion()
H A DLangOptions.def230 LANGOPT(OpenCLVersion , 32, 0, "OpenCL C version")
/llvm-project-15.0.7/clang/lib/Frontend/
H A DInitPreprocessor.cpp525 switch (LangOpts.OpenCLVersion) { in InitializeStandardPredefinedMacros()
H A DCompilerInvocation.cpp3406 if (Opts.Blocks && !(Opts.OpenCL && Opts.OpenCLVersion == 200)) in GenerateLangArgs()
3786 && Opts.OpenCLVersion == 200); in ParseLangArgs()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGCall.cpp2179 if (getLangOpts().OpenCLVersion <= 120) { in ConstructAttributeList()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaInit.cpp8143 if (S.getLangOpts().OpenCLVersion >= 200 && in Perform()
H A DSemaExpr.cpp13348 Context.getLangOpts().OpenCLVersion < 120) { in CheckLogicalOperands()
15665 Context.getLangOpts().OpenCLVersion < 120) { in CreateBuiltinUnaryOp()
H A DSemaDecl.cpp8362 if (getLangOpts().OpenCLVersion == 120 && in CheckVariableDeclarationType()