/frameworks/compile/slang/ |
H A D | slang_rs_export_var.cpp | 30 const clang::VarDecl *VD, 33 mName(VD->getName().data(), VD->getName().size()), 37 const clang::Expr *Initializer = VD->getAnyInitializer(); 71 clang::QualType QT = VD->getTypeSourceInfo()->getType(); 29 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_export_var.h | 47 const clang::VarDecl *VD,
|
H A D | slang_rs_context.cpp | 88 bool RSContext::processExportVar(const clang::VarDecl *VD) { argument 89 slangAssert(!VD->getName().empty() && "Variable name should not be empty"); 93 RSExportType *ET = RSExportType::CreateFromDecl(this, VD); 97 RSExportVar *EV = new RSExportVar(this, VD, ET); 203 clang::VarDecl *VD = (clang::VarDecl*) (*DI); local 204 if (VD->getLinkage() == clang::ExternalLinkage) { 205 if (!processExportVar(VD)) {
|
H A D | slang_rs_export_type.cpp | 49 const clang::VarDecl *VD, 53 const clang::VarDecl *VD, 70 } else if (VD) { 72 clang::FullSourceLoc(VD->getLocation(), SM), 74 << VD->getName(); 84 const clang::VarDecl *VD, 89 ReportTypeError(DiagEngine, VD, TopLevelRecord, 99 ReportTypeError(DiagEngine, VD, TopLevelRecord, 105 ReportTypeError(DiagEngine, VD, TopLevelRecord, 111 if (TypeExportableHelper(ElementType, SPS, DiagEngine, VD, 52 ReportTypeError(clang::DiagnosticsEngine *DiagEngine, const clang::VarDecl *VD, const clang::RecordDecl *TopLevelRecord, const char *Message) argument 80 ConstantArrayTypeExportableHelper( const clang::ConstantArrayType *CAT, llvm::SmallPtrSet<const clang::Type*, 8>& SPS, clang::DiagnosticsEngine *DiagEngine, const clang::VarDecl *VD, const clang::RecordDecl *TopLevelRecord) argument 118 TypeExportableHelper( clang::Type const *T, llvm::SmallPtrSet<clang::Type const *, 8> &SPS, clang::DiagnosticsEngine *DiagEngine, clang::VarDecl const *VD, clang::RecordDecl const *TopLevelRecord) argument 280 TypeExportable(const clang::Type *T, clang::DiagnosticsEngine *DiagEngine, const clang::VarDecl *VD) argument 289 ValidateVarDeclHelper( clang::VarDecl *VD, const clang::Type *&T, llvm::SmallPtrSet<const clang::Type*, 8>& SPS, clang::RecordDecl *UnionDecl) argument 396 NormalizeType(const clang::Type *&T, llvm::StringRef &TypeName, clang::DiagnosticsEngine *DiagEngine, const clang::VarDecl *VD) argument 425 ValidateVarDecl(clang::VarDecl *VD) argument 634 CreateFromDecl(RSContext *Context, const clang::VarDecl *VD) argument [all...] |
H A D | slang_rs_backend.cpp | 112 static bool ValidateVarDecl(clang::VarDecl *VD) { argument 113 if (!VD) { 117 clang::ASTContext &C = VD->getASTContext(); 118 const clang::Type *T = VD->getType().getTypePtr(); 121 if (VD->getLinkage() == clang::ExternalLinkage) { 123 if (!RSExportType::NormalizeType(T, TypeName, &C.getDiagnostics(), VD)) { 127 valid &= RSExportType::ValidateVarDecl(VD); 139 clang::VarDecl *VD = llvm::dyn_cast<clang::VarDecl>(*DI); local 140 if (VD && !ValidateVarDecl(VD)) { [all...] |
H A D | slang_rs_object_ref_count.cpp | 556 // Body -> "rsClearObject(&VD[rsIntIter]);" 1131 clang::VarDecl *VD, 1135 slangAssert(VD); 1149 const clang::Type *T = RSExportType::GetTypeOfDecl(VD); 1153 VD, 1194 const clang::Type *T = RSExportType::GetTypeOfDecl(VD); 1198 VD, 1234 clang::VarDecl *VD = *I; local 1235 clang::Stmt *RSClearObjectCall = ClearRSObject(VD, VD 1130 AppendRSObjectInit( clang::VarDecl *VD, clang::DeclStmt *DS, RSExportPrimitiveType::DataType DT, clang::Expr *InitExpr) argument 1248 ClearRSObject( clang::VarDecl *VD, clang::DeclContext *DC) argument 1285 InitializeRSObject(clang::VarDecl *VD, RSExportPrimitiveType::DataType *DT, clang::Expr **InitExpr) argument 1440 clang::VarDecl *VD = static_cast<clang::VarDecl*>(D); local 1512 clang::VarDecl *VD = llvm::dyn_cast<clang::VarDecl>(*I); local [all...] |
H A D | slang_rs_export_type.h | 130 const clang::VarDecl *VD); 134 static bool ValidateVarDecl(clang::VarDecl *VD); 139 const clang::VarDecl *VD);
|
H A D | slang_rs_context.h | 88 bool processExportVar(const clang::VarDecl *VD);
|