Searched refs:EVT (Results 1 – 6 of 6) sorted by relevance
222 const clang::ExtVectorType *EVT = in ConstantArrayTypeExportableHelper() local224 unsigned numElements = EVT->getNumElements(); in ConstantArrayTypeExportableHelper()226 const clang::Type *BaseElementType = GetExtVectorElementType(EVT); in ConstantArrayTypeExportableHelper()392 const clang::ExtVectorType *EVT = in TypeExportableHelper() local395 if (EVT->getNumElements() < 2 || EVT->getNumElements() > 4) in TypeExportableHelper()399 const clang::Type *ElementType = GetExtVectorElementType(EVT); in TypeExportableHelper()637 const clang::ExtVectorType *EVT = in ValidateTypeHelper() local639 const clang::Type *ElementType = GetExtVectorElementType(EVT); in ValidateTypeHelper()642 EVT->getNumElements() == 3 && in ValidateTypeHelper()811 const clang::ExtVectorType *EVT = in GetTypeName() local[all …]
106 RSExportVectorType *EVT = in Create() local114 slangAssert(EI->type == EVT->getType() && "Element has unexpected type"); in Create()115 slangAssert(EI->vsize == EVT->getNumElement() && "Element has unexpected " in Create()117 ET = EVT; in Create()
87 const RSExportVectorType *EVT = static_cast<const RSExportVectorType *>(ET); in GetTypeName() local89 VecName << EVT->getRSReflectionType(EVT)->rs_c_vector_prefix in GetTypeName()90 << EVT->getNumElement(); in GetTypeName()619 void RSReflectionCpp::genGetterAndSetter(const RSExportVectorType *EVT, in genGetterAndSetter() argument621 slangAssert(EVT != nullptr); in genGetterAndSetter()624 EVT->convertToRTD(&rtd); in genGetterAndSetter()628 << rtd.type->rs_c_vector_prefix << EVT->getNumElement() in genGetterAndSetter()636 mOut.indent() << rtd.type->rs_c_vector_prefix << EVT->getNumElement() in genGetterAndSetter()941 const RSExportVectorType *EVT = static_cast<const RSExportVectorType *>(ET); in genInitExportVariable() local945 for (unsigned i = 0; i < EVT->getNumElement(); i++) { in genInitExportVariable()[all …]
251 const RSExportVectorType *EVT = static_cast<const RSExportVectorType *>(ET); in GetBuiltinElementConstruct() local252 if (EVT->getType() == DataTypeFloat32) { in GetBuiltinElementConstruct()253 if (EVT->getNumElement() == 2) { in GetBuiltinElementConstruct()255 } else if (EVT->getNumElement() == 3) { in GetBuiltinElementConstruct()257 } else if (EVT->getNumElement() == 4) { in GetBuiltinElementConstruct()262 } else if (EVT->getType() == DataTypeUnsigned8) { in GetBuiltinElementConstruct()263 if (EVT->getNumElement() == 4) in GetBuiltinElementConstruct()361 const RSExportVectorType *EVT = static_cast<const RSExportVectorType *>(ET); in GetTypeName() local362 const auto ReflectionType = EVT->getRSReflectionType(EVT); in GetTypeName()365 << EVT->getNumElement(); in GetTypeName()[all …]
134 void genGetterAndSetter(const RSExportVectorType *EVT, const RSExportVar* EV);
501 const clang::ExtVectorType *EVT,508 static llvm::StringRef GetTypeName(const clang::ExtVectorType *EVT);