Searched refs:FD (Results 1 - 14 of 14) sorted by relevance

/frameworks/compile/slang/
H A Dslang_rs_export_foreach.h58 const clang::FunctionDecl *FD)
68 const clang::FunctionDecl *FD);
72 const clang::FunctionDecl *FD);
124 inline static bool isInitRSFunc(const clang::FunctionDecl *FD) { argument
125 if (!FD) {
128 const llvm::StringRef Name = FD->getName();
133 inline static bool isRootRSFunc(const clang::FunctionDecl *FD) { argument
134 if (!FD) {
137 const llvm::StringRef Name = FD->getName();
142 inline static bool isDtorRSFunc(const clang::FunctionDecl *FD) { argument
57 RSExportForEach(RSContext *Context, const llvm::StringRef &Name, const clang::FunctionDecl *FD) argument
153 isSpecialRSFunc(const clang::FunctionDecl *FD) argument
[all...]
H A Dslang_rs_export_foreach.cpp56 RSContext *Context, const clang::FunctionDecl *FD) {
57 slangAssert(Context && FD);
62 if (!isRootRSFunc(FD)) {
66 numParams = FD->getNumParams();
70 if (FD->getResultType().getCanonicalType() != C.VoidTy) {
72 clang::FullSourceLoc(FD->getLocation(), DiagEngine->getSourceManager()),
83 const clang::ParmVarDecl *PVD = FD->getParamDecl(i);
94 PVD = FD->getParamDecl(i);
104 clang::FullSourceLoc(FD->getLocation(),
114 PVD = FD
55 validateAndConstructParams( RSContext *Context, const clang::FunctionDecl *FD) argument
209 Create(RSContext *Context, const clang::FunctionDecl *FD) argument
250 clang::FieldDecl *FD = local
297 isRSForEachFunc(int targetAPI, const clang::FunctionDecl *FD) argument
324 validateSpecialFuncDecl(int targetAPI, clang::DiagnosticsEngine *DiagEngine, clang::FunctionDecl const *FD) argument
[all...]
H A Dslang_rs_export_func.cpp36 const clang::FunctionDecl *FD) {
37 slangAssert(DiagEngine && FD);
38 const clang::ASTContext &C = FD->getASTContext();
39 if (FD->getResultType().getCanonicalType() != C.VoidTy) {
41 clang::FullSourceLoc(FD->getLocation(), DiagEngine->getSourceManager()),
53 const clang::FunctionDecl *FD) {
54 llvm::StringRef Name = FD->getName();
59 if (!ValidateFuncDecl(Context->getDiagnostics(), FD)) {
63 F = new RSExportFunc(Context, Name, FD);
66 if (FD
35 ValidateFuncDecl(clang::DiagnosticsEngine *DiagEngine, const clang::FunctionDecl *FD) argument
52 Create(RSContext *Context, const clang::FunctionDecl *FD) argument
91 clang::FieldDecl *FD = local
[all...]
H A Dslang_rs_export_func.h54 const clang::FunctionDecl *FD)
61 mShouldMangle = Context->getMangleContext().shouldMangleDeclName(FD);
65 Context->getMangleContext().mangleName(FD, BufStm);
74 const clang::FunctionDecl *FD);
53 RSExportFunc(RSContext *Context, const llvm::StringRef &Name, const clang::FunctionDecl *FD) argument
H A Dslang_rs_context.cpp106 bool RSContext::processExportFunc(const clang::FunctionDecl *FD) { argument
107 slangAssert(!FD->getName().empty() && "Function name should not be empty");
109 if (!FD->isThisDeclarationADefinition()) {
113 if (FD->getStorageClass() != clang::SC_None) {
115 "static function '%s'\n", FD->getName().str().c_str());
119 if (RSExportForEach::isRSForEachFunc(mTargetAPI, FD)) {
120 RSExportForEach *EFE = RSExportForEach::Create(this, FD);
126 } else if (RSExportForEach::isSpecialRSFunc(FD)) {
129 getDiagnostics(), FD)) {
135 RSExportFunc *EF = RSExportFunc::Create(this, FD);
211 clang::FunctionDecl *FD = (clang::FunctionDecl*) (*DI); local
[all...]
H A Dslang_rs_backend.cpp67 void RSBackend::AnnotateFunction(clang::FunctionDecl *FD) { argument
68 if (FD &&
69 FD->hasBody() &&
70 !SlangRS::IsFunctionInRSHeaderFile(FD, mSourceMgr)) {
72 mRefCount.Visit(FD->getBody());
83 clang::FunctionDecl *FD = llvm::dyn_cast<clang::FunctionDecl>(*I); local
84 if (FD == NULL)
86 if (!FD->getName().startswith("rs")) // Check prefix
88 if (!SlangRS::IsFunctionInRSHeaderFile(FD, mSourceMgr))
90 clang::FullSourceLoc(FD
100 clang::FunctionDecl *FD = llvm::dyn_cast<clang::FunctionDecl>(*I); local
171 clang::FunctionDecl *FD = mRefCount.CreateStaticGlobalDtor(); local
181 clang::FunctionDecl *FD = llvm::dyn_cast<clang::FunctionDecl>(*I); local
[all...]
H A Dslang_rs_backend.h59 void AnnotateFunction(clang::FunctionDecl *FD);
H A Dslang_rs_object_ref_count.cpp56 clang::FunctionDecl *FD = static_cast<clang::FunctionDecl*>(*I); local
61 if (FD->getName() == "rsSetObject") {
62 slangAssert((FD->getNumParams() == 2) &&
65 } else if (FD->getName() == "rsClearObject") {
66 slangAssert((FD->getNumParams() == 1) &&
73 const clang::ParmVarDecl *PVD = FD->getParamDecl(0);
79 // The rs object type passed to the FD
86 RSObjectFD[(DT - RSExportPrimitiveType::FirstRSObjectType)] = FD;
632 const clang::FieldDecl *FD = *FI; local
633 const clang::Type *FT = RSExportType::GetTypeOfDecl(FD);
651 const clang::FieldDecl *FD = *FI; local
694 clang::FieldDecl *FD = *FI; local
1018 clang::FieldDecl *FD = *FI; local
1505 clang::FunctionDecl *FD = NULL; local
[all...]
H A Dslang_rs.h95 static bool IsFunctionInRSHeaderFile(const clang::FunctionDecl *FD,
H A Dslang_rs_export_type.cpp193 const clang::FieldDecl *FD = *FI; local
194 const clang::Type *FT = RSExportType::GetTypeOfDecl(FD);
204 if (FD->isBitField()) {
207 clang::FullSourceLoc(FD->getLocation(),
213 << FD->getName();
347 const clang::FieldDecl *FD = *FI; local
348 const clang::Type *FT = RSExportType::GetTypeOfDecl(FD);
757 const clang::FieldDecl *FD = *FI; local
758 const clang::Type *FT = RSExportType::GetTypeOfDecl(FD);
1113 const clang::FieldDecl *FD local
1289 clang::FieldDecl *FD = *FI; local
[all...]
H A Dslang_rs.cpp240 bool SlangRS::IsFunctionInRSHeaderFile(const clang::FunctionDecl *FD, argument
242 clang::FullSourceLoc FSL(FD->getLocStart(), SourceMgr);
H A Dslang_rs_context.h89 bool processExportFunc(const clang::FunctionDecl *FD);
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/api/
H A DarmCOMM_s.h754 LDM$cc.FD sp!, {$_RRegList, pc}
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/api/
H A DarmCOMM_s.h757 LDM$cc.FD sp!, {$_RRegList, pc}

Completed in 100 milliseconds