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()387 const clang::ExtVectorType *EVT = in TypeExportableHelper() local390 if (EVT->getNumElements() < 2 || EVT->getNumElements() > 4) in TypeExportableHelper()394 const clang::Type *ElementType = GetExtVectorElementType(EVT); in TypeExportableHelper()633 const clang::ExtVectorType *EVT = in ValidateTypeHelper() local635 const clang::Type *ElementType = GetExtVectorElementType(EVT); in ValidateTypeHelper()638 EVT->getNumElements() == 3 && in ValidateTypeHelper()807 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()617 void RSReflectionCpp::genGetterAndSetter(const RSExportVectorType *EVT, in genGetterAndSetter() argument619 slangAssert(EVT != nullptr); in genGetterAndSetter()622 EVT->convertToRTD(&rtd); in genGetterAndSetter()626 << rtd.type->rs_c_vector_prefix << EVT->getNumElement() in genGetterAndSetter()634 mOut.indent() << rtd.type->rs_c_vector_prefix << EVT->getNumElement() in genGetterAndSetter()939 const RSExportVectorType *EVT = static_cast<const RSExportVectorType *>(ET); in genInitExportVariable() local943 for (unsigned i = 0; i < EVT->getNumElement(); i++) { in genInitExportVariable()[all …]
206 const RSExportVectorType *EVT = static_cast<const RSExportVectorType *>(ET); in GetTypeName() local207 const auto ReflectionType = EVT->getRSReflectionType(EVT); in GetTypeName()210 << EVT->getNumElement(); in GetTypeName()295 const RSExportVectorType *EVT = static_cast<const RSExportVectorType *>(ET); in GetBuiltinElementConstruct() local296 if (EVT->getType() == DataTypeFloat32) { in GetBuiltinElementConstruct()297 if (EVT->getNumElement() == 2) { in GetBuiltinElementConstruct()299 } else if (EVT->getNumElement() == 3) { in GetBuiltinElementConstruct()301 } else if (EVT->getNumElement() == 4) { in GetBuiltinElementConstruct()306 } else if (EVT->getType() == DataTypeUnsigned8) { in GetBuiltinElementConstruct()307 if (EVT->getNumElement() == 4) in GetBuiltinElementConstruct()[all …]
134 void genGetterAndSetter(const RSExportVectorType *EVT, const RSExportVar* EV);
447 const clang::ExtVectorType *EVT,454 static llvm::StringRef GetTypeName(const clang::ExtVectorType *EVT);