/frameworks/compile/slang/ |
H A D | slang_rs_check_ast.cpp | 78 void RSCheckAST::ValidateVarDecl(clang::VarDecl *VD) { argument 79 if (!VD) { 83 clang::QualType QT = VD->getType(); 85 if (VD->getLinkage() == clang::ExternalLinkage) { 88 if (!RSExportType::NormalizeType(T, TypeName, &mDiagEngine, VD)) { 94 if (mInKernel && VD->isStaticLocal()) { 97 clang::FullSourceLoc(VD->getLocation(), mSM), 101 << VD->getName(); 106 if (!RSExportType::ValidateVarDecl(VD, mTargetAPI, mIsFilterscript)) { 108 } else if (clang::Expr *Init = VD [all...] |
H A D | slang_rs_export_var.cpp | 43 const clang::VarDecl *VD, 46 mName(VD->getName().data(), VD->getName().size()), 53 const clang::Expr *Initializer = VD->getAnyInitializer(); 77 ReportVarError(Context, VD->getLocation(), 98 ReportVarError(Context, VD->getLocation(), 111 clang::QualType QT = VD->getTypeSourceInfo()->getType(); 42 RSExportVar(RSContext *Context, const clang::VarDecl *VD, const RSExportType *ET) argument
|
H A D | slang_rs_object_ref_count.h | 57 inline void addRSObject(clang::VarDecl* VD) { argument 58 mRSO.push_back(VD); 64 void AppendRSObjectInit(clang::VarDecl *VD, 71 static clang::Stmt *ClearRSObject(clang::VarDecl *VD, 91 // Return false if the type of variable declared in VD does not contain 93 static bool InitializeRSObject(clang::VarDecl *VD,
|
H A D | slang_rs_context.cpp | 87 bool RSContext::processExportVar(const clang::VarDecl *VD) { argument 88 slangAssert(!VD->getName().empty() && "Variable name should not be empty"); 92 RSExportType *ET = RSExportType::CreateFromDecl(this, VD); 96 RSExportVar *EV = new RSExportVar(this, VD, ET); 236 clang::VarDecl *VD = (clang::VarDecl*) (*DI); local 237 if (VD->getLinkage() == clang::ExternalLinkage) { 238 if (!processExportVar(VD)) {
|
H A D | slang_rs_check_ast.h | 56 void ValidateVarDecl(clang::VarDecl *VD);
|
H A D | slang_rs_export_var.h | 49 const clang::VarDecl *VD,
|
H A D | slang_rs_export_type.cpp | 86 const clang::VarDecl *VD, 122 const clang::VarDecl *VD, 127 ReportTypeError(DiagEngine, VD, TopLevelRecord, 137 ReportTypeError(DiagEngine, VD, TopLevelRecord, 143 ReportTypeError(DiagEngine, VD, TopLevelRecord, 149 if (TypeExportableHelper(ElementType, SPS, DiagEngine, VD, 161 clang::VarDecl const *VD, 193 ReportTypeError(DiagEngine, VD, T->getAsUnionType()->getDecl(), 236 if (!TypeExportableHelper(FT, SPS, DiagEngine, VD, TopLevelRecord)) { 262 ReportTypeError(DiagEngine, VD, TopLevelRecor 118 ConstantArrayTypeExportableHelper( const clang::ConstantArrayType *CAT, llvm::SmallPtrSet<const clang::Type*, 8>& SPS, clang::DiagnosticsEngine *DiagEngine, const clang::VarDecl *VD, const clang::RecordDecl *TopLevelRecord) argument 157 TypeExportableHelper( clang::Type const *T, llvm::SmallPtrSet<clang::Type const *, 8> &SPS, clang::DiagnosticsEngine *DiagEngine, clang::VarDecl const *VD, clang::RecordDecl const *TopLevelRecord) argument 322 TypeExportable(const clang::Type *T, clang::DiagnosticsEngine *DiagEngine, const clang::VarDecl *VD) argument 331 ValidateRSObjectInVarDecl(clang::VarDecl *VD, bool InCompositeType, unsigned int TargetAPI) argument 389 clang::VarDecl *VD = (ND ? llvm::dyn_cast<clang::VarDecl>(ND) : NULL); local 544 NormalizeType(const clang::Type *&T, llvm::StringRef &TypeName, clang::DiagnosticsEngine *DiagEngine, const clang::VarDecl *VD) argument 585 ValidateVarDecl(clang::VarDecl *VD, unsigned int TargetAPI, bool IsFilterscript) argument 793 CreateFromDecl(RSContext *Context, const clang::VarDecl *VD) argument [all...] |
H A D | slang_rs_object_ref_count.cpp | 561 // Body -> "rsClearObject(&VD[rsIntIter]);" 1143 clang::VarDecl *VD, 1147 slangAssert(VD); 1161 const clang::Type *T = RSExportType::GetTypeOfDecl(VD); 1166 VD, 1210 const clang::Type *T = RSExportType::GetTypeOfDecl(VD); 1215 VD, 1251 clang::VarDecl *VD = *I; local 1252 clang::Stmt *RSClearObjectCall = ClearRSObject(VD, VD 1142 AppendRSObjectInit( clang::VarDecl *VD, clang::DeclStmt *DS, RSExportPrimitiveType::DataType DT, clang::Expr *InitExpr) argument 1265 ClearRSObject( clang::VarDecl *VD, clang::DeclContext *DC) argument 1304 InitializeRSObject(clang::VarDecl *VD, RSExportPrimitiveType::DataType *DT, clang::Expr **InitExpr) argument 1466 clang::VarDecl *VD = static_cast<clang::VarDecl*>(D); local 1545 clang::VarDecl *VD = llvm::dyn_cast<clang::VarDecl>(*I); local [all...] |
H A D | slang_rs_export_type.h | 158 const clang::VarDecl *VD); 170 static bool ValidateVarDecl(clang::VarDecl *VD, unsigned int TargetAPI, 176 const clang::VarDecl *VD);
|
H A D | slang_rs_context.h | 93 bool processExportVar(const clang::VarDecl *VD);
|