Home
last modified time | relevance | path

Searched refs:HLSLBufferDecl (Results 1 – 20 of 20) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaHLSL.cpp21 HLSLBufferDecl *Result = HLSLBufferDecl::Create( in ActOnStartHLSLBuffer()
31 auto *BufDecl = cast<HLSLBufferDecl>(Dcl); in ActOnFinishHLSLBuffer()
H A DIdentifierResolver.cpp108 if (LangOpt.HLSL && isa<HLSLBufferDecl>(D)) in isDeclInScope()
H A DSemaLookup.cpp525 if ((D->isInvalidDecl() || isa<HLSLBufferDecl>(D)) && in resolveKind()
H A DSemaTemplateInstantiateDecl.cpp920 Decl *TemplateDeclInstantiator::VisitHLSLBufferDecl(HLSLBufferDecl *Decl) { in VisitHLSLBufferDecl()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGHLSLRuntime.h38 class HLSLBufferDecl; variable
60 Buffer(const HLSLBufferDecl *D);
83 void addBuffer(const HLSLBufferDecl *D);
H A DCGHLSLRuntime.cpp157 void CGHLSLRuntime::addBuffer(const HLSLBufferDecl *D) { in addBuffer()
190 CGHLSLRuntime::Buffer::Buffer(const HLSLBufferDecl *D) in Buffer()
H A DCodeGenModule.cpp7016 getHLSLRuntime().addBuffer(cast<HLSLBufferDecl>(D)); in EmitTopLevelDecl()
/freebsd-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParseHLSL.cpp36 if (isa<HLSLBufferDecl, NamespaceDecl>(D)) { in validateDeclsInsideHLSLBuffer()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DDecl.h4893 class HLSLBufferDecl final : public NamedDecl, public DeclContext {
4903 HLSLBufferDecl(DeclContext *DC, bool CBuffer, SourceLocation KwLoc,
4908 static HLSLBufferDecl *Create(ASTContext &C, DeclContext *LexicalParent,
4912 static HLSLBufferDecl *CreateDeserialized(ASTContext &C, unsigned ID);
4926 static DeclContext *castToDeclContext(const HLSLBufferDecl *D) { in castToDeclContext()
4927 return static_cast<DeclContext *>(const_cast<HLSLBufferDecl *>(D)); in castToDeclContext()
4929 static HLSLBufferDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext()
4930 return static_cast<HLSLBufferDecl *>(const_cast<DeclContext *>(DC)); in castFromDeclContext()
H A DTextNodeDumper.h395 void VisitHLSLBufferDecl(const HLSLBufferDecl *D);
H A DJSONNodeDumper.h260 void VisitHLSLBufferDecl(const HLSLBufferDecl *D);
H A DRecursiveASTVisitor.h1528 DEF_TRAVERSE_DECL(HLSLBufferDecl, {})
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DDecl.cpp5559 HLSLBufferDecl::HLSLBufferDecl(DeclContext *DC, bool CBuffer, in HLSLBufferDecl() function in HLSLBufferDecl
5566 HLSLBufferDecl *HLSLBufferDecl::Create(ASTContext &C, in Create()
5583 HLSLBufferDecl *Result = in Create()
5584 new (C, DC) HLSLBufferDecl(DC, CBuffer, KwLoc, ID, IDLoc, LBrace); in Create()
5588 HLSLBufferDecl *HLSLBufferDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized()
5589 return new (C, ID) HLSLBufferDecl(nullptr, false, SourceLocation(), nullptr, in CreateDeserialized()
H A DDeclPrinter.cpp124 void VisitHLSLBufferDecl(HLSLBufferDecl *D);
558 ObjCCategoryDecl, HLSLBufferDecl>(*D)) in VisitDeclContext()
1804 void DeclPrinter::VisitHLSLBufferDecl(HLSLBufferDecl *D) { in VisitHLSLBufferDecl()
H A DDeclBase.cpp1303 return isa<LinkageSpecDecl, ExportDecl, HLSLBufferDecl>(this); in isTransparentContext()
H A DJSONNodeDumper.cpp981 void JSONNodeDumper::VisitHLSLBufferDecl(const HLSLBufferDecl *D) { in VisitHLSLBufferDecl()
H A DTextNodeDumper.cpp2618 void TextNodeDumper::VisitHLSLBufferDecl(const HLSLBufferDecl *D) { in VisitHLSLBufferDecl()
/freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp337 void VisitHLSLBufferDecl(HLSLBufferDecl *D);
1869 void ASTDeclReader::VisitHLSLBufferDecl(HLSLBufferDecl *D) { in VisitHLSLBufferDecl()
4114 D = HLSLBufferDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
H A DASTWriterDecl.cpp138 void VisitHLSLBufferDecl(HLSLBufferDecl *D);
2007 void ASTDeclWriter::VisitHLSLBufferDecl(HLSLBufferDecl *D) { in VisitHLSLBufferDecl()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DAttr.td164 [{isa<HLSLBufferDecl>(S)}],