Please use GitHub pull requests for new patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
clang/lib/Sema/OpenCLBuiltins.td
Show First 20 Lines • Show All 271 Lines • ▼ Show 20 Lines | class Builtin<string _Name, list<Type> _Signature, list<bit> _Attributes = Attr.None> { | ||||
// (the return type). | // (the return type). | ||||
list<Type> Signature = _Signature; | list<Type> Signature = _Signature; | ||||
// Function attribute __attribute__((pure)) | // Function attribute __attribute__((pure)) | ||||
bit IsPure = _Attributes[0]; | bit IsPure = _Attributes[0]; | ||||
// Function attribute __attribute__((const)) | // Function attribute __attribute__((const)) | ||||
bit IsConst = _Attributes[1]; | bit IsConst = _Attributes[1]; | ||||
// Function attribute __attribute__((convergent)) | // Function attribute __attribute__((convergent)) | ||||
bit IsConv = _Attributes[2]; | bit IsConv = _Attributes[2]; | ||||
// Is function a variadic one | |||||
bit IsVariadic = 0; | |||||
// OpenCL extensions to which the function belongs. | // OpenCL extensions to which the function belongs. | ||||
FunctionExtension Extension = FuncExtNone; | FunctionExtension Extension = FuncExtNone; | ||||
// Version of OpenCL from which the function is available (e.g.: CL10). | // Version of OpenCL from which the function is available (e.g.: CL10). | ||||
// MinVersion is inclusive. | // MinVersion is inclusive. | ||||
Version MinVersion = CL10; | Version MinVersion = CL10; | ||||
// Version of OpenCL from which the function is not supported anymore. | // Version of OpenCL from which the function is not supported anymore. | ||||
// MaxVersion is exclusive. | // MaxVersion is exclusive. | ||||
// CLAll makes the function available for all versions. | // CLAll makes the function available for all versions. | ||||
▲ Show 20 Lines • Show All 1,442 Lines • Show Last 20 Lines |