Home
last modified time | relevance | path

Searched refs:OutlinedFunctionDecl (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DStmtSYCL.h43 OutlinedFunctionDecl *OFDecl = nullptr;
47 SYCLKernelCallStmt(CompoundStmt *CS, OutlinedFunctionDecl *OFD) in SYCLKernelCallStmt()
61 OutlinedFunctionDecl *getOutlinedFunctionDecl() { return OFDecl; } in getOutlinedFunctionDecl()
62 const OutlinedFunctionDecl *getOutlinedFunctionDecl() const { return OFDecl; } in getOutlinedFunctionDecl()
65 void setOutlinedFunctionDecl(OutlinedFunctionDecl *OFD) { OFDecl = OFD; } in setOutlinedFunctionDecl()
H A DDecl.h4784 class OutlinedFunctionDecl final
4787 private llvm::TrailingObjects<OutlinedFunctionDecl, ImplicitParamDecl *> {
4795 explicit OutlinedFunctionDecl(DeclContext *DC, unsigned NumParams);
4806 static OutlinedFunctionDecl *Create(ASTContext &C, DeclContext *DC,
4808 static OutlinedFunctionDecl *
4840 static DeclContext *castToDeclContext(const OutlinedFunctionDecl *D) { in castToDeclContext()
4841 return static_cast<DeclContext *>(const_cast<OutlinedFunctionDecl *>(D)); in castToDeclContext()
4843 static OutlinedFunctionDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext()
4844 return static_cast<OutlinedFunctionDecl *>(const_cast<DeclContext *>(DC)); in castFromDeclContext()
H A DASTNodeTraverser.h613 void VisitOutlinedFunctionDecl(const OutlinedFunctionDecl *D) { in VisitOutlinedFunctionDecl()
H A DRecursiveASTVisitor.h1599 DEF_TRAVERSE_DECL(OutlinedFunctionDecl, {
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenSYCL.cpp46 const OutlinedFunctionDecl *OutlinedFnDecl = in EmitSYCLKernelCaller()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaSYCL.cpp438 OutlinedFunctionDecl *OFD = in BuildSYCLKernelCallStmt()
439 OutlinedFunctionDecl::Create(getASTContext(), FD, FD->getNumParams()); in BuildSYCLKernelCallStmt()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDecl.cpp5536 OutlinedFunctionDecl::OutlinedFunctionDecl(DeclContext *DC, unsigned NumParams) in OutlinedFunctionDecl() function in OutlinedFunctionDecl
5541 OutlinedFunctionDecl *OutlinedFunctionDecl::Create(ASTContext &C, in Create()
5545 OutlinedFunctionDecl(DC, NumParams); in Create()
5548 OutlinedFunctionDecl *
5549 OutlinedFunctionDecl::CreateDeserialized(ASTContext &C, GlobalDeclID ID, in CreateDeserialized()
5552 OutlinedFunctionDecl(nullptr, NumParams); in CreateDeserialized()
5555 Stmt *OutlinedFunctionDecl::getBody() const { in getBody()
5558 void OutlinedFunctionDecl::setBody(Stmt *B) { BodyAndNothrow.setPointer(B); } in setBody()
5560 bool OutlinedFunctionDecl::isNothrow() const { return BodyAndNothrow.getInt(); } in isNothrow()
5561 void OutlinedFunctionDecl::setNothrow(bool Nothrow) { in setNothrow()
H A DDeclBase.cpp1267 if (auto *OFD = dyn_cast<OutlinedFunctionDecl>(D)) in getNonClosureContext()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp409 void VisitOutlinedFunctionDecl(OutlinedFunctionDecl *D);
1805 void ASTDeclReader::VisitOutlinedFunctionDecl(OutlinedFunctionDecl *D) { in VisitOutlinedFunctionDecl()
4151 D = OutlinedFunctionDecl::CreateDeserialized(Context, ID, Record.readInt()); in ReadDeclRecord()
H A DASTWriterDecl.cpp148 void VisitOutlinedFunctionDecl(OutlinedFunctionDecl *D);
1494 void ASTDeclWriter::VisitOutlinedFunctionDecl(OutlinedFunctionDecl *D) { in VisitOutlinedFunctionDecl()
H A DASTReaderStmt.cpp530 S->setOutlinedFunctionDecl(readDeclAs<OutlinedFunctionDecl>()); in VisitSYCLKernelCallStmt()