Home
last modified time | relevance | path

Searched refs:FunctionDecl (Results 1 – 22 of 22) sorted by relevance

/frameworks/compile/slang/
Dslang_rs_export_foreach.h32 class FunctionDecl; variable
86 const clang::FunctionDecl *FD);
89 const clang::FunctionDecl *FD);
92 const clang::FunctionDecl *FD);
95 const clang::FunctionDecl *FD,
99 const clang::FunctionDecl *FD);
102 const clang::FunctionDecl *FD);
182 const clang::FunctionDecl *FD);
185 const clang::FunctionDecl *FD);
Dslang_rs_special_func.h30 inline bool isInitRSFunc(const clang::FunctionDecl *FD) { in isInitRSFunc()
39 inline bool isDtorRSFunc(const clang::FunctionDecl *FD) { in isDtorRSFunc()
49 const clang::FunctionDecl *FD);
52 const clang::FunctionDecl *FD) { in isSpecialRSFunc()
59 const clang::FunctionDecl *FD);
Dslang_rs_foreach_lowering.h26 class FunctionDecl; variable
42 void handleForEachCalls(clang::FunctionDecl* FD, unsigned int targetAPI);
55 const clang::FunctionDecl* matchFunctionDesignator(clang::Expr* expr);
56 const clang::FunctionDecl* matchKernelLaunchCall(clang::CallExpr* CE,
59 clang::FunctionDecl* CreateForEachInternalFunctionDecl();
Dslang_rs_foreach_lowering.cpp45 const clang::FunctionDecl* RSForEachLowering::matchFunctionDesignator( in matchFunctionDesignator()
67 const clang::FunctionDecl* FD = in matchFunctionDesignator()
68 clang::dyn_cast<clang::FunctionDecl>(DRE->getDecl()); in matchFunctionDesignator()
95 const clang::FunctionDecl* RSForEachLowering::matchKernelLaunchCall( in matchKernelLaunchCall()
98 const clang::FunctionDecl* FD = clang::dyn_cast<clang::FunctionDecl>(D); in matchKernelLaunchCall()
121 const clang::FunctionDecl* kernel = matchFunctionDesignator(arg0); in matchKernelLaunchCall()
143 clang::FunctionDecl* RSForEachLowering::CreateForEachInternalFunctionDecl() { in CreateForEachInternalFunctionDecl()
172 clang::FunctionDecl* FD = clang::FunctionDecl::Create( in CreateForEachInternalFunctionDecl()
199 clang::FunctionDecl* FDNew = CreateForEachInternalFunctionDecl(); in CreateCalleeExprForInternalForEach()
224 const clang::FunctionDecl* kernel = matchKernelLaunchCall(CE, &slot, &hasOptions); in VisitCallExpr()
[all …]
Dslang_rs_object_ref_count.h114 static clang::FunctionDecl *RSSetObjectFD[];
115 static clang::FunctionDecl *RSClearObjectFD[];
171 void HandleParamsAndLocals(clang::FunctionDecl *FD);
173 static clang::FunctionDecl *GetRSSetObjectFD(DataType DT) { in GetRSSetObjectFD()
183 static clang::FunctionDecl *GetRSSetObjectFD(const clang::Type *T) { in GetRSSetObjectFD()
187 static clang::FunctionDecl *GetRSClearObjectFD(DataType DT) { in GetRSClearObjectFD()
197 static clang::FunctionDecl *GetRSClearObjectFD(const clang::Type *T) { in GetRSClearObjectFD()
290 clang::FunctionDecl *CreateStaticGlobalDtor();
Dslang_rs_check_ast.cpp43 clang::FunctionDecl *Decl; in WarnOnSetElementAt()
44 Decl = clang::dyn_cast_or_null<clang::FunctionDecl>(E->getCalleeDecl()); in WarnOnSetElementAt()
149 void RSCheckAST::ValidateFunctionDecl(clang::FunctionDecl *FD) { in ValidateFunctionDecl()
239 } else if (clang::FunctionDecl *FD = in VisitDeclStmt()
240 llvm::dyn_cast<clang::FunctionDecl>(*I)) { in VisitDeclStmt()
302 } else if (clang::FunctionDecl *FD = in Validate()
303 llvm::dyn_cast<clang::FunctionDecl>(*DI)) { in Validate()
Dslang_rs_export_foreach.cpp41 bool isRootRSFunc(const clang::FunctionDecl *FD) { in isRootRSFunc()
55 RSContext *Context, const clang::FunctionDecl *FD) { in validateAndConstructParams()
87 RSContext *Context, const clang::FunctionDecl *FD) { in validateAndConstructOldStyleParams()
165 RSContext *Context, const clang::FunctionDecl *FD) { in validateAndConstructKernelParams()
254 RSContext *Context, const clang::FunctionDecl *FD, in processSpecialParameters()
269 const clang::FunctionDecl *FD) { in setSignatureMetadata()
310 const clang::FunctionDecl *FD) { in Create()
435 const clang::FunctionDecl *FD) { in isRSForEachFunc()
474 const clang::FunctionDecl *FD) { in getNumInputs()
Dslang_rs_context.h45 class FunctionDecl; variable
49 class FunctionDecl; variable
108 bool processExportFunc(const clang::FunctionDecl *FD);
131 std::set<const clang::FunctionDecl *> mUsedByReducePragmaFns;
205 bool addForEach(const clang::FunctionDecl* FD);
254 int getForEachSlotNumber(const clang::FunctionDecl* FD);
275 void markUsedByReducePragma(clang::FunctionDecl *FD, CheckName Check);
Dslang_rs_context.cpp96 int RSContext::getForEachSlotNumber(const clang::FunctionDecl* FD) { in getForEachSlotNumber()
109 bool RSContext::processExportFunc(const clang::FunctionDecl *FD) { in processExportFunc()
161 bool RSContext::addForEach(const clang::FunctionDecl* FD) { in addForEach()
266 clang::FunctionDecl* FD = llvm::dyn_cast<clang::FunctionDecl>(D); in processExports()
321 void RSContext::markUsedByReducePragma(clang::FunctionDecl *FD, CheckName Check) { in markUsedByReducePragma()
Dslang_backend.h47 class FunctionDecl; variable
111 void AnnotateFunction(clang::FunctionDecl *FD);
124 void LowerRSForEachCall(clang::FunctionDecl* FD, bool isKernel);
Dslang_rs_export_reduce.h28 class FunctionDecl; variable
112 …static void checkVoidReturn(StateOfAnalyzeTranslationUnit &S, FnIdent Kind, clang::FunctionDecl *F…
114 clang::FunctionDecl *lookupFunction(StateOfAnalyzeTranslationUnit &S,
Dslang_rs_special_func.cpp28 const clang::FunctionDecl *FD) { in isGraphicsRootRSFunc()
56 clang::FunctionDecl const *FD) { in validateSpecialFuncDecl()
Dslang_rs_export_func.h50 const clang::FunctionDecl *FD) in RSExportFunc()
68 const clang::FunctionDecl *FD);
Dslang_rs_export_reduce.cpp141 clang::FunctionDecl *FnInitializer;
142 clang::FunctionDecl *FnAccumulator;
143 clang::FunctionDecl *FnCombiner;
144 clang::FunctionDecl *FnOutConverter;
145 clang::FunctionDecl *FnHalter;
161 clang::FunctionDecl *RSExportReduce::lookupFunction(StateOfAnalyzeTranslationUnit &S, in lookupFunction()
169 clang::FunctionDecl *Ret = nullptr; in lookupFunction()
173 clang::FunctionDecl *FDecl = Decl->getAsFunction(); in lookupFunction()
221 FnIdent Kind, clang::FunctionDecl *Fn) { in checkVoidReturn()
Dslang_rs_export_func.cpp36 const clang::FunctionDecl *FD) { in ValidateFuncDecl()
51 const clang::FunctionDecl *FD) { in Create()
Dslang_rs_special_kernel_param.h36 const clang::FunctionDecl *FD,
Dslang_rs_object_ref_count.cpp37 clang::FunctionDecl *
39 clang::FunctionDecl *
54 clang::FunctionDecl *FD = static_cast<clang::FunctionDecl*>(*I); in GetRSRefCountingFunctions()
57 clang::FunctionDecl **RSObjectFD; in GetRSRefCountingFunctions()
272 clang::FunctionDecl *ClearObjectFD = RSObjectRefCount::GetRSClearObjectFD(T); in ClearSingleRSObject()
685 clang::FunctionDecl *SetObjectFD = RSObjectRefCount::GetRSSetObjectFD(T); in CreateSingleRSSetObject()
1131 clang::FunctionDecl *SetObjectFD = RSObjectRefCount::GetRSSetObjectFD(DT); in AppendRSObjectInit()
1441 void RSObjectRefCount::HandleParamsAndLocals(clang::FunctionDecl *FD) { in HandleParamsAndLocals()
1541 const clang::FunctionDecl* FD = CE->getDirectCallee(); in VisitCallExpr()
1735 clang::FunctionDecl *RSObjectRefCount::CreateStaticGlobalDtor() { in CreateStaticGlobalDtor()
[all …]
Dslang_backend.cpp601 void Backend::AnnotateFunction(clang::FunctionDecl *FD) { in AnnotateFunction()
634 clang::FunctionDecl *FD = llvm::dyn_cast<clang::FunctionDecl>(*I); in HandleTopLevelDecl()
648 clang::FunctionDecl *FD = llvm::dyn_cast<clang::FunctionDecl>(*I); in HandleTopLevelDecl()
731 clang::FunctionDecl *FD = mRefCount.CreateStaticGlobalDtor(); in HandleTranslationUnitPre()
741 clang::FunctionDecl *FD = llvm::dyn_cast<clang::FunctionDecl>(*I); in HandleTranslationUnitPre()
Dslang_rs_check_ast.h70 void ValidateFunctionDecl(clang::FunctionDecl *FD);
Dslang_rs_special_kernel_param.cpp99 const clang::FunctionDecl *FD, in processSpecialKernelParameters()
Dslang_rs_pragma_handler.cpp241 clang::FunctionDecl *FDecl = Decl->getAsFunction(); in MarkUsed()
/frameworks/native/vulkan/api/templates/
Dvulkan_h.tmpl169 {{Macro "FunctionDecl" $f}}
288 {{define "FunctionDecl"}}