HomeSort by relevance Sort by last modified time
    Searched refs:RSExportType (Results 1 - 16 of 16) 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 36 class RSExportType;
42 const RSExportType *mET;
53 const RSExportType *ET);
57 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();
165 static RSExportType *Create(RSContext *Context, const clang::Type *T);
166 static RSExportType *CreateFromDecl(RSContext *Context,
187 // Return the number of bits necessary to hold the specified RSExportType
    [all...]
slang_rs_export_var.cpp 43 const RSExportType *ET)
54 case RSExportType::ExportClassPrimitive:
55 case RSExportType::ExportClassVector: {
59 case RSExportType::ExportClassPointer: {
71 case RSExportType::ExportClassConstantArray: {
94 case RSExportType::ExportClassMatrix:
95 case RSExportType::ExportClassRecord: {
slang_rs_reflection.cpp 158 static std::string GetTypeName(const RSExportType *ET, bool Brackets = true) {
160 case RSExportType::ExportClassPrimitive: {
164 case RSExportType::ExportClassPointer: {
165 const RSExportType *PointeeType =
168 if (PointeeType->getClass() != RSExportType::ExportClassRecord)
173 case RSExportType::ExportClassVector: {
181 case RSExportType::ExportClassMatrix: {
184 case RSExportType::ExportClassConstantArray: {
193 case RSExportType::ExportClassRecord: {
204 static const char *GetTypeNullValue(const RSExportType *ET)
    [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_export_type.cpp 234 const clang::Type *FT = RSExportType::GetTypeOfDecl(FD);
316 // Return the type that can be used to create RSExportType, will always return
436 const clang::Type *FT = RSExportType::GetTypeOfDecl(FD);
486 /****************************** RSExportType ******************************/
487 bool RSExportType::NormalizeType(const clang::Type *&T,
495 TypeName = RSExportType::GetTypeName(T);
516 bool RSExportType::ValidateVarDecl(clang::VarDecl *VD, unsigned int TargetAPI) {
525 *RSExportType::GetTypeOfDecl(const clang::DeclaratorDecl *DD) {
541 llvm::StringRef RSExportType::GetTypeName(const clang::Type* T) {
626 RSExportType *RSExportType::Create(RSContext *Context
    [all...]
slang_rs_export_foreach.h 42 RSExportType *mInType;
43 RSExportType *mOutType;
97 inline const RSExportType *getInType() const {
101 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_reflection.h 231 const RSExportType *ET,
259 const RSExportType *ET,
263 const RSExportType *ET);
266 const RSExportType *ET);
288 const RSExportType *ERT,
299 const RSExportType *T,
302 const RSExportType *T,
306 const RSExportType *T,
slang_rs_context.cpp 90 RSExportType *ET = RSExportType::CreateFromDecl(this, VD);
152 RSExportType *ET = NULL;
177 ET = RSExportType::Create(this, T);
268 RSExportType *ET) {
slang_rs_backend.cpp 126 if (!RSExportType::NormalizeType(T, TypeName, &C.getDiagnostics(), VD)) {
130 valid &= RSExportType::ValidateVarDecl(VD, TargetAPI);
221 const RSExportType *ET = EV->getType();
230 case RSExportType::ExportClassPrimitive: {
241 case RSExportType::ExportClassPointer: {
248 case RSExportType::ExportClassMatrix: {
256 case RSExportType::ExportClassVector:
257 case RSExportType::ExportClassConstantArray:
258 case RSExportType::ExportClassRecord: {
461 const RSExportType *ET = I->getValue()
    [all...]
slang_rs_context.h 52 class RSExportType;
64 typedef llvm::StringMap<RSExportType*> ExportTypeMap;
206 bool insertExportType(const llvm::StringRef &TypeName, RSExportType *Type);
slang_rs_export_foreach.cpp 277 RSExportType *ET = RSExportType::Create(Context, T.getTypePtr());
286 slangAssert((ET->getClass() == RSExportType::ExportClassRecord) &&
295 FE->mInType = RSExportType::Create(Context, T);
300 FE->mOutType = RSExportType::Create(Context, T);
slang_rs.cpp 97 RSExportType *ET = static_cast<RSExportType *>(RSE);
98 if (ET->getClass() != RSExportType::ExportClassRecord)
slang_rs_object_ref_count.cpp 637 const clang::Type *FT = RSExportType::GetTypeOfDecl(FD);
656 const clang::Type *FT = RSExportType::GetTypeOfDecl(FD);
699 const clang::Type *FT = RSExportType::GetTypeOfDecl(FD);
    [all...]

Completed in 547 milliseconds