Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaHLSL.cpp21 HLSLBufferDecl *Result = HLSLBufferDecl::Create( in ActOnStartHLSLBuffer()
31 auto *BufDecl = cast<HLSLBufferDecl>(Dcl); in ActOnFinishHLSLBuffer()
H A DIdentifierResolver.cpp105 if (LangOpt.HLSL && isa<HLSLBufferDecl>(D)) in isDeclInScope()
H A DSemaLookup.cpp525 if ((D->isInvalidDecl() || isa<HLSLBufferDecl>(D)) && !(I == 0 && N == 1)) { in resolveKind()
H A DSemaTemplateInstantiateDecl.cpp880 Decl *TemplateDeclInstantiator::VisitHLSLBufferDecl(HLSLBufferDecl *Decl) { in VisitHLSLBufferDecl()
/openbsd-src/gnu/llvm/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()
191 CGHLSLRuntime::Buffer::Buffer(const HLSLBufferDecl *D) in Buffer()
H A DCodeGenModule.cpp6573 getHLSLRuntime().addBuffer(cast<HLSLBufferDecl>(D)); in EmitTopLevelDecl()
/openbsd-src/gnu/llvm/clang/lib/Parse/
H A DParseHLSL.cpp36 if (isa<HLSLBufferDecl, NamespaceDecl>(D)) { in validateDeclsInsideHLSLBuffer()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DDecl.h4778 class HLSLBufferDecl final : public NamedDecl, public DeclContext {
4788 HLSLBufferDecl(DeclContext *DC, bool CBuffer, SourceLocation KwLoc,
4793 static HLSLBufferDecl *Create(ASTContext &C, DeclContext *LexicalParent,
4797 static HLSLBufferDecl *CreateDeserialized(ASTContext &C, unsigned ID);
4811 static DeclContext *castToDeclContext(const HLSLBufferDecl *D) { in castToDeclContext()
4812 return static_cast<DeclContext *>(const_cast<HLSLBufferDecl *>(D)); in castToDeclContext()
4814 static HLSLBufferDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext()
4815 return static_cast<HLSLBufferDecl *>(const_cast<DeclContext *>(DC)); in castFromDeclContext()
H A DTextNodeDumper.h386 void VisitHLSLBufferDecl(const HLSLBufferDecl *D);
H A DJSONNodeDumper.h252 void VisitHLSLBufferDecl(const HLSLBufferDecl *D);
H A DRecursiveASTVisitor.h1537 DEF_TRAVERSE_DECL(HLSLBufferDecl, {})
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DDecl.cpp5302 HLSLBufferDecl::HLSLBufferDecl(DeclContext *DC, bool CBuffer, in HLSLBufferDecl() function in HLSLBufferDecl
5309 HLSLBufferDecl *HLSLBufferDecl::Create(ASTContext &C, in Create()
5326 HLSLBufferDecl *Result = in Create()
5327 new (C, DC) HLSLBufferDecl(DC, CBuffer, KwLoc, ID, IDLoc, LBrace); in Create()
5331 HLSLBufferDecl *HLSLBufferDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized()
5332 return new (C, ID) HLSLBufferDecl(nullptr, false, SourceLocation(), nullptr, in CreateDeserialized()
H A DDeclPrinter.cpp112 void VisitHLSLBufferDecl(HLSLBufferDecl *D);
469 ObjCCategoryDecl, HLSLBufferDecl>(*D)) in VisitDeclContext()
1665 void DeclPrinter::VisitHLSLBufferDecl(HLSLBufferDecl *D) { in VisitHLSLBufferDecl()
H A DDeclBase.cpp1212 return isa<LinkageSpecDecl, ExportDecl, HLSLBufferDecl>(this); in isTransparentContext()
H A DJSONNodeDumper.cpp923 void JSONNodeDumper::VisitHLSLBufferDecl(const HLSLBufferDecl *D) { in VisitHLSLBufferDecl()
H A DTextNodeDumper.cpp2408 void TextNodeDumper::VisitHLSLBufferDecl(const HLSLBufferDecl *D) { in VisitHLSLBufferDecl()
/openbsd-src/gnu/llvm/clang/lib/Serialization/
H A DASTReaderDecl.cpp325 void VisitHLSLBufferDecl(HLSLBufferDecl *D);
1792 void ASTDeclReader::VisitHLSLBufferDecl(HLSLBufferDecl *D) { in VisitHLSLBufferDecl()
3949 D = HLSLBufferDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
H A DASTWriterDecl.cpp140 void VisitHLSLBufferDecl(HLSLBufferDecl *D);
1895 void ASTDeclWriter::VisitHLSLBufferDecl(HLSLBufferDecl *D) { in VisitHLSLBufferDecl()
/openbsd-src/gnu/llvm/clang/include/clang/Basic/
H A DAttr.td155 [{isa<HLSLBufferDecl>(S)}],