/frameworks/compile/slang/ |
D | slang_rs_export_foreach.cpp | 38 RSContext *Context, const clang::FunctionDecl *FD) { in validateAndConstructParams() argument 39 slangAssert(Context && FD); in validateAndConstructParams() 42 numParams = FD->getNumParams(); in validateAndConstructParams() 46 if (!isRootRSFunc(FD)) { in validateAndConstructParams() 47 Context->ReportError(FD->getLocation(), in validateAndConstructParams() 50 << FD->getName() << SLANG_MINIMUM_TARGET_API in validateAndConstructParams() 56 mResultType = FD->getReturnType().getCanonicalType(); in validateAndConstructParams() 59 if (FD->hasAttr<clang::KernelAttr>()) { in validateAndConstructParams() 60 valid |= validateAndConstructKernelParams(Context, FD); in validateAndConstructParams() 62 valid |= validateAndConstructOldStyleParams(Context, FD); in validateAndConstructParams() [all …]
|
D | slang_rs_export_foreach.h | 80 const clang::FunctionDecl *FD); 83 const clang::FunctionDecl *FD); 86 const clang::FunctionDecl *FD); 89 const clang::FunctionDecl *FD, 93 const clang::FunctionDecl *FD); 96 const clang::FunctionDecl *FD); 162 inline static bool isInitRSFunc(const clang::FunctionDecl *FD) { in isInitRSFunc() argument 163 if (!FD) { in isInitRSFunc() 166 const llvm::StringRef Name = FD->getName(); in isInitRSFunc() 171 inline static bool isRootRSFunc(const clang::FunctionDecl *FD) { in isRootRSFunc() argument [all …]
|
D | slang_rs_export_func.cpp | 36 const clang::FunctionDecl *FD) { in ValidateFuncDecl() argument 37 slangAssert(Context && FD); in ValidateFuncDecl() 38 const clang::ASTContext &C = FD->getASTContext(); in ValidateFuncDecl() 39 if (FD->getReturnType().getCanonicalType() != C.VoidTy) { in ValidateFuncDecl() 41 FD->getLocation(), in ValidateFuncDecl() 51 const clang::FunctionDecl *FD) { in Create() argument 52 llvm::StringRef Name = FD->getName(); in Create() 57 if (!ValidateFuncDecl(Context, FD)) { in Create() 61 F = new RSExportFunc(Context, Name, FD); in Create() 64 if (FD->getNumParams() <= 0) { in Create() [all …]
|
D | slang_rs_context.cpp | 88 bool RSContext::processExportFunc(const clang::FunctionDecl *FD) { in processExportFunc() argument 89 slangAssert(!FD->getName().empty() && "Function name should not be empty"); in processExportFunc() 91 if (!FD->isThisDeclarationADefinition()) { in processExportFunc() 95 if (FD->getStorageClass() != clang::SC_None) { in processExportFunc() 97 "static function '%s'\n", FD->getName().str().c_str()); in processExportFunc() 101 if (RSExportForEach::isSpecialRSFunc(mTargetAPI, FD)) { in processExportFunc() 103 return RSExportForEach::validateSpecialFuncDecl(mTargetAPI, this, FD); in processExportFunc() 104 } else if (RSExportForEach::isRSForEachFunc(mTargetAPI, this, FD)) { in processExportFunc() 105 RSExportForEach *EFE = RSExportForEach::Create(this, FD); in processExportFunc() 113 RSExportFunc *EF = RSExportFunc::Create(this, FD); in processExportFunc() [all …]
|
D | slang_rs_backend.cpp | 75 void RSBackend::AnnotateFunction(clang::FunctionDecl *FD) { in AnnotateFunction() argument 76 if (FD && in AnnotateFunction() 77 FD->hasBody() && in AnnotateFunction() 78 !SlangRS::IsLocInRSHeaderFile(FD->getLocation(), mSourceMgr)) { in AnnotateFunction() 80 mRefCount.Visit(FD->getBody()); in AnnotateFunction() 90 clang::FunctionDecl *FD = llvm::dyn_cast<clang::FunctionDecl>(*I); in HandleTopLevelDecl() local 91 if (FD == NULL) in HandleTopLevelDecl() 93 if (!FD->getName().startswith("rs")) // Check prefix in HandleTopLevelDecl() 95 if (!SlangRS::IsLocInRSHeaderFile(FD->getLocation(), mSourceMgr)) in HandleTopLevelDecl() 96 mContext->ReportError(FD->getLocation(), in HandleTopLevelDecl() [all …]
|
D | slang_rs_check_ast.cpp | 146 void RSCheckAST::ValidateFunctionDecl(clang::FunctionDecl *FD) { in ValidateFunctionDecl() argument 147 if (!FD) { in ValidateFunctionDecl() 153 size_t numParams = FD->getNumParams(); in ValidateFunctionDecl() 155 clang::QualType resultType = FD->getReturnType().getCanonicalType(); in ValidateFunctionDecl() 158 if (!RSExportType::ValidateType(Context, C, resultType, FD, in ValidateFunctionDecl() 159 FD->getLocStart(), mTargetAPI, in ValidateFunctionDecl() 165 clang::ParmVarDecl *PVD = FD->getParamDecl(i); in ValidateFunctionDecl() 175 mInKernel = RSExportForEach::isRSForEachFunc(mTargetAPI, Context, FD); in ValidateFunctionDecl() 177 if (clang::Stmt *Body = FD->getBody()) { in ValidateFunctionDecl() 228 } else if (clang::FunctionDecl *FD = in VisitDeclStmt() local [all …]
|
D | slang_rs_export_func.h | 54 const clang::FunctionDecl *FD) in RSExportFunc() argument 61 mShouldMangle = Context->getMangleContext().shouldMangleDeclName(FD); in RSExportFunc() 65 Context->getMangleContext().mangleName(FD, BufStm); in RSExportFunc() 72 const clang::FunctionDecl *FD);
|
D | slang_rs_object_ref_count.cpp | 55 clang::FunctionDecl *FD = static_cast<clang::FunctionDecl*>(*I); in GetRSRefCountingFunctions() local 60 if (FD->getName() == "rsSetObject") { in GetRSRefCountingFunctions() 61 slangAssert((FD->getNumParams() == 2) && in GetRSRefCountingFunctions() 64 } else if (FD->getName() == "rsClearObject") { in GetRSRefCountingFunctions() 65 slangAssert((FD->getNumParams() == 1) && in GetRSRefCountingFunctions() 72 const clang::ParmVarDecl *PVD = FD->getParamDecl(0); in GetRSRefCountingFunctions() 85 RSObjectFD[DT] = FD; in GetRSRefCountingFunctions() 620 const clang::FieldDecl *FD = *FI; in CountRSObjectTypes() local 621 const clang::Type *FT = RSExportType::GetTypeOfDecl(FD); in CountRSObjectTypes() 639 const clang::FieldDecl *FD = *FI; in CountRSObjectTypes() local [all …]
|
D | slang_rs_export_type.cpp | 307 const clang::FieldDecl *FD = *FI; in TypeExportableHelper() local 308 const clang::Type *FT = RSExportType::GetTypeOfDecl(FD); in TypeExportableHelper() 318 if (FD->isBitField()) { in TypeExportableHelper() 320 FD->getLocation(), in TypeExportableHelper() 322 << RD->getName() << FD->getName(); in TypeExportableHelper() 516 const clang::FieldDecl *FD = *FI; in ValidateTypeHelper() local 517 const clang::Type *FT = RSExportType::GetTypeOfDecl(FD); in ValidateTypeHelper() 983 const clang::FieldDecl *FD = *FI; in IsStructureTypeWithRSObject() local 984 const clang::Type *FT = RSExportType::GetTypeOfDecl(FD); in IsStructureTypeWithRSObject() 1294 const clang::FieldDecl *FD = *FIT; in Create() local [all …]
|
D | slang_rs_check_ast.h | 70 void ValidateFunctionDecl(clang::FunctionDecl *FD);
|
D | slang_rs_backend.h | 64 void AnnotateFunction(clang::FunctionDecl *FD);
|
D | slang_rs_context.h | 95 bool processExportFunc(const clang::FunctionDecl *FD);
|
/frameworks/native/opengl/specs/ |
D | EGL_ANDROID_native_fence_sync.txt | 235 FD attribute. We could do this with either a new sync object type or with a
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/api/ |
D | armCOMM_s.h | 757 LDM$cc.FD sp!, {$_RRegList, pc}
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/api/ |
D | armCOMM_s.h | 754 LDM$cc.FD sp!, {$_RRegList, pc}
|