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.cpp59 const int Ver = OpenCLCPlusPlus ? OpenCLCPlusPlusVersion : OpenCLVersion; in getOpenCLVersionTuple()
67 return OpenCLVersion; in getOpenCLCompatibleVersion()
139 Opts.OpenCLVersion = 100; in setLangDefaults()
141 Opts.OpenCLVersion = 110; in setLangDefaults()
143 Opts.OpenCLVersion = 120; in setLangDefaults()
145 Opts.OpenCLVersion = 200; in setLangDefaults()
147 Opts.OpenCLVersion = 300; in setLangDefaults()
202 Opts.OpenCLVersion = 200; in setLangDefaults()
/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.def216 LANGOPT(OpenCLVersion , 32, 0, NotCompatible, "OpenCL C version")
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVSubtarget.cpp83 OpenCLVersion = VersionTuple(2, 2); in SPIRVSubtarget()
135 return isAtLeastVer(OpenCLVersion, VerToCompareTo); in isAtLeastOpenCLVer()
H A DSPIRVSubtarget.h46 VersionTuple OpenCLVersion; variable
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DInitPreprocessor.cpp558 switch (LangOpts.OpenCLVersion) { in InitializeStandardPredefinedMacros()
H A DCompilerInvocation.cpp3865 if (Opts.Blocks && !(Opts.OpenCL && Opts.OpenCLVersion == 200)) in GenerateLangArgs()
4313 && Opts.OpenCLVersion == 200); in ParseLangArgs()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.cpp2542 if (getLangOpts().OpenCLVersion <= 120) { in ConstructAttributeList()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaInit.cpp7867 if (S.getLangOpts().OpenCLVersion >= 200 && in Perform()
H A DSemaExpr.cpp13429 Context.getLangOpts().OpenCLVersion < 120) { in CheckLogicalOperands()
15790 Context.getLangOpts().OpenCLVersion < 120) { in CreateBuiltinUnaryOp()
H A DSemaDecl.cpp8737 if (getLangOpts().OpenCLVersion == 120 && in CheckVariableDeclarationType()