Home
last modified time | relevance | path

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

/frameworks/compile/slang/
Dslang_rs_export_type.cpp213 if (!RSExportPrimitiveType::IsPrimitiveType(BaseElementType)) { in ConstantArrayTypeExportableHelper()
264 if (RSExportPrimitiveType::GetRSSpecificType(T) != DataTypeUnknown) { in TypeExportableHelper()
473 if (RSExportPrimitiveType::IsRSObjectType(T)) { in ValidateTypeHelper()
481 if (RSExportPrimitiveType::GetRSSpecificType(T) != DataTypeUnknown) { in ValidateTypeHelper()
484 } else if (RSExportPrimitiveType::IsRSObjectType(T)) { in ValidateTypeHelper()
809 DataType dt = RSExportPrimitiveType::GetRSSpecificType(TypeName); in Create()
844 ET = RSExportPrimitiveType::Create(Context, T, TypeName); in Create()
851 ET = RSExportPrimitiveType::Create(Context, T, TypeName); in Create()
942 llvm::ManagedStatic<RSExportPrimitiveType::RSSpecificTypeMapTy>
943 RSExportPrimitiveType::RSSpecificTypeMap;
[all …]
Dslang_rs_object_ref_count.h116 slangAssert(RSExportPrimitiveType::IsRSObjectType(DT)); in GetRSSetObjectFD()
126 return GetRSSetObjectFD(RSExportPrimitiveType::GetRSSpecificType(T)); in GetRSSetObjectFD()
130 slangAssert(RSExportPrimitiveType::IsRSObjectType(DT)); in GetRSClearObjectFD()
140 return GetRSClearObjectFD(RSExportPrimitiveType::GetRSSpecificType(T)); in GetRSClearObjectFD()
Dslang_rs_export_type.h283 class RSExportPrimitiveType : public RSExportType {
298 static RSExportPrimitiveType *Create(RSContext *Context,
304 RSExportPrimitiveType(RSContext *Context, in RSExportPrimitiveType() function
325 static RSExportPrimitiveType *Create(RSContext *Context,
341 static size_t GetSizeInBits(const RSExportPrimitiveType *EPT);
352 const RSExportPrimitiveType *EPT) { in getRSReflectionType()
394 class RSExportVectorType : public RSExportPrimitiveType {
405 : RSExportPrimitiveType(Context, ExportClassVector, Name, in RSExportVectorType()
426 Name << RSExportPrimitiveType::getRSReflectionType(this)->rs_short_type in getElementName()
Dslang_rs_object_ref_count.cpp80 DataType DT = RSExportPrimitiveType::GetRSSpecificType(RST.getTypePtr()); in GetRSRefCountingFunctions()
81 slangAssert(RSExportPrimitiveType::IsRSObjectType(DT) in GetRSRefCountingFunctions()
567 DataType DT = RSExportPrimitiveType::GetRSSpecificType(BaseType); in ClearArrayRSObject()
610 DataType DT = RSExportPrimitiveType::GetRSSpecificType(T); in CountRSObjectTypes()
612 return (RSExportPrimitiveType::IsRSObjectType(DT) ? 1 : 0); in CountRSObjectTypes()
663 slangAssert(RSExportPrimitiveType::GetRSSpecificType(BaseType) == in ClearStructRSObject()
698 if (RSExportPrimitiveType::IsRSObjectType(FT)) { in ClearStructRSObject()
1000 slangAssert(!RSExportPrimitiveType::IsRSObjectType(T)); in CreateStructRSSetObject()
1064 DataType DT = RSExportPrimitiveType::GetRSSpecificType(FT); in CreateStructRSSetObject()
1079 } else if (RSExportPrimitiveType::IsRSObjectType(DT)) { in CreateStructRSSetObject()
[all …]
Dslang_rs_reflection_cpp.cpp64 const RSExportPrimitiveType *EPT = in GetTypeName()
65 static_cast<const RSExportPrimitiveType *>(ET); in GetTypeName()
68 RSExportPrimitiveType::getRSReflectionType(EPT)->c_name + ">"; in GetTypeName()
70 return RSExportPrimitiveType::getRSReflectionType(EPT)->c_name; in GetTypeName()
507 genGetterAndSetter(static_cast<const RSExportPrimitiveType *>(ET), EV); in genExportVariablesGetterAndSetter()
537 void RSReflectionCpp::genGetterAndSetter(const RSExportPrimitiveType *EPT, in genGetterAndSetter()
869 const RSExportPrimitiveType *EPT = in genInitExportVariable()
870 static_cast<const RSExportPrimitiveType *>(ET); in genInitExportVariable()
Dslang_rs_export_element.cpp92 RSExportPrimitiveType *EPT = in Create()
93 RSExportPrimitiveType::Create(Context, in Create()
Dslang_rs_reflection.cpp133 static const char *GetPackerAPIName(const RSExportPrimitiveType *EPT) { in GetPackerAPIName()
178 return RSExportPrimitiveType::getRSReflectionType( in GetTypeName()
179 static_cast<const RSExportPrimitiveType *>(ET))->java_name; in GetTypeName()
221 const RSExportPrimitiveType *EPT = in GetTypeNullValue()
222 static_cast<const RSExportPrimitiveType *>(ET); in GetTypeNullValue()
481 const RSExportPrimitiveType *EPT = in genInitExportVariable()
482 static_cast<const RSExportPrimitiveType *>(ET); in genInitExportVariable()
955 const RSExportPrimitiveType *EPT = in genPrimitiveTypeExportVariable()
956 static_cast<const RSExportPrimitiveType *>(EV->getType()); in genPrimitiveTypeExportVariable()
1240 static_cast<const RSExportPrimitiveType *>(ET)) << "(" in genPackVarOfType()
[all …]
Dslang_rs_reflection_cpp.h116 void genGetterAndSetter(const RSExportPrimitiveType *EPT, const RSExportVar* EV);
Dslang_backend.cpp544 const RSExportPrimitiveType *PT = in dumpExportVarInfo()
545 static_cast<const RSExportPrimitiveType*>(ET); in dumpExportVarInfo()