Home
last modified time | relevance | path

Searched refs:EVT (Results 1 – 6 of 6) sorted by relevance

/frameworks/compile/slang/
Dslang_rs_export_type.cpp222 const clang::ExtVectorType *EVT = in ConstantArrayTypeExportableHelper() local
224 unsigned numElements = EVT->getNumElements(); in ConstantArrayTypeExportableHelper()
226 const clang::Type *BaseElementType = GetExtVectorElementType(EVT); in ConstantArrayTypeExportableHelper()
392 const clang::ExtVectorType *EVT = in TypeExportableHelper() local
395 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() local
639 const clang::Type *ElementType = GetExtVectorElementType(EVT); in ValidateTypeHelper()
642 EVT->getNumElements() == 3 && in ValidateTypeHelper()
811 const clang::ExtVectorType *EVT = in GetTypeName() local
[all …]
Dslang_rs_export_element.cpp106 RSExportVectorType *EVT = in Create() local
114 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()
Dslang_rs_reflection_cpp.cpp87 const RSExportVectorType *EVT = static_cast<const RSExportVectorType *>(ET); in GetTypeName() local
89 VecName << EVT->getRSReflectionType(EVT)->rs_c_vector_prefix in GetTypeName()
90 << EVT->getNumElement(); in GetTypeName()
619 void RSReflectionCpp::genGetterAndSetter(const RSExportVectorType *EVT, in genGetterAndSetter() argument
621 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() local
945 for (unsigned i = 0; i < EVT->getNumElement(); i++) { in genInitExportVariable()
[all …]
Dslang_rs_reflection.cpp251 const RSExportVectorType *EVT = static_cast<const RSExportVectorType *>(ET); in GetBuiltinElementConstruct() local
252 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() local
362 const auto ReflectionType = EVT->getRSReflectionType(EVT); in GetTypeName()
365 << EVT->getNumElement(); in GetTypeName()
[all …]
Dslang_rs_reflection_cpp.h134 void genGetterAndSetter(const RSExportVectorType *EVT, const RSExportVar* EV);
Dslang_rs_export_type.h501 const clang::ExtVectorType *EVT,
508 static llvm::StringRef GetTypeName(const clang::ExtVectorType *EVT);