| /llvm-project-15.0.7/mlir/test/mlir-pdll/Parser/ |
| H A D | pattern.pdll | 4 // CHECK: `-PatternDecl 14 // CHECK: `-PatternDecl {{.*}} Name<NamedPattern> 22 // CHECK: `-PatternDecl {{.*}} Name<NamedPattern> Benefit<10> Recursion 30 // CHECK: `-PatternDecl {{.*}} Name<NamedPattern>
|
| H A D | include.pdll | 13 // CHECK: PatternDecl {{.*}} Name<BeforeIncludedPattern> 14 // CHECK: PatternDecl {{.*}} Name<IncludedPattern> 15 // CHECK: PatternDecl {{.*}} Name<AfterIncludedPattern>
|
| H A D | expr.pdll | 36 // CHECK: `-PatternDecl {{.*}}
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaTemplateInstantiateDecl.cpp | 4835 PatternDecl = PatternDef; in InstantiateFunctionDefinition() 4902 if (PatternDecl->isFromASTFile()) in InstantiateFunctionDefinition() 4909 Pattern = PatternDecl->getBody(PatternDecl); in InstantiateFunctionDefinition() 4914 PatternDecl->hasSkippedBody()) && in InstantiateFunctionDefinition() 4923 !PatternDecl->isInlined() && in InstantiateFunctionDefinition() 4927 if (PatternDecl->isInlined()) { in InstantiateFunctionDefinition() 4971 assert(PatternDecl->isDefaulted() && in InstantiateFunctionDefinition() 5032 if (PatternDecl->isDefaulted()) { in InstantiateFunctionDefinition() 5056 if (PatternDecl->hasSkippedBody()) { in InstantiateFunctionDefinition() 5159 PatternDecl->getTypeSpecStartLoc(), PatternDecl->getDeclName()); in CompleteVarTemplateSpecializationDecl() [all …]
|
| /llvm-project-15.0.7/mlir/lib/Tools/PDLL/AST/ |
| H A D | Nodes.cpp | 69 const NamedAttributeDecl, const OpNameDecl, const PatternDecl, in visit() 131 void visitImpl(const PatternDecl *decl) { visit(decl->getBody()); } in visitImpl() 498 PatternDecl *PatternDecl::create(Context &ctx, SMRange loc, const Name *name, in create() 502 return new (ctx.getAllocator().Allocate<PatternDecl>()) in create() 503 PatternDecl(loc, name, benefit, hasBoundedRecursion, body); in create()
|
| H A D | NodePrinter.cpp | 99 void printImpl(const PatternDecl *decl); 180 const OpNameDecl, const PatternDecl, const UserRewriteDecl, in print() 328 void NodePrinter::printImpl(const PatternDecl *decl) { in printImpl()
|
| /llvm-project-15.0.7/mlir/test/mlir-pdll-lsp-server/ |
| H A D | view-output.test | 18 // CHECK-NEXT: "output": "-Module{{.*}}PatternDecl{{.*}}Name<TestPat>{{.*}}\n"
|
| /llvm-project-15.0.7/mlir/include/mlir/Tools/PDLL/AST/ |
| H A D | Nodes.h | 990 class PatternDecl : public Node::NodeBase<PatternDecl, Decl> { 992 static PatternDecl *create(Context &ctx, SMRange location, const Name *name, 1012 PatternDecl(SMRange loc, const Name *name, Optional<uint16_t> benefit, in PatternDecl() function 1271 return isa<ConstraintDecl, NamedAttributeDecl, OpNameDecl, PatternDecl, in classof()
|
| /llvm-project-15.0.7/mlir/test/mlir-pdll/CodeGen/MLIR/ |
| H A D | decl.pdll | 4 // PatternDecl
|
| /llvm-project-15.0.7/mlir/lib/Tools/PDLL/CodeGen/ |
| H A D | MLIRGen.cpp | 74 void genImpl(const ast::PatternDecl *decl); 182 const ast::UserRewriteDecl, const ast::PatternDecl>( in gen() 277 void CodeGen::genImpl(const ast::PatternDecl *decl) { in genImpl()
|
| /llvm-project-15.0.7/mlir/lib/Tools/mlir-pdll-lsp-server/ |
| H A D | PDLLServer.cpp | 340 lsp::Hover buildHoverForPattern(const ast::PatternDecl *decl, 526 if (const auto *patternDecl = dyn_cast<ast::PatternDecl>(decl)) in findHover() 567 lsp::Hover PDLDocument::buildHoverForPattern(const ast::PatternDecl *decl, in buildHoverForPattern() 670 if (const auto *patternDecl = dyn_cast<ast::PatternDecl>(decl)) { in findDocumentSymbols()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | Decl.cpp | 3826 const FunctionDecl *PatternDecl = getTemplateInstantiationPattern(); in isImplicitlyInstantiable() local 3828 if (PatternDecl) in isImplicitlyInstantiable() 3829 HasPattern = PatternDecl->hasBody(PatternDecl); in isImplicitlyInstantiable() 3835 if (!HasPattern || !PatternDecl) in isImplicitlyInstantiable() 3838 return PatternDecl->isInlined(); in isImplicitlyInstantiable()
|
| /llvm-project-15.0.7/mlir/lib/Tools/PDLL/Parser/ |
| H A D | Parser.cpp | 352 FailureOr<ast::PatternDecl *> 2457 FailureOr<ast::PatternDecl *> 2461 return ast::PatternDecl::create(ctx, loc, name, metadata.benefit, in createPatternDecl()
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | Sema.h | 7111 FunctionDecl *Function, const FunctionDecl *PatternDecl, 9812 VarTemplateSpecializationDecl *VarSpec, VarDecl *PatternDecl,
|