Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/Basic/
H A DLangOptions.cpp57 const int Ver = OpenCLCPlusPlus ? OpenCLCPlusPlusVersion : OpenCLVersion; in getOpenCLVersionTuple()
65 return OpenCLVersion; in getOpenCLCompatibleVersion()
135 Opts.OpenCLVersion = 100; in setLangDefaults()
137 Opts.OpenCLVersion = 110; in setLangDefaults()
139 Opts.OpenCLVersion = 120; in setLangDefaults()
141 Opts.OpenCLVersion = 200; in setLangDefaults()
143 Opts.OpenCLVersion = 300; in setLangDefaults()
196 Opts.OpenCLVersion = 200; in setLangDefaults()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVSubtarget.cpp63 OpenCLVersion(0), InstrInfo(), in SPIRVSubtarget()
83 if (OpenCLVersion == 0) in initSubtargetDependencies()
84 OpenCLVersion = 22; in initSubtargetDependencies()
104 return isAtLeastVer(OpenCLVersion, VerToCompareTo); in isAtLeastOpenCLVer()
H A DSPIRVSubtarget.h41 uint32_t OpenCLVersion; variable
/freebsd-14.2/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.def238 LANGOPT(OpenCLVersion , 32, 0, "OpenCL C version")
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DInitPreprocessor.cpp527 switch (LangOpts.OpenCLVersion) { in InitializeStandardPredefinedMacros()
H A DCompilerInvocation.cpp3478 if (Opts.Blocks && !(Opts.OpenCL && Opts.OpenCLVersion == 200)) in GenerateLangArgs()
3875 && Opts.OpenCLVersion == 200); in ParseLangArgs()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.cpp2450 if (getLangOpts().OpenCLVersion <= 120) { in ConstructAttributeList()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaInit.cpp8650 if (S.getLangOpts().OpenCLVersion >= 200 && in Perform()
H A DSemaExpr.cpp14090 Context.getLangOpts().OpenCLVersion < 120) { in CheckLogicalOperands()
16429 Context.getLangOpts().OpenCLVersion < 120) { in CreateBuiltinUnaryOp()
H A DSemaDecl.cpp8695 if (getLangOpts().OpenCLVersion == 120 && in CheckVariableDeclarationType()