HomeSort by: relevance | last modified time | path
    Searched refs:OpenCL (Results 1 - 25 of 59) sorted by relevancy

1 2 3

  /src/external/apache2/llvm/dist/clang/include/clang/Basic/
LangStandard.h 34 OpenCL,
58 OpenCL = (1 << 15)
131 /// isOpenCL - Language is a OpenCL variant.
132 bool isOpenCL() const { return Flags & OpenCL; }
SyncScope.h 32 /// used. Currently only OpenCL memory scope enums are supported and assumed
65 enum class AtomicScopeModelKind { None, OpenCL };
93 /// Defines the synch scope model for OpenCL.
98 /// enums in opencl-c-base.h.
146 case AtomicScopeModelKind::OpenCL:
  /src/external/gpl3/gdb/dist/gdb/testsuite/lib/
cl_util.h 20 /* Utility macros and functions for OpenCL applications. */
30 #include <OpenCL/opencl.h>
36 /* Executes the given OpenCL function and checks its return value.
39 is only intended for OpenCL routines which return cl_int. */
47 /* Macro that checks an OpenCL error code. In case of failure
50 Macro is only intended to use in conjunction with OpenCL routines
68 /* Prints OpenCL information to stdout. */
79 /* Saves all program binaries of the given OpenCL PROGRAM. The file
  /src/external/gpl3/gdb.old/dist/gdb/testsuite/lib/
cl_util.h 20 /* Utility macros and functions for OpenCL applications. */
30 #include <OpenCL/opencl.h>
36 /* Executes the given OpenCL function and checks its return value.
39 is only intended for OpenCL routines which return cl_int. */
47 /* Macro that checks an OpenCL error code. In case of failure
50 Macro is only intended to use in conjunction with OpenCL routines
68 /* Prints OpenCL information to stdout. */
79 /* Saves all program binaries of the given OpenCL PROGRAM. The file
  /src/external/apache2/llvm/dist/clang/lib/Driver/ToolChains/
ROCm.h 97 SmallString<0> OpenCL;
116 return !OCML.empty() && !OCKL.empty() && !OpenCL.empty() && !HIP.empty() &&
185 assert(!OpenCL.empty());
186 return OpenCL;
  /src/external/apache2/llvm/dist/clang/lib/Frontend/
FrontendOptions.cpp 31 .Case("cl", Language::OpenCL)
CompilerInvocation.cpp 505 // this option was added for compatibility with OpenCL 1.0.
540 if ((IK.getLanguage() == Language::OpenCL ||
2536 case Language::OpenCL:
2729 .Case("cl", Language::OpenCL)
3079 // multiple language standards (C / C++ std, ObjC std, OpenCL std, OpenMP std)
3093 case Language::OpenCL:
3158 // Set OpenCL Version.
3159 Opts.OpenCL = Std.isOpenCL();
3173 // OpenCL has some additional defaults.
3174 if (Opts.OpenCL) {
    [all...]
InitPreprocessor.cpp 433 // OpenCL v1.0/1.1 s6.9, v1.2/2.0 s6.10: Preprocessor Directives and Macros.
434 if (LangOpts.OpenCL) {
439 llvm_unreachable("Unsupported C++ version for OpenCL");
442 // OpenCL v1.0 and v1.1 do not have a predefined macro to indicate the
444 // is for the OpenCL version supported by the OpenCL device, which is not
446 // A shared OpenCL header file requires a macro to indicate the language
448 // OpenCL v1.0 and v1.1.
466 llvm_unreachable("Unsupported OpenCL version");
611 /// InitializeOpenCLFeatureTestMacros - Define OpenCL macros based on targe
    [all...]
CompilerInstance.cpp 138 if (getLangOpts().OpenCL &&
1027 if (LangOpts.OpenCL)
1028 return Language::OpenCL;
  /src/external/apache2/llvm/dist/clang/lib/AST/
FormatString.cpp 186 if (!LO.OpenCL)
226 } else if (I != E && *I == 'l' && LO.OpenCL) {
728 if (LO.OpenCL && CS.isDoubleArg())
770 return LO.OpenCL && !VectorNumElts.isInvalid();
775 // Invalid for OpenCL FP scalars.
776 if (LO.OpenCL && VectorNumElts.isInvalid())
ExprClassification.cpp 649 if (Ctx.getLangOpts().OpenCL &&
PrintfFormatString.cpp 320 // Not handled, but reserved in OpenCL.
321 if (!LO.OpenCL)
623 llvm_unreachable("only used for OpenCL which doesn not handle nArg");
  /src/external/apache2/llvm/dist/clang/lib/Basic/
Builtins.cpp 75 bool OclCUnsupported = !LangOpts.OpenCL &&
IdentifierTable.cpp 144 if (LangOpts.OpenCL && !LangOpts.OpenCLCPlusPlus && (Flags & KEYOPENCLC))
174 // Don't add this keyword under OpenCL.
175 if (LangOpts.OpenCL && (Flags & KEYNOOPENCL))
Module.cpp 118 .Case("opencl", LangOpts.OpenCL)
TargetInfo.cpp 366 if (Opts.OpenCL) {
367 // OpenCL C requires specific widths for types, irrespective of
370 // OpenCL standard only mentions these as "reserved".
377 // Embedded 32-bit targets (OpenCL EP) might have double C type
  /src/external/apache2/llvm/dist/clang/lib/Basic/Targets/
AMDGPU.cpp 362 // address space in OpenCL, which needs to be cleaned up, then Opts.OpenCL
364 setAddressSpaceMap(/*DefaultIsPrivate=*/Opts.OpenCL ||
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGOpenCLRuntime.cpp 1 //===----- CGOpenCLRuntime.cpp - Interface to OpenCL Runtimes -------------===//
9 // This provides an abstract class for OpenCL code generation. Concrete
10 // subclasses of this implement code generation for specific OpenCL
35 "Not an OpenCL specific type!");
42 llvm_unreachable("Unexpected opencl builtin type!");
47 llvm::StructType::create(Ctx, "opencl." #ImgType "_" #Suffix "_t"), \
54 llvm::StructType::create(Ctx, "opencl.event_t"), AddrSpc);
57 llvm::StructType::create(Ctx, "opencl.clk_event_t"), AddrSpc);
60 llvm::StructType::create(Ctx, "opencl.queue_t"), AddrSpc);
63 llvm::StructType::create(Ctx, "opencl.reserve_id_t"), AddrSpc)
    [all...]
CGBlocks.cpp 192 if (CGM.getLangOpts().OpenCL)
258 if (C.getLangOpts().OpenCL)
452 if (CGM.getLangOpts().OpenCL) {
797 bool IsOpenCL = CGM.getContext().getLangOpts().OpenCL;
1135 if (getLangOpts().OpenCL)
1147 if (getLangOpts().OpenCL) {
1188 if (getLangOpts().OpenCL) {
1189 // For OpenCL, BlockPtr is already casted to generic block literal.
1323 bool IsOpenCL = CGM.getLangOpts().OpenCL;
1360 if (CGM.getContext().getLangOpts().OpenCL)
    [all...]
CGDeclCXX.cpp 33 "VarDecl must have global or local (in the case of OpenCL) storage!");
121 if (CGF.getContext().getLangOpts().OpenCL) {
634 // In OpenCL global init functions must be converted to kernels in order to
642 if (getLangOpts().OpenCL) {
CodeGenModule.cpp 141 if (LangOpts.OpenCL)
704 // Emit OpenCL specific module metadata: OpenCL/SPIR version.
705 if (LangOpts.OpenCL) {
710 // opencl.spir.version named metadata.
711 // C++ is backwards compatible with OpenCL v2.0.
719 TheModule.getOrInsertNamedMetadata("opencl.spir.version");
801 // SPIR v2.0 s2.13 - The OpenCL version used by the module is stored in the
802 // opencl.ocl.version named metadata node.
803 // C++ is backwards compatible with OpenCL v2.0
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaType.cpp 1527 if (S.getLangOpts().OpenCL) {
1724 if (S.getLangOpts().OpenCL && Result->isOCLImage3dWOType() &&
2058 // Helper to deduce addr space of a pointee type in OpenCL mode.
2092 if (T->isFunctionType() && getLangOpts().OpenCL &&
2108 if (getLangOpts().OpenCL)
2167 if (T->isFunctionType() && getLangOpts().OpenCL &&
2178 if (getLangOpts().OpenCL)
2421 if (getLangOpts().OpenCL) {
2422 // OpenCL v1.2 s6.9.d: variable length arrays are not supported.
2527 // OpenCL v2.0 s6.12.5 - Arrays of blocks are not supported
    [all...]
SemaExpr.cpp 642 // OpenCL usually rejects direct accesses to values of 'half' type.
643 if (getLangOpts().OpenCL &&
815 if (getLangOpts().OpenCL &&
3843 } else if (getLangOpts().OpenCL && !getOpenCLOptions().isAvailableOption(
4029 // [OpenCL 1.1 6.11.12] "The vec_step built-in function takes a built-in
4031 // Every built-in scalar type (OpenCL 1.1 6.1.1) is either an arithmetic
4062 // Allow sizeof(void)/alignof(void) as an extension, unless in OpenCL where
4063 // this is an error (OpenCL v1.1 s6.3.k)
4065 unsigned DiagID = S.LangOpts.OpenCL ? diag::err_opencl_sizeof_alignof_type
7480 // OpenCL requires that we convert `true` boolean expressions to -1, bu
    [all...]
SemaCast.cpp 327 // dynamic_cast is not supported in C++ for OpenCL.
2338 if (Self.LangOpts.OpenCL && !CStyle) {
2535 if (!Self.getLangOpts().OpenCL)
2540 // non-OpenCL mode too, we fast-path above because no other languages
2574 // In OpenCL only conversions between pointers to objects in overlapping
2585 if (Self.getLangOpts().OpenCL) {
2914 // OpenCL v2.0 s6.13.10 - Allow casts from '0' to event_t type.
2915 if (Self.getLangOpts().OpenCL && DestType->isEventT()) {
3045 if (Self.getLangOpts().OpenCL && !Self.getOpenCLOptions().isAvailableOption(
SemaExprMember.cpp 284 // OpenCL v1.1, s6.1.7
341 // Emit a warning if an rgba selector is used earlier than OpenCL C 3.0.
343 if (S.getLangOpts().OpenCL && S.getLangOpts().OpenCLVersion < 300) {
383 // OpenCL mode requires swizzle length to be in accordance with accepted
385 if (S.getLangOpts().OpenCL && !HalvingSwizzle) {

Completed in 72 milliseconds

1 2 3