HomeSort by relevance Sort by last modified time
    Searched refs:RSExportType (Results 1 - 19 of 19) sorted by null

  /frameworks/compile/slang/
slang_rs_export_element.h 37 class RSExportType;
57 static RSExportType *Create(RSContext *Context,
66 static RSExportType *CreateFromDecl(RSContext *Context,
slang_rs_export_var.h 32 class RSExportType;
38 const RSExportType *mET;
50 const RSExportType *ET);
54 inline const RSExportType *getType() const { return mET; }
slang_rs_export_type.h 89 class RSExportType : public RSExportable {
113 RSExportType(RSContext *Context,
120 // @T was normalized by calling RSExportType::NormalizeType().
121 // @TypeName was retrieve from RSExportType::GetTypeName() before calling
124 static RSExportType *Create(RSContext *Context,
130 // This function convert the RSExportType to LLVM type. Actually, it should be
150 virtual ~RSExportType();
174 static RSExportType *Create(RSContext *Context, const clang::Type *T);
175 static RSExportType *CreateFromDecl(RSContext *Context,
196 // Return the number of bits necessary to hold the specified RSExportType
    [all...]
slang_rs_export_var.cpp 44 const RSExportType *ET)
56 case RSExportType::ExportClassPrimitive:
57 case RSExportType::ExportClassVector: {
61 case RSExportType::ExportClassPointer: {
73 case RSExportType::ExportClassConstantArray: {
96 case RSExportType::ExportClassMatrix:
97 case RSExportType::ExportClassRecord: {
slang_rs_reflection_cpp.cpp 62 static std::string GetTypeName(const RSExportType *ET, bool Brackets = true) {
64 case RSExportType::ExportClassPrimitive: {
68 case RSExportType::ExportClassPointer: {
69 const RSExportType *PointeeType =
72 if (PointeeType->getClass() != RSExportType::ExportClassRecord)
77 case RSExportType::ExportClassVector: {
85 case RSExportType::ExportClassMatrix: {
88 case RSExportType::ExportClassConstantArray: {
98 case RSExportType::ExportClassRecord: {
392 param_len = RSExportType::GetTypeAllocSize(params)
    [all...]
slang_rs_export_element.cpp 59 RSExportType *RSExportElement::Create(RSContext *Context,
62 // Create RSExportType corresponded to the @T first and then verify
65 RSExportType *ET = NULL;
72 if (!RSExportType::NormalizeType(T, TypeName, Context->getDiagnostics(),
119 RSExportType *RSExportElement::CreateFromDecl(RSContext *Context,
121 const clang::Type* T = RSExportType::GetTypeOfDecl(DD);
129 return RSExportType::Create(Context, T);
149 return RSExportType::Create(Context, T);
slang_rs_reflection.cpp 162 static std::string GetTypeName(const RSExportType *ET, bool Brackets = true) {
164 case RSExportType::ExportClassPrimitive: {
168 case RSExportType::ExportClassPointer: {
169 const RSExportType *PointeeType =
172 if (PointeeType->getClass() != RSExportType::ExportClassRecord)
177 case RSExportType::ExportClassVector: {
185 case RSExportType::ExportClassMatrix: {
188 case RSExportType::ExportClassConstantArray: {
197 case RSExportType::ExportClassRecord: {
208 static const char *GetTypeNullValue(const RSExportType *ET)
    [all...]
slang_rs_export_type.cpp 233 const clang::Type *FT = RSExportType::GetTypeOfDecl(FD);
315 // Return the type that can be used to create RSExportType, will always return
440 const clang::Type *FT = RSExportType::GetTypeOfDecl(FD);
543 /****************************** RSExportType ******************************/
544 bool RSExportType::NormalizeType(const clang::Type *&T,
552 TypeName = RSExportType::GetTypeName(T);
573 bool RSExportType::ValidateType(clang::ASTContext &C, clang::QualType QT,
585 bool RSExportType::ValidateVarDecl(clang::VarDecl *VD, unsigned int TargetAPI,
592 *RSExportType::GetTypeOfDecl(const clang::DeclaratorDecl *DD) {
608 llvm::StringRef RSExportType::GetTypeName(const clang::Type* T)
    [all...]
slang_rs_reflection_cpp.h 79 bool genCreateFieldPacker(const RSExportType *T,
83 void genPackVarOfType(const RSExportType *ET,
slang_rs_check_ast.cpp 51 if (!RSExportType::ValidateType(C, resultType, FD,
60 if (!RSExportType::ValidateType(C, QT, PVD, PVD->getLocStart(),
88 if (!RSExportType::NormalizeType(T, TypeName, &mDiagEngine, VD)) {
106 if (!RSExportType::ValidateVarDecl(VD, mTargetAPI, mIsFilterscript)) {
141 !RSExportType::ValidateType(C, E->getType(), NULL, E->getExprLoc(),
slang_rs_reflection.h 242 const RSExportType *ET,
272 const RSExportType *ET,
276 const RSExportType *ET);
279 const RSExportType *ET);
282 const RSExportType *ET);
304 const RSExportType *ERT,
315 const RSExportType *T,
318 const RSExportType *T,
322 const RSExportType *T,
slang_rs_export_foreach.h 42 RSExportType *mInType;
43 RSExportType *mOutType;
109 inline const RSExportType *getInType() const {
113 inline const RSExportType *getOutType() const {
slang_rs_export_func.cpp 110 RSExportType *ET =
111 RSExportType::Create(Context, T.getTypePtr());
120 slangAssert((ET->getClass() == RSExportType::ExportClassRecord) &&
166 size_t T1Size = RSExportType::GetTypeAllocSize(F->getType());
slang_rs_backend.cpp 216 const RSExportType *ET = EV->getType();
225 case RSExportType::ExportClassPrimitive: {
236 case RSExportType::ExportClassPointer: {
243 case RSExportType::ExportClassMatrix: {
251 case RSExportType::ExportClassVector:
252 case RSExportType::ExportClassConstantArray:
253 case RSExportType::ExportClassRecord: {
456 const RSExportType *ET = I->getValue();
463 if (ET->getClass() == RSExportType::ExportClassRecord) {
502 } // ET->getClass() == RSExportType::ExportClassRecor
    [all...]
slang_rs_context.cpp 92 RSExportType *ET = RSExportType::CreateFromDecl(this, VD);
155 RSExportType *ET = NULL;
180 ET = RSExportType::Create(this, T);
271 RSExportType *ET) {
slang_rs_context.h 52 class RSExportType;
64 typedef llvm::StringMap<RSExportType*> ExportTypeMap;
219 bool insertExportType(const llvm::StringRef &TypeName, RSExportType *Type);
slang_rs_export_foreach.cpp 448 RSExportType *ET = RSExportType::Create(Context, T.getTypePtr());
457 slangAssert((ET->getClass() == RSExportType::ExportClassRecord) &&
466 FE->mInType = RSExportType::Create(Context, T);
474 FE->mOutType = RSExportType::Create(Context, T);
478 FE->mOutType = RSExportType::Create(Context, T);
slang_rs.cpp 110 RSExportType *ET = static_cast<RSExportType *>(RSE);
111 if (ET->getClass() != RSExportType::ExportClassRecord)
slang_rs_object_ref_count.cpp 638 const clang::Type *FT = RSExportType::GetTypeOfDecl(FD);
657 const clang::Type *FT = RSExportType::GetTypeOfDecl(FD);
701 const clang::Type *FT = RSExportType::GetTypeOfDecl(FD);
    [all...]

Completed in 101 milliseconds