Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGHLSLRuntime.h64 class HLSLBufferDecl; variable
149 void addBuffer(const HLSLBufferDecl *D);
167 void emitBufferGlobalsAndMetadata(const HLSLBufferDecl *BufDecl,
169 void initializeBufferFromBinding(const HLSLBufferDecl *BufDecl,
H A DCGHLSLRuntime.cpp115 void CGHLSLRuntime::emitBufferGlobalsAndMetadata(const HLSLBufferDecl *BufDecl, in emitBufferGlobalsAndMetadata()
186 createBufferHandleType(const HLSLBufferDecl *BufDecl) { in createBufferHandleType()
208 static void fillPackoffsetLayout(const HLSLBufferDecl *BufDecl, in fillPackoffsetLayout()
244 void CGHLSLRuntime::addBuffer(const HLSLBufferDecl *BufDecl) { in addBuffer()
596 void CGHLSLRuntime::initializeBufferFromBinding(const HLSLBufferDecl *BufDecl, in initializeBufferFromBinding()
H A DCodeGenModule.cpp7488 getHLSLRuntime().addBuffer(cast<HLSLBufferDecl>(D)); in EmitTopLevelDecl()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDecl.cpp5781 HLSLBufferDecl::HLSLBufferDecl(DeclContext *DC, bool CBuffer, in HLSLBufferDecl() function in HLSLBufferDecl
5788 HLSLBufferDecl *HLSLBufferDecl::Create(ASTContext &C, in Create()
5805 HLSLBufferDecl *Result = in Create()
5806 new (C, DC) HLSLBufferDecl(DC, CBuffer, KwLoc, ID, IDLoc, LBrace); in Create()
5810 HLSLBufferDecl *
5811 HLSLBufferDecl::CreateDefaultCBuffer(ASTContext &C, DeclContext *LexicalParent, in CreateDefaultCBuffer()
5815 HLSLBufferDecl *Result = new (C, DC) HLSLBufferDecl( in CreateDefaultCBuffer()
5822 HLSLBufferDecl *HLSLBufferDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized()
5824 return new (C, ID) HLSLBufferDecl(nullptr, false, SourceLocation(), nullptr, in CreateDeserialized()
5828 void HLSLBufferDecl::addLayoutStruct(CXXRecordDecl *LS) { in addLayoutStruct()
[all …]
H A DDeclPrinter.cpp114 void VisitHLSLBufferDecl(HLSLBufferDecl *D);
542 ObjCCategoryDecl, HLSLBufferDecl>(*D)) in VisitDeclContext()
1802 void DeclPrinter::VisitHLSLBufferDecl(HLSLBufferDecl *D) { in VisitHLSLBufferDecl()
H A DDeclBase.cpp1401 return isa<LinkageSpecDecl, ExportDecl, HLSLBufferDecl>(this); in isTransparentContext()
H A DJSONNodeDumper.cpp1023 void JSONNodeDumper::VisitHLSLBufferDecl(const HLSLBufferDecl *D) { in VisitHLSLBufferDecl()
H A DTextNodeDumper.cpp3033 void TextNodeDumper::VisitHLSLBufferDecl(const HLSLBufferDecl *D) { in VisitHLSLBufferDecl()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaHLSL.cpp198 HLSLBufferDecl *Result = HLSLBufferDecl::Create( in ActOnStartBuffer()
279 static void validatePackoffset(Sema &S, HLSLBufferDecl *BufDecl) { in validatePackoffset()
546 void createHostLayoutStructForBuffer(Sema &S, HLSLBufferDecl *BufDecl) { in createHostLayoutStructForBuffer()
577 static void addImplicitBindingAttrToBuffer(Sema &S, HLSLBufferDecl *BufDecl, in addImplicitBindingAttrToBuffer()
591 auto *BufDecl = cast<HLSLBufferDecl>(Dcl); in ActOnFinishBuffer()
1542 if (!isa<VarDecl>(D) || !isa<HLSLBufferDecl>(D->getDeclContext())) { in handlePackOffsetAttr()
1862 if (HLSLBufferDecl *CBufferOrTBuffer = dyn_cast<HLSLBufferDecl>(D)) { in DiagnoseLocalRegisterBinding()
1895 bool DeclaredInCOrTBuffer = isa<HLSLBufferDecl>(D->getDeclContext()); in DiagnoseLocalRegisterBinding()
1956 assert(((isa<VarDecl>(D) && !isa<HLSLBufferDecl>(D)) || in DiagnoseHLSLRegisterAttribute()
1957 (!isa<VarDecl>(D) && isa<HLSLBufferDecl>(D))) && in DiagnoseHLSLRegisterAttribute()
[all …]
H A DSemaLookup.cpp530 if ((D->isInvalidDecl() || isa<HLSLBufferDecl>(D)) && in resolveKind()
H A DSemaTemplateInstantiateDecl.cpp1013 Decl *TemplateDeclInstantiator::VisitHLSLBufferDecl(HLSLBufferDecl *Decl) { in VisitHLSLBufferDecl()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDecl.h5102 class HLSLBufferDecl final : public NamedDecl, public DeclContext {
5123 HLSLBufferDecl(DeclContext *DC, bool CBuffer, SourceLocation KwLoc,
5130 static HLSLBufferDecl *Create(ASTContext &C, DeclContext *LexicalParent,
5134 static HLSLBufferDecl *
5137 static HLSLBufferDecl *CreateDeserialized(ASTContext &C, GlobalDeclID ID);
5155 static DeclContext *castToDeclContext(const HLSLBufferDecl *D) { in castToDeclContext()
5156 return static_cast<DeclContext *>(const_cast<HLSLBufferDecl *>(D)); in castToDeclContext()
5158 static HLSLBufferDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext()
5159 return static_cast<HLSLBufferDecl *>(const_cast<DeclContext *>(DC)); in castFromDeclContext()
H A DTextNodeDumper.h410 void VisitHLSLBufferDecl(const HLSLBufferDecl *D);
H A DJSONNodeDumper.h263 void VisitHLSLBufferDecl(const HLSLBufferDecl *D);
H A DRecursiveASTVisitor.h1611 DEF_TRAVERSE_DECL(HLSLBufferDecl, {})
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseHLSL.cpp37 if (isa<HLSLBufferDecl, NamespaceDecl>(D)) { in validateDeclsInsideHLSLBuffer()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp323 void VisitHLSLBufferDecl(HLSLBufferDecl *D);
1876 void ASTDeclReader::VisitHLSLBufferDecl(HLSLBufferDecl *D) { in VisitHLSLBufferDecl()
4218 D = HLSLBufferDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
H A DASTWriterDecl.cpp154 void VisitHLSLBufferDecl(HLSLBufferDecl *D);
2286 void ASTDeclWriter::VisitHLSLBufferDecl(HLSLBufferDecl *D) { in VisitHLSLBufferDecl()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DAttr.td176 [{isa<HLSLBufferDecl>(S)}],