Home | History | Annotate | Download | only in libSPIRV

Lines Matching refs:SPIRVType

1 //===- SPIRVtype.cpp ? Class to represent a SPIR-V type ----------*- C++ -*-===//
40 #include "SPIRVType.h"
49 SPIRVType*
50 SPIRVType::getArrayElementType() const {
56 SPIRVType::getArrayLength() const {
63 SPIRVType::getBitWidth() const {
72 SPIRVType::getFloatBitWidth()const {
78 SPIRVType::getIntegerBitWidth()const {
86 SPIRVType *
87 SPIRVType::getFunctionReturnType() const {
92 SPIRVType *
93 SPIRVType::getPointerElementType()const {
99 SPIRVType::getPointerStorageClass() const {
104 SPIRVType*
105 SPIRVType::getStructMemberType(size_t Index) const {
111 SPIRVType::getStructMemberCount() const {
117 SPIRVType::getVectorComponentCount() const {
122 SPIRVType*
123 SPIRVType::getVectorComponentType() const {
129 SPIRVType::isTypeVoid() const {
133 SPIRVType::isTypeArray() const {
138 SPIRVType::isTypeBool()const {
143 SPIRVType::isTypeComposite() const {
148 SPIRVType::isTypeFloat(unsigned Bits)const {
153 SPIRVType::isTypeOCLImage()const {
159 SPIRVType::isTypePipe()const {
164 SPIRVType::isTypePipeStorage() const {
169 SPIRVType::isTypeReserveId() const {
174 SPIRVType::isTypeInt(unsigned Bits)const {
179 SPIRVType::isTypePointer()const {
184 SPIRVType::isTypeOpaque()const {
189 SPIRVType::isTypeEvent()const {
194 SPIRVType::isTypeDeviceEvent()const {
199 SPIRVType::isTypeSampler()const {
204 SPIRVType::isTypeImage()const {
209 SPIRVType::isTypeStruct() const {
214 SPIRVType::isTypeVector() const {
219 SPIRVType::isTypeVectorBool() const {
224 SPIRVType::isTypeVectorInt() const {
229 SPIRVType::isTypeVectorFloat() const {
234 SPIRVType::isTypeVectorOrScalarBool() const {
239 SPIRVType::isTypeVectorOrScalarInt() const {
244 SPIRVType::isTypeVectorOrScalarFloat() const {
261 SPIRVTypeArray::SPIRVTypeArray(SPIRVModule *M, SPIRVId TheId, SPIRVType *TheElemType,
263 :SPIRVType(M, 4, OpTypeArray, TheId), ElemType(TheElemType),