Home
last modified time | relevance | path

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

12

/external/llvm-project/clang/include/clang/Basic/
DOpenCLOptions.h64 auto CLVer = LO.OpenCLCPlusPlus ? 200 : LO.OpenCLVersion; in isSupported()
81 auto CLVer = LO.OpenCLCPlusPlus ? 200 : LO.OpenCLVersion; in isSupportedCore()
98 auto CLVer = LO.OpenCLCPlusPlus ? 200 : LO.OpenCLVersion; in isSupportedExtension()
DLangOptions.def217 LANGOPT(OpenCLVersion , 32, 0, "OpenCL C version")
/external/llvm-project/clang/lib/Basic/
DBuiltins.cpp70 bool OclC1Unsupported = (LangOpts.OpenCLVersion / 100) != 1 && in builtinIsSupported()
73 (LangOpts.OpenCLVersion != 200 && !LangOpts.OpenCLCPlusPlus) && in builtinIsSupported()
DLangOptions.cpp47 const int Ver = OpenCLCPlusPlus ? OpenCLCPlusPlusVersion : OpenCLVersion; in getOpenCLVersionTuple()
/external/clang/lib/Basic/
DBuiltins.cpp72 bool OclCUnsupported = LangOpts.OpenCLVersion != 200 && in builtinIsSupported()
/external/clang/lib/Frontend/
DCompilerInvocation.cpp1541 Opts.OpenCLVersion = 100; in setLangDefaults()
1543 Opts.OpenCLVersion = 110; in setLangDefaults()
1545 Opts.OpenCLVersion = 120; in setLangDefaults()
1547 Opts.OpenCLVersion = 200; in setLangDefaults()
1689 && Opts.OpenCLVersion > 100) { in ParseLangArgs()
1690 std::string VerSpec = llvm::to_string(Opts.OpenCLVersion / 100) + in ParseLangArgs()
1692 llvm::to_string((Opts.OpenCLVersion % 100) / 10); in ParseLangArgs()
1872 && Opts.OpenCLVersion >= 200); in ParseLangArgs()
DInitPreprocessor.cpp420 switch (LangOpts.OpenCLVersion) { in InitializeStandardPredefinedMacros()
962 LangOpts.OpenCLVersion)) \ in InitializePredefinedMacros()
/external/clang/lib/Sema/
DSemaStmtAttr.cpp232 if (S.getLangOpts().OpenCLVersion < 200) { in handleOpenCLUnrollHint()
DSema.cpp216 getLangOpts().OpenCLVersion)) \ in Initialize()
222 if (getLangOpts().OpenCLVersion >= 200) { in Initialize()
DSemaExprMember.cpp337 if (S.getLangOpts().OpenCL && S.getLangOpts().OpenCLVersion < 220) { in CheckExtVectorComponent()
341 << S.getLangOpts().OpenCLVersion << SourceRange(CompLoc); in CheckExtVectorComponent()
DDeclSpec.cpp519 if (S.getLangOpts().OpenCLVersion < 120) { in SetStorageClassSpec()
DSemaType.cpp1345 } else if (S.getLangOpts().OpenCLVersion >= 200 && DS.isTypeSpecPipe()){ in ConvertDeclSpecToType()
1416 !((S.getLangOpts().OpenCLVersion >= 120) || in ConvertDeclSpecToType()
6704 if (state.getSema().getLangOpts().OpenCLVersion >= 200 && in processTypeAttrs()
/external/llvm-project/clang/lib/Frontend/
DCompilerInvocation.cpp2418 Opts.OpenCLVersion = 100; in setLangDefaults()
2420 Opts.OpenCLVersion = 110; in setLangDefaults()
2422 Opts.OpenCLVersion = 120; in setLangDefaults()
2424 Opts.OpenCLVersion = 200; in setLangDefaults()
2426 Opts.OpenCLVersion = 300; in setLangDefaults()
2685 && Opts.OpenCLVersion > 100) { in ParseLangArgs()
2992 && Opts.OpenCLVersion == 200); in ParseLangArgs()
DInitPreprocessor.cpp444 switch (LangOpts.OpenCLVersion) { in InitializeStandardPredefinedMacros()
/external/clang/include/clang/Basic/
DLangOptions.def180 LANGOPT(OpenCLVersion , 32, 0, "OpenCL version")
/external/llvm-project/clang/lib/Sema/
DSemaLookup.cpp784 unsigned OpenCLVersion = Context.getLangOpts().OpenCLVersion; in InsertOCLBuiltinDeclarationsFromTable() local
786 OpenCLVersion = 200; in InsertOCLBuiltinDeclarationsFromTable()
787 if (OpenCLVersion < OpenCLBuiltin.MinVersion) in InsertOCLBuiltinDeclarationsFromTable()
790 (OpenCLVersion >= OpenCLBuiltin.MaxVersion)) in InsertOCLBuiltinDeclarationsFromTable()
DSemaExprMember.cpp343 if (S.getLangOpts().OpenCL && S.getLangOpts().OpenCLVersion < 220) { in CheckExtVectorComponent()
347 << S.getLangOpts().OpenCLVersion << SourceRange(CompLoc); in CheckExtVectorComponent()
DDeclSpec.cpp632 if (S.getLangOpts().OpenCLVersion < 120 && in SetStorageClassSpec()
DSema.cpp302 if (getLangOpts().OpenCLCPlusPlus || getLangOpts().OpenCLVersion >= 200) { in Initialize()
DSemaDecl.cpp6334 if ((getLangOpts().OpenCLCPlusPlus || getLangOpts().OpenCLVersion >= 200) && in deduceOpenCLAddressSpace()
7868 if (getLangOpts().OpenCLVersion == 120 && in CheckVariableDeclarationType()
7911 (getLangOpts().OpenCLVersion == 200 || in CheckVariableDeclarationType()
7914 if (getLangOpts().OpenCLVersion == 200 || getLangOpts().OpenCLCPlusPlus) in CheckVariableDeclarationType()
8676 if (S.getLangOpts().OpenCLVersion < 120 && in checkIsValidOpenCLKernelParameter()
9807 if ((getLangOpts().OpenCLVersion >= 120) in ActOnFunctionDeclarator()
9854 if (getLangOpts().OpenCLVersion >= 200 || getLangOpts().OpenCLCPlusPlus) { in ActOnFunctionDeclarator()
DSemaType.cpp1391 } else if ((S.getLangOpts().OpenCLVersion >= 200 || in ConvertDeclSpecToType()
2064 S.getLangOpts().OpenCLCPlusPlus || S.getLangOpts().OpenCLVersion == 200 in deduceOpenCLPointeeAddrSpace()
5023 (LangOpts.OpenCLCPlusPlus || LangOpts.OpenCLVersion >= 120)) || in GetFullTypeForDeclarator()
/external/clang/lib/Parse/
DParseDecl.cpp3382 if (!getLangOpts().OpenCL || (getLangOpts().OpenCLVersion < 200)) { in ParseDeclarationSpecifiers()
3501 if (Actions.getLangOpts().OpenCLVersion < 200) { in ParseDeclarationSpecifiers()
3551 const int OpenCLVer = getLangOpts().OpenCLVersion; in ParseDeclarationSpecifiers()
4479 return getLangOpts().OpenCL && (getLangOpts().OpenCLVersion >= 200); in isDeclarationSpecifier()
4933 if ((Kind == tok::kw_pipe) && Lang.OpenCL && (Lang.OpenCLVersion >= 200)) in isPtrOperatorToken()
DParsePragma.cpp471 auto CLVer = getLangOpts().OpenCLVersion; in HandlePragmaOpenCLExtension()
/external/llvm-project/clang/lib/Parse/
DParseDecl.cpp3881 if (!getLangOpts().OpenCL || (getLangOpts().OpenCLVersion < 200 && in ParseDeclarationSpecifiers()
4004 if (Actions.getLangOpts().OpenCLVersion < 200 && in ParseDeclarationSpecifiers()
5061 return (getLangOpts().OpenCL && getLangOpts().OpenCLVersion >= 200) || in isDeclarationSpecifier()
5590 ((Lang.OpenCL && Lang.OpenCLVersion >= 200) || Lang.OpenCLCPlusPlus)) in isPtrOperatorToken()
/external/llvm-project/clang/lib/AST/
DExpr.cpp3629 if ((Ctx.getLangOpts().OpenCLVersion >= 200 && in isNullPointerConstant()
3632 Ctx.getLangOpts().OpenCLVersion < 200 && in isNullPointerConstant()

12