Home
last modified time | relevance | path

Searched refs:RSExportPrimitiveType (Results 1 – 9 of 9) sorted by relevance

/frameworks/compile/slang/
Dslang_rs_export_type.cpp227 if (!RSExportPrimitiveType::IsPrimitiveType(BaseElementType)) { in ConstantArrayTypeExportableHelper()
279 if (RSExportPrimitiveType::GetRSSpecificType(T) != DataTypeUnknown) { in TypeExportableHelper()
508 if (RSExportPrimitiveType::IsRSObjectType(T)) { in ValidateTypeHelper()
516 if (RSExportPrimitiveType::GetRSSpecificType(T) != DataTypeUnknown) { in ValidateTypeHelper()
519 } else if (RSExportPrimitiveType::IsRSObjectType(T)) { in ValidateTypeHelper()
846 DataType dt = RSExportPrimitiveType::GetRSSpecificType(TypeName); in Create()
881 ET = RSExportPrimitiveType::Create(Context, T, TypeName); in Create()
888 ET = RSExportPrimitiveType::Create(Context, T, TypeName); in Create()
980 llvm::ManagedStatic<RSExportPrimitiveType::RSSpecificTypeMapTy>
981 RSExportPrimitiveType::RSSpecificTypeMap;
[all …]
Dslang_rs_export_type.h367 class RSExportPrimitiveType : public RSExportType {
382 static RSExportPrimitiveType *Create(RSContext *Context,
388 RSExportPrimitiveType(RSContext *Context, in RSExportPrimitiveType() function
409 static RSExportPrimitiveType *Create(RSContext *Context,
428 static size_t GetElementSizeInBits(const RSExportPrimitiveType *EPT);
439 const RSExportPrimitiveType *EPT) { in getRSReflectionType()
482 class RSExportVectorType : public RSExportPrimitiveType {
493 : RSExportPrimitiveType(Context, ExportClassVector, Name, in RSExportVectorType()
514 Name << RSExportPrimitiveType::getRSReflectionType(this)->rs_short_type in getElementName()
Dslang_rs_object_ref_count.h174 slangAssert(RSExportPrimitiveType::IsRSObjectType(DT)); in GetRSSetObjectFD()
184 return GetRSSetObjectFD(RSExportPrimitiveType::GetRSSpecificType(T)); in GetRSSetObjectFD()
188 slangAssert(RSExportPrimitiveType::IsRSObjectType(DT)); in GetRSClearObjectFD()
198 return GetRSClearObjectFD(RSExportPrimitiveType::GetRSSpecificType(T)); in GetRSClearObjectFD()
Dslang_rs_object_ref_count.cpp79 DataType DT = RSExportPrimitiveType::GetRSSpecificType(RST.getTypePtr()); in GetRSRefCountingFunctions()
80 slangAssert(RSExportPrimitiveType::IsRSObjectType(DT) in GetRSRefCountingFunctions()
477 DataType DT = RSExportPrimitiveType::GetRSSpecificType(BaseType); in ClearArrayRSObject()
512 DataType DT = RSExportPrimitiveType::GetRSSpecificType(T); in CountRSObjectTypes()
514 return (RSExportPrimitiveType::IsRSObjectType(DT) ? 1 : 0); in CountRSObjectTypes()
565 slangAssert(RSExportPrimitiveType::GetRSSpecificType(BaseType) == in ClearStructRSObject()
602 if (RSExportPrimitiveType::IsRSObjectType(FT)) { in ClearStructRSObject()
904 slangAssert(!RSExportPrimitiveType::IsRSObjectType(T)); in CreateStructRSSetObject()
972 DataType DT = RSExportPrimitiveType::GetRSSpecificType(FT); in CreateStructRSSetObject()
987 } else if (RSExportPrimitiveType::IsRSObjectType(DT)) { in CreateStructRSSetObject()
[all …]
Dslang_rs_export_element.cpp93 RSExportPrimitiveType *EPT = in Create()
94 RSExportPrimitiveType::Create(Context, in Create()
Dslang_rs_reflection_cpp.cpp68 const RSExportPrimitiveType *EPT = in GetTypeName()
69 static_cast<const RSExportPrimitiveType *>(ET); in GetTypeName()
72 RSExportPrimitiveType::getRSReflectionType(EPT)->c_name + ">"; in GetTypeName()
74 return RSExportPrimitiveType::getRSReflectionType(EPT)->c_name; in GetTypeName()
521 genGetterAndSetter(static_cast<const RSExportPrimitiveType *>(ET), EV); in genExportVariablesGetterAndSetter()
551 void RSReflectionCpp::genGetterAndSetter(const RSExportPrimitiveType *EPT, in genGetterAndSetter()
925 const RSExportPrimitiveType *EPT = in genInitExportVariable()
926 static_cast<const RSExportPrimitiveType *>(ET); in genInitExportVariable()
Dslang_rs_reflection.cpp149 static const char *GetPackerAPIName(const RSExportPrimitiveType *EPT) { in GetPackerAPIName()
224 const RSExportPrimitiveType *EPT = in GetTypeNullValue()
225 static_cast<const RSExportPrimitiveType *>(ET); in GetTypeNullValue()
344 RSExportPrimitiveType::getRSReflectionType(static_cast<const RSExportPrimitiveType *>(ET)); in GetTypeName()
764 const RSExportPrimitiveType *EPT = in genInitExportVariable()
765 static_cast<const RSExportPrimitiveType *>(ET); in genInitExportVariable()
1860 const RSExportPrimitiveType *EPT = in genPrimitiveTypeExportVariable()
1861 static_cast<const RSExportPrimitiveType *>(EV->getType()); in genPrimitiveTypeExportVariable()
2162 static_cast<const RSExportPrimitiveType *>(ET)) << "(" in genPackVarOfType()
2741 const RSExportPrimitiveType *EPT = in genAddElement()
[all …]
Dslang_rs_reflection_cpp.h133 void genGetterAndSetter(const RSExportPrimitiveType *EPT, const RSExportVar* EV);
Dslang_backend.cpp775 const RSExportPrimitiveType *PT = in dumpExportVarInfo()
776 static_cast<const RSExportPrimitiveType*>(ET); in dumpExportVarInfo()