Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DLangOptions.cpp57 const int Ver = OpenCLCPlusPlus ? OpenCLCPlusPlusVersion : OpenCLVersion; in getOpenCLVersionTuple()
65 return OpenCLVersion; in getOpenCLCompatibleVersion()
137 Opts.OpenCLVersion = 100; in setLangDefaults()
139 Opts.OpenCLVersion = 110; in setLangDefaults()
141 Opts.OpenCLVersion = 120; in setLangDefaults()
143 Opts.OpenCLVersion = 200; in setLangDefaults()
145 Opts.OpenCLVersion = 300; in setLangDefaults()
198 Opts.OpenCLVersion = 200; in setLangDefaults()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVSubtarget.cpp77 OpenCLVersion = VersionTuple(2, 2); in SPIRVSubtarget()
114 return isAtLeastVer(OpenCLVersion, VerToCompareTo); in isAtLeastOpenCLVer()
H A DSPIRVSubtarget.h42 VersionTuple OpenCLVersion; variable
/freebsd/contrib/llvm-project/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.def252 LANGOPT(OpenCLVersion , 32, 0, "OpenCL C version")
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DInitPreprocessor.cpp552 switch (LangOpts.OpenCLVersion) { in InitializeStandardPredefinedMacros()
H A DCompilerInvocation.cpp3648 if (Opts.Blocks && !(Opts.OpenCL && Opts.OpenCLVersion == 200)) in GenerateLangArgs()
4050 && Opts.OpenCLVersion == 200); in ParseLangArgs()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.cpp2432 if (getLangOpts().OpenCLVersion <= 120) { in ConstructAttributeList()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaInit.cpp7598 if (S.getLangOpts().OpenCLVersion >= 200 && in Perform()
H A DSemaExpr.cpp13062 Context.getLangOpts().OpenCLVersion < 120) { in CheckLogicalOperands()
15424 Context.getLangOpts().OpenCLVersion < 120) { in CreateBuiltinUnaryOp()
H A DSemaDecl.cpp8537 if (getLangOpts().OpenCLVersion == 120 && in CheckVariableDeclarationType()