llvm/tools/clang/lib/Sema/OpenCLBuiltins.inc

/*===- TableGen'erated file -------------------------------------*- C++ -*-===*\
|*                                                                            *|
|* OpenCL Builtin handling                                                    *|
|*                                                                            *|
|* Automatically generated file, do not edit!                                 *|
|* From: OpenCLBuiltins.td                                                    *|
|*                                                                            *|
\*===----------------------------------------------------------------------===*/

#include "llvm/ADT/StringRef.h"
usingnamespaceclang;

enum OpenCLTypeID {};

// Image access qualifier.
enum OpenCLAccessQual : unsigned char {};

// Represents a return type or argument type.
struct OpenCLTypeStruct {};

// One overload of an OpenCL builtin function.
struct OpenCLBuiltinStruct {};

static const char *FunctionExtensionTable[] =;

static const OpenCLTypeStruct TypeTable[] =;

static const unsigned short SignatureTable[] =;

static const OpenCLBuiltinStruct BuiltinTable[] =;


// Find out whether a string matches an existing OpenCL builtin function name.
// Returns: A pair <0, 0> if no name matches.
//          A pair <Index, Len> indexing the BuiltinTable if the name is
//          matching an OpenCL builtin function.
static std::pair<unsigned, unsigned> isOpenCLBuiltin(llvm::StringRef Name) {}static QualType getOpenCLEnumType(Sema &S, llvm::StringRef Name)static QualType getOpenCLTypedefType(Sema &S, llvm::StringRef Name)static void OCL2Qual(Sema &S, const OpenCLTypeStruct &Ty,
                     llvm::SmallVectorImpl<QualType> &QT) {}