| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGHLSLRuntime.h | 64 class HLSLBufferDecl; variable 149 void addBuffer(const HLSLBufferDecl *D); 167 void emitBufferGlobalsAndMetadata(const HLSLBufferDecl *BufDecl, 169 void initializeBufferFromBinding(const HLSLBufferDecl *BufDecl,
|
| H A D | CGHLSLRuntime.cpp | 115 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 D | CodeGenModule.cpp | 7488 getHLSLRuntime().addBuffer(cast<HLSLBufferDecl>(D)); in EmitTopLevelDecl()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | Decl.cpp | 5781 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 D | DeclPrinter.cpp | 114 void VisitHLSLBufferDecl(HLSLBufferDecl *D); 542 ObjCCategoryDecl, HLSLBufferDecl>(*D)) in VisitDeclContext() 1802 void DeclPrinter::VisitHLSLBufferDecl(HLSLBufferDecl *D) { in VisitHLSLBufferDecl()
|
| H A D | DeclBase.cpp | 1401 return isa<LinkageSpecDecl, ExportDecl, HLSLBufferDecl>(this); in isTransparentContext()
|
| H A D | JSONNodeDumper.cpp | 1023 void JSONNodeDumper::VisitHLSLBufferDecl(const HLSLBufferDecl *D) { in VisitHLSLBufferDecl()
|
| H A D | TextNodeDumper.cpp | 3033 void TextNodeDumper::VisitHLSLBufferDecl(const HLSLBufferDecl *D) { in VisitHLSLBufferDecl()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaHLSL.cpp | 198 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 D | SemaLookup.cpp | 530 if ((D->isInvalidDecl() || isa<HLSLBufferDecl>(D)) && in resolveKind()
|
| H A D | SemaTemplateInstantiateDecl.cpp | 1013 Decl *TemplateDeclInstantiator::VisitHLSLBufferDecl(HLSLBufferDecl *Decl) { in VisitHLSLBufferDecl()
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | Decl.h | 5102 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 D | TextNodeDumper.h | 410 void VisitHLSLBufferDecl(const HLSLBufferDecl *D);
|
| H A D | JSONNodeDumper.h | 263 void VisitHLSLBufferDecl(const HLSLBufferDecl *D);
|
| H A D | RecursiveASTVisitor.h | 1611 DEF_TRAVERSE_DECL(HLSLBufferDecl, {})
|
| /freebsd/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseHLSL.cpp | 37 if (isa<HLSLBufferDecl, NamespaceDecl>(D)) { in validateDeclsInsideHLSLBuffer()
|
| /freebsd/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTReaderDecl.cpp | 323 void VisitHLSLBufferDecl(HLSLBufferDecl *D); 1876 void ASTDeclReader::VisitHLSLBufferDecl(HLSLBufferDecl *D) { in VisitHLSLBufferDecl() 4218 D = HLSLBufferDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
|
| H A D | ASTWriterDecl.cpp | 154 void VisitHLSLBufferDecl(HLSLBufferDecl *D); 2286 void ASTDeclWriter::VisitHLSLBufferDecl(HLSLBufferDecl *D) { in VisitHLSLBufferDecl()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | Attr.td | 176 [{isa<HLSLBufferDecl>(S)}],
|