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()
503 if (RSExportPrimitiveType::IsRSObjectType(T)) { in ValidateTypeHelper()
511 if (RSExportPrimitiveType::GetRSSpecificType(T) != DataTypeUnknown) { in ValidateTypeHelper()
514 } else if (RSExportPrimitiveType::IsRSObjectType(T)) { in ValidateTypeHelper()
842 DataType dt = RSExportPrimitiveType::GetRSSpecificType(TypeName); in Create()
877 ET = RSExportPrimitiveType::Create(Context, T, TypeName); in Create()
884 ET = RSExportPrimitiveType::Create(Context, T, TypeName); in Create()
977 llvm::ManagedStatic<RSExportPrimitiveType::RSSpecificTypeMapTy>
978 RSExportPrimitiveType::RSSpecificTypeMap;
[all …]
Dslang_rs_export_type.h313 class RSExportPrimitiveType : public RSExportType {
328 static RSExportPrimitiveType *Create(RSContext *Context,
334 RSExportPrimitiveType(RSContext *Context, in RSExportPrimitiveType() function
355 static RSExportPrimitiveType *Create(RSContext *Context,
374 static size_t GetElementSizeInBits(const RSExportPrimitiveType *EPT);
385 const RSExportPrimitiveType *EPT) { in getRSReflectionType()
428 class RSExportVectorType : public RSExportPrimitiveType {
439 : RSExportPrimitiveType(Context, ExportClassVector, Name, in RSExportVectorType()
460 Name << RSExportPrimitiveType::getRSReflectionType(this)->rs_short_type in getElementName()
Dslang_rs_object_ref_count.h168 slangAssert(RSExportPrimitiveType::IsRSObjectType(DT)); in GetRSSetObjectFD()
178 return GetRSSetObjectFD(RSExportPrimitiveType::GetRSSpecificType(T)); in GetRSSetObjectFD()
182 slangAssert(RSExportPrimitiveType::IsRSObjectType(DT)); in GetRSClearObjectFD()
192 return GetRSClearObjectFD(RSExportPrimitiveType::GetRSSpecificType(T)); in GetRSClearObjectFD()
Dslang_rs_object_ref_count.cpp80 DataType DT = RSExportPrimitiveType::GetRSSpecificType(RST.getTypePtr()); in GetRSRefCountingFunctions()
81 slangAssert(RSExportPrimitiveType::IsRSObjectType(DT) in GetRSRefCountingFunctions()
478 DataType DT = RSExportPrimitiveType::GetRSSpecificType(BaseType); in ClearArrayRSObject()
513 DataType DT = RSExportPrimitiveType::GetRSSpecificType(T); in CountRSObjectTypes()
515 return (RSExportPrimitiveType::IsRSObjectType(DT) ? 1 : 0); in CountRSObjectTypes()
566 slangAssert(RSExportPrimitiveType::GetRSSpecificType(BaseType) == in ClearStructRSObject()
601 if (RSExportPrimitiveType::IsRSObjectType(FT)) { in ClearStructRSObject()
903 slangAssert(!RSExportPrimitiveType::IsRSObjectType(T)); in CreateStructRSSetObject()
967 DataType DT = RSExportPrimitiveType::GetRSSpecificType(FT); in CreateStructRSSetObject()
982 } else if (RSExportPrimitiveType::IsRSObjectType(DT)) { in CreateStructRSSetObject()
[all …]
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()
519 genGetterAndSetter(static_cast<const RSExportPrimitiveType *>(ET), EV); in genExportVariablesGetterAndSetter()
549 void RSReflectionCpp::genGetterAndSetter(const RSExportPrimitiveType *EPT, in genGetterAndSetter()
923 const RSExportPrimitiveType *EPT = in genInitExportVariable()
924 static_cast<const RSExportPrimitiveType *>(ET); in genInitExportVariable()
Dslang_rs_export_element.cpp93 RSExportPrimitiveType *EPT = in Create()
94 RSExportPrimitiveType::Create(Context, in Create()
Dslang_rs_reflection.cpp136 static const char *GetPackerAPIName(const RSExportPrimitiveType *EPT) { in GetPackerAPIName()
191 RSExportPrimitiveType::getRSReflectionType(static_cast<const RSExportPrimitiveType *>(ET)); in GetTypeName()
268 const RSExportPrimitiveType *EPT = in GetTypeNullValue()
269 static_cast<const RSExportPrimitiveType *>(ET); in GetTypeNullValue()
626 const RSExportPrimitiveType *EPT = in genInitExportVariable()
627 static_cast<const RSExportPrimitiveType *>(ET); in genInitExportVariable()
1655 const RSExportPrimitiveType *EPT = in genPrimitiveTypeExportVariable()
1656 static_cast<const RSExportPrimitiveType *>(EV->getType()); in genPrimitiveTypeExportVariable()
1943 static_cast<const RSExportPrimitiveType *>(ET)) << "(" in genPackVarOfType()
2494 const RSExportPrimitiveType *EPT = in genAddElement()
[all …]
Dslang_rs_reflection_cpp.h133 void genGetterAndSetter(const RSExportPrimitiveType *EPT, const RSExportVar* EV);
Dslang_backend.cpp536 const RSExportPrimitiveType *PT = in dumpExportVarInfo()
537 static_cast<const RSExportPrimitiveType*>(ET); in dumpExportVarInfo()