Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/Target/SPIRV/
H A DSPIRVSubtarget.cpp46 PointerSize(computePointerSize(TT)), SPIRVVersion(0), OpenCLVersion(0), in SPIRVSubtarget()
66 if (OpenCLVersion == 0) in initSubtargetDependencies()
67 OpenCLVersion = 22; in initSubtargetDependencies()
85 return isAtLeastVer(OpenCLVersion, VerToCompareTo); in isAtLeastOpenCLVer()
H A DSPIRVSubtarget.h39 uint32_t OpenCLVersion; variable
/openbsd-src/gnu/llvm/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.def233 LANGOPT(OpenCLVersion , 32, 0, "OpenCL C version")
/openbsd-src/gnu/llvm/clang/lib/Frontend/
H A DInitPreprocessor.cpp526 switch (LangOpts.OpenCLVersion) { in InitializeStandardPredefinedMacros()
H A DCompilerInvocation.cpp3424 if (Opts.Blocks && !(Opts.OpenCL && Opts.OpenCLVersion == 200)) in GenerateLangArgs()
3803 && Opts.OpenCLVersion == 200); in ParseLangArgs()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGCall.cpp2249 if (getLangOpts().OpenCLVersion <= 120) { in ConstructAttributeList()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaInit.cpp8481 if (S.getLangOpts().OpenCLVersion >= 200 && in Perform()
H A DSemaExpr.cpp13635 Context.getLangOpts().OpenCLVersion < 120) { in CheckLogicalOperands()
15926 Context.getLangOpts().OpenCLVersion < 120) { in CreateBuiltinUnaryOp()
H A DSemaDecl.cpp8487 if (getLangOpts().OpenCLVersion == 120 && in CheckVariableDeclarationType()