Go to the source code of this file.
|
static uint64_t | getFirstIntValue (ArrayAttr attr) |
| Gets the first integer value from attr , assuming it is an integer array attribute. More...
|
|
static int | getNumBits (Type type) |
| Returns the number of bits for the given scalar/vector type. More...
|
|
◆ CL_MAX_MIN_OPS
Value: spirv::CLFMaxOp, spirv::CLFMinOp, spirv::CLUMaxOp, spirv::CLUMinOp, \
spirv::CLSMaxOp, spirv::CLSMinOp
Definition at line 522 of file VectorToSPIRV.cpp.
◆ GL_MAX_MIN_OPS
Value: spirv::GLFMaxOp, spirv::GLFMinOp, spirv::GLUMaxOp, spirv::GLUMinOp, \
spirv::GLSMaxOp, spirv::GLSMinOp
Definition at line 526 of file VectorToSPIRV.cpp.
◆ INT_AND_FLOAT_CASE
#define INT_AND_FLOAT_CASE |
( |
|
kind, |
|
|
|
iop, |
|
|
|
fop |
|
) |
| |
Value: case vector::CombiningKind::kind: \
if (resultType.isa<IntegerType>()) { \
result = rewriter.create<spirv::iop>(loc, resultType, result, next); \
} else { \
result = rewriter.create<spirv::fop>(loc, resultType, result, next); \
} \
break
◆ INT_OR_FLOAT_CASE
#define INT_OR_FLOAT_CASE |
( |
|
kind, |
|
|
|
fop |
|
) |
| |
Value: case vector::CombiningKind::kind: \
result = rewriter.create<fop>(loc, resultType, result, next); \
break
◆ getFirstIntValue()
static uint64_t getFirstIntValue |
( |
ArrayAttr |
attr | ) |
|
|
static |
Gets the first integer value from attr
, assuming it is an integer array attribute.
Definition at line 37 of file VectorToSPIRV.cpp.
◆ getNumBits()
static int getNumBits |
( |
Type |
type | ) |
|
|
static |