Home
last modified time | relevance | path

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

/frameworks/compile/slang/
Dslang_rs_export_type.cpp211 if (!RSExportPrimitiveType::IsPrimitiveType(BaseElementType)) { in ConstantArrayTypeExportableHelper()
262 if (RSExportPrimitiveType::GetRSSpecificType(T) != DataTypeUnknown) { in TypeExportableHelper()
465 if (RSExportPrimitiveType::IsRSObjectType(T)) { in ValidateTypeHelper()
473 if (RSExportPrimitiveType::GetRSSpecificType(T) != DataTypeUnknown) { in ValidateTypeHelper()
476 } else if (RSExportPrimitiveType::IsRSObjectType(T)) { in ValidateTypeHelper()
774 DataType dt = RSExportPrimitiveType::GetRSSpecificType(TypeName); in Create()
809 ET = RSExportPrimitiveType::Create(Context, T, TypeName); in Create()
816 ET = RSExportPrimitiveType::Create(Context, T, TypeName); in Create()
907 llvm::ManagedStatic<RSExportPrimitiveType::RSSpecificTypeMapTy>
908 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()
565 DataType DT = RSExportPrimitiveType::GetRSSpecificType(BaseType); in ClearArrayRSObject()
608 DataType DT = RSExportPrimitiveType::GetRSSpecificType(T); in CountRSObjectTypes()
610 return (RSExportPrimitiveType::IsRSObjectType(DT) ? 1 : 0); in CountRSObjectTypes()
661 slangAssert(RSExportPrimitiveType::GetRSSpecificType(BaseType) == in ClearStructRSObject()
691 if (RSExportPrimitiveType::IsRSObjectType(FT)) { in ClearStructRSObject()
991 slangAssert(!RSExportPrimitiveType::IsRSObjectType(T)); in CreateStructRSSetObject()
1053 DataType DT = RSExportPrimitiveType::GetRSSpecificType(FT); in CreateStructRSSetObject()
1068 } else if (RSExportPrimitiveType::IsRSObjectType(DT)) { in CreateStructRSSetObject()
[all …]
Dslang_rs_reflection_cpp.cpp65 const RSExportPrimitiveType *EPT = in GetTypeName()
66 static_cast<const RSExportPrimitiveType *>(ET); in GetTypeName()
69 RSExportPrimitiveType::getRSReflectionType(EPT)->c_name + ">"; in GetTypeName()
71 return RSExportPrimitiveType::getRSReflectionType(EPT)->c_name; in GetTypeName()
508 genGetterAndSetter(static_cast<const RSExportPrimitiveType *>(ET), EV); in genExportVariablesGetterAndSetter()
538 void RSReflectionCpp::genGetterAndSetter(const RSExportPrimitiveType *EPT, in genGetterAndSetter()
872 const RSExportPrimitiveType *EPT = in genInitExportVariable()
873 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.cpp134 static const char *GetPackerAPIName(const RSExportPrimitiveType *EPT) { in GetPackerAPIName()
179 return RSExportPrimitiveType::getRSReflectionType( in GetTypeName()
180 static_cast<const RSExportPrimitiveType *>(ET))->java_name; in GetTypeName()
222 const RSExportPrimitiveType *EPT = in GetTypeNullValue()
223 static_cast<const RSExportPrimitiveType *>(ET); in GetTypeNullValue()
482 const RSExportPrimitiveType *EPT = in genInitExportVariable()
483 static_cast<const RSExportPrimitiveType *>(ET); in genInitExportVariable()
941 const RSExportPrimitiveType *EPT = in genPrimitiveTypeExportVariable()
942 static_cast<const RSExportPrimitiveType *>(EV->getType()); in genPrimitiveTypeExportVariable()
1226 static_cast<const RSExportPrimitiveType *>(ET)) << "(" in genPackVarOfType()
[all …]
Dslang_rs_reflection_cpp.h116 void genGetterAndSetter(const RSExportPrimitiveType *EPT, const RSExportVar* EV);
Dslang_rs_backend.cpp208 const RSExportPrimitiveType *PT = in dumpExportVarInfo()
209 static_cast<const RSExportPrimitiveType*>(ET); in dumpExportVarInfo()