Home
last modified time | relevance | path

Searched refs:ConstraintRef (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Tools/PDLL/Parser/
H A DParser.cpp295 FailureOr<ast::ConstraintRef>
1633 FailureOr<ast::ConstraintRef>
1667 return ast::ConstraintRef( in parseConstraint()
1698 return ast::ConstraintRef( in parseConstraint()
1709 return ast::ConstraintRef( in parseConstraint()
1718 return ast::ConstraintRef(*decl, loc); in parseConstraint()
1733 return ast::ConstraintRef(cst, loc); in parseConstraint()
1886 SmallVector<ast::ConstraintRef> constraints; in parseIdentifierExpr()
2202 SmallVector<ast::ConstraintRef> constraints; in parseUnderscoreExpr()
2299 SmallVector<ast::ConstraintRef> constraints; in parseLetStmt()
[all …]
/llvm-project-15.0.7/mlir/include/mlir/Tools/PDLL/AST/
H A DNodes.h672 struct ConstraintRef { struct
673 ConstraintRef(const ConstraintDecl *constraint, SMRange refLoc) in ConstraintRef() argument
675 explicit ConstraintRef(const ConstraintDecl *constraint) in ConstraintRef() argument
676 : ConstraintRef(constraint, constraint->getLoc()) {} in ConstraintRef()
1194 private llvm::TrailingObjects<VariableDecl, ConstraintRef> {
1198 ArrayRef<ConstraintRef> constraints);
1201 MutableArrayRef<ConstraintRef> getConstraints() { in getConstraints()
1202 return {getTrailingObjects<ConstraintRef>(), numConstraints}; in getConstraints()
1204 ArrayRef<ConstraintRef> getConstraints() const { in getConstraints()
1234 friend llvm::TrailingObjects<VariableDecl, ConstraintRef>;
/llvm-project-15.0.7/mlir/lib/Tools/PDLL/AST/
H A DNodes.cpp148 for (const ConstraintRef &child : decl->getConstraints()) in visitImpl()
538 ArrayRef<ConstraintRef> constraints) { in create()
540 VariableDecl::totalSizeToAlloc<ConstraintRef>(constraints.size()); in create()
H A DNodePrinter.cpp366 [](const ConstraintRef &ref) { return ref.constraint; }); in printImpl()
/llvm-project-15.0.7/mlir/lib/Tools/PDLL/CodeGen/
H A DCPPGen.cpp188 for (ast::ConstraintRef &cst : decl->getConstraints()) { in getNativeTypeName()
H A DMLIRGen.cpp315 for (const ast::ConstraintRef &constraint : varDecl->getConstraints()) { in genNonInitializerVar()
368 for (const ast::ConstraintRef &ref : varDecl->getConstraints()) in applyVarConstraints()