/external/llvm-project/clang/include/clang/Basic/ |
D | OpenCLOptions.h | 64 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()
|
D | LangOptions.def | 217 LANGOPT(OpenCLVersion , 32, 0, "OpenCL C version")
|
/external/llvm-project/clang/lib/Basic/ |
D | Builtins.cpp | 70 bool OclC1Unsupported = (LangOpts.OpenCLVersion / 100) != 1 && in builtinIsSupported() 73 (LangOpts.OpenCLVersion != 200 && !LangOpts.OpenCLCPlusPlus) && in builtinIsSupported()
|
D | LangOptions.cpp | 47 const int Ver = OpenCLCPlusPlus ? OpenCLCPlusPlusVersion : OpenCLVersion; in getOpenCLVersionTuple()
|
/external/clang/lib/Basic/ |
D | Builtins.cpp | 72 bool OclCUnsupported = LangOpts.OpenCLVersion != 200 && in builtinIsSupported()
|
/external/clang/lib/Frontend/ |
D | CompilerInvocation.cpp | 1541 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()
|
D | InitPreprocessor.cpp | 420 switch (LangOpts.OpenCLVersion) { in InitializeStandardPredefinedMacros() 962 LangOpts.OpenCLVersion)) \ in InitializePredefinedMacros()
|
/external/clang/lib/Sema/ |
D | SemaStmtAttr.cpp | 232 if (S.getLangOpts().OpenCLVersion < 200) { in handleOpenCLUnrollHint()
|
D | Sema.cpp | 216 getLangOpts().OpenCLVersion)) \ in Initialize() 222 if (getLangOpts().OpenCLVersion >= 200) { in Initialize()
|
D | SemaExprMember.cpp | 337 if (S.getLangOpts().OpenCL && S.getLangOpts().OpenCLVersion < 220) { in CheckExtVectorComponent() 341 << S.getLangOpts().OpenCLVersion << SourceRange(CompLoc); in CheckExtVectorComponent()
|
D | DeclSpec.cpp | 519 if (S.getLangOpts().OpenCLVersion < 120) { in SetStorageClassSpec()
|
D | SemaType.cpp | 1345 } 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/ |
D | CompilerInvocation.cpp | 2418 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()
|
D | InitPreprocessor.cpp | 444 switch (LangOpts.OpenCLVersion) { in InitializeStandardPredefinedMacros()
|
/external/clang/include/clang/Basic/ |
D | LangOptions.def | 180 LANGOPT(OpenCLVersion , 32, 0, "OpenCL version")
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaLookup.cpp | 784 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()
|
D | SemaExprMember.cpp | 343 if (S.getLangOpts().OpenCL && S.getLangOpts().OpenCLVersion < 220) { in CheckExtVectorComponent() 347 << S.getLangOpts().OpenCLVersion << SourceRange(CompLoc); in CheckExtVectorComponent()
|
D | DeclSpec.cpp | 632 if (S.getLangOpts().OpenCLVersion < 120 && in SetStorageClassSpec()
|
D | Sema.cpp | 302 if (getLangOpts().OpenCLCPlusPlus || getLangOpts().OpenCLVersion >= 200) { in Initialize()
|
D | SemaDecl.cpp | 6334 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()
|
D | SemaType.cpp | 1391 } 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/ |
D | ParseDecl.cpp | 3382 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()
|
D | ParsePragma.cpp | 471 auto CLVer = getLangOpts().OpenCLVersion; in HandlePragmaOpenCLExtension()
|
/external/llvm-project/clang/lib/Parse/ |
D | ParseDecl.cpp | 3881 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/ |
D | Expr.cpp | 3629 if ((Ctx.getLangOpts().OpenCLVersion >= 200 && in isNullPointerConstant() 3632 Ctx.getLangOpts().OpenCLVersion < 200 && in isNullPointerConstant()
|