Home
last modified time | relevance | path

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

/src/contrib/llvm-project/clang/lib/CodeGen/
H A DCGHLSLRuntime.h58 class HLSLBufferDecl; variable
94 Buffer(const HLSLBufferDecl *D);
117 void addBuffer(const HLSLBufferDecl *D);
H A DCGHLSLRuntime.cpp160 void CGHLSLRuntime::addBuffer(const HLSLBufferDecl *D) { in addBuffer()
193 CGHLSLRuntime::Buffer::Buffer(const HLSLBufferDecl *D) in Buffer()
H A DCodeGenModule.cpp7162 getHLSLRuntime().addBuffer(cast<HLSLBufferDecl>(D)); in EmitTopLevelDecl()
/src/contrib/llvm-project/clang/lib/Sema/
H A DSemaHLSL.cpp38 HLSLBufferDecl *Result = HLSLBufferDecl::Create( in ActOnStartBuffer()
83 auto *BufDecl = cast<HLSLBufferDecl>(Dcl); in ActOnFinishBuffer()
372 if (!isa<VarDecl>(D) || !isa<HLSLBufferDecl>(D->getDeclContext())) { in handlePackOffsetAttr()
H A DIdentifierResolver.cpp108 if (LangOpt.HLSL && isa<HLSLBufferDecl>(D)) in isDeclInScope()
H A DSemaLookup.cpp527 if ((D->isInvalidDecl() || isa<HLSLBufferDecl>(D)) && in resolveKind()
H A DSemaTemplateInstantiateDecl.cpp945 Decl *TemplateDeclInstantiator::VisitHLSLBufferDecl(HLSLBufferDecl *Decl) { in VisitHLSLBufferDecl()
/src/contrib/llvm-project/clang/include/clang/AST/
H A DDecl.h4920 class HLSLBufferDecl final : public NamedDecl, public DeclContext {
4930 HLSLBufferDecl(DeclContext *DC, bool CBuffer, SourceLocation KwLoc,
4935 static HLSLBufferDecl *Create(ASTContext &C, DeclContext *LexicalParent,
4939 static HLSLBufferDecl *CreateDeserialized(ASTContext &C, GlobalDeclID ID);
4953 static DeclContext *castToDeclContext(const HLSLBufferDecl *D) { in castToDeclContext()
4954 return static_cast<DeclContext *>(const_cast<HLSLBufferDecl *>(D)); in castToDeclContext()
4956 static HLSLBufferDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext()
4957 return static_cast<HLSLBufferDecl *>(const_cast<DeclContext *>(DC)); in castFromDeclContext()
H A DTextNodeDumper.h409 void VisitHLSLBufferDecl(const HLSLBufferDecl *D);
H A DJSONNodeDumper.h263 void VisitHLSLBufferDecl(const HLSLBufferDecl *D);
H A DRecursiveASTVisitor.h1583 DEF_TRAVERSE_DECL(HLSLBufferDecl, {})
/src/contrib/llvm-project/clang/lib/Parse/
H A DParseHLSL.cpp37 if (isa<HLSLBufferDecl, NamespaceDecl>(D)) { in validateDeclsInsideHLSLBuffer()
/src/contrib/llvm-project/clang/lib/AST/
H A DDecl.cpp5629 HLSLBufferDecl::HLSLBufferDecl(DeclContext *DC, bool CBuffer, in HLSLBufferDecl() function in HLSLBufferDecl
5636 HLSLBufferDecl *HLSLBufferDecl::Create(ASTContext &C, in Create()
5653 HLSLBufferDecl *Result = in Create()
5654 new (C, DC) HLSLBufferDecl(DC, CBuffer, KwLoc, ID, IDLoc, LBrace); in Create()
5658 HLSLBufferDecl *HLSLBufferDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized()
5660 return new (C, ID) HLSLBufferDecl(nullptr, false, SourceLocation(), nullptr, in CreateDeserialized()
H A DDeclPrinter.cpp113 void VisitHLSLBufferDecl(HLSLBufferDecl *D);
512 ObjCCategoryDecl, HLSLBufferDecl>(*D)) in VisitDeclContext()
1766 void DeclPrinter::VisitHLSLBufferDecl(HLSLBufferDecl *D) { in VisitHLSLBufferDecl()
H A DDeclBase.cpp1367 return isa<LinkageSpecDecl, ExportDecl, HLSLBufferDecl>(this); in isTransparentContext()
H A DJSONNodeDumper.cpp1016 void JSONNodeDumper::VisitHLSLBufferDecl(const HLSLBufferDecl *D) { in VisitHLSLBufferDecl()
H A DTextNodeDumper.cpp2869 void TextNodeDumper::VisitHLSLBufferDecl(const HLSLBufferDecl *D) { in VisitHLSLBufferDecl()
/src/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp332 void VisitHLSLBufferDecl(HLSLBufferDecl *D);
1856 void ASTDeclReader::VisitHLSLBufferDecl(HLSLBufferDecl *D) { in VisitHLSLBufferDecl()
4138 D = HLSLBufferDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
H A DASTWriterDecl.cpp141 void VisitHLSLBufferDecl(HLSLBufferDecl *D);
2090 void ASTDeclWriter::VisitHLSLBufferDecl(HLSLBufferDecl *D) { in VisitHLSLBufferDecl()
/src/contrib/llvm-project/clang/include/clang/Basic/
H A DAttr.td164 [{isa<HLSLBufferDecl>(S)}],