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()
387 const clang::ExtVectorType *EVT = in TypeExportableHelper() local
390 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() local
635 const clang::Type *ElementType = GetExtVectorElementType(EVT); in ValidateTypeHelper()
638 EVT->getNumElements() == 3 && in ValidateTypeHelper()
807 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()
617 void RSReflectionCpp::genGetterAndSetter(const RSExportVectorType *EVT, in genGetterAndSetter() argument
619 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() local
943 for (unsigned i = 0; i < EVT->getNumElement(); i++) { in genInitExportVariable()
[all …]
Dslang_rs_reflection.cpp206 const RSExportVectorType *EVT = static_cast<const RSExportVectorType *>(ET); in GetTypeName() local
207 const auto ReflectionType = EVT->getRSReflectionType(EVT); in GetTypeName()
210 << EVT->getNumElement(); in GetTypeName()
295 const RSExportVectorType *EVT = static_cast<const RSExportVectorType *>(ET); in GetBuiltinElementConstruct() local
296 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 …]
Dslang_rs_reflection_cpp.h134 void genGetterAndSetter(const RSExportVectorType *EVT, const RSExportVar* EV);
Dslang_rs_export_type.h447 const clang::ExtVectorType *EVT,
454 static llvm::StringRef GetTypeName(const clang::ExtVectorType *EVT);