Lines Matching refs:decl
90 void printImpl(const AttrConstraintDecl *decl);
91 void printImpl(const OpConstraintDecl *decl);
92 void printImpl(const TypeConstraintDecl *decl);
93 void printImpl(const TypeRangeConstraintDecl *decl);
94 void printImpl(const UserConstraintDecl *decl);
95 void printImpl(const ValueConstraintDecl *decl);
96 void printImpl(const ValueRangeConstraintDecl *decl);
97 void printImpl(const NamedAttributeDecl *decl);
98 void printImpl(const OpNameDecl *decl);
99 void printImpl(const PatternDecl *decl);
100 void printImpl(const UserRewriteDecl *decl);
101 void printImpl(const VariableDecl *decl);
269 void NodePrinter::printImpl(const AttrConstraintDecl *decl) { in printImpl() argument
270 os << "AttrConstraintDecl " << decl << "\n"; in printImpl()
271 if (const auto *typeExpr = decl->getTypeExpr()) in printImpl()
275 void NodePrinter::printImpl(const OpConstraintDecl *decl) { in printImpl() argument
276 os << "OpConstraintDecl " << decl << "\n"; in printImpl()
277 printChildren(decl->getNameDecl()); in printImpl()
280 void NodePrinter::printImpl(const TypeConstraintDecl *decl) { in printImpl() argument
281 os << "TypeConstraintDecl " << decl << "\n"; in printImpl()
284 void NodePrinter::printImpl(const TypeRangeConstraintDecl *decl) { in printImpl() argument
285 os << "TypeRangeConstraintDecl " << decl << "\n"; in printImpl()
288 void NodePrinter::printImpl(const UserConstraintDecl *decl) { in printImpl() argument
289 os << "UserConstraintDecl " << decl << " Name<" << decl->getName().getName() in printImpl()
290 << "> ResultType<" << decl->getResultType() << ">"; in printImpl()
291 if (Optional<StringRef> codeBlock = decl->getCodeBlock()) { in printImpl()
297 printChildren("Inputs", decl->getInputs()); in printImpl()
298 printChildren("Results", decl->getResults()); in printImpl()
299 if (const CompoundStmt *body = decl->getBody()) in printImpl()
303 void NodePrinter::printImpl(const ValueConstraintDecl *decl) { in printImpl() argument
304 os << "ValueConstraintDecl " << decl << "\n"; in printImpl()
305 if (const auto *typeExpr = decl->getTypeExpr()) in printImpl()
309 void NodePrinter::printImpl(const ValueRangeConstraintDecl *decl) { in printImpl() argument
310 os << "ValueRangeConstraintDecl " << decl << "\n"; in printImpl()
311 if (const auto *typeExpr = decl->getTypeExpr()) in printImpl()
315 void NodePrinter::printImpl(const NamedAttributeDecl *decl) { in printImpl() argument
316 os << "NamedAttributeDecl " << decl << " Name<" << decl->getName().getName() in printImpl()
318 printChildren(decl->getValue()); in printImpl()
321 void NodePrinter::printImpl(const OpNameDecl *decl) { in printImpl() argument
322 os << "OpNameDecl " << decl; in printImpl()
323 if (Optional<StringRef> name = decl->getName()) in printImpl()
328 void NodePrinter::printImpl(const PatternDecl *decl) { in printImpl() argument
329 os << "PatternDecl " << decl; in printImpl()
330 if (const Name *name = decl->getName()) in printImpl()
332 if (Optional<uint16_t> benefit = decl->getBenefit()) in printImpl()
334 if (decl->hasBoundedRewriteRecursion()) in printImpl()
338 printChildren(decl->getBody()); in printImpl()
341 void NodePrinter::printImpl(const UserRewriteDecl *decl) { in printImpl() argument
342 os << "UserRewriteDecl " << decl << " Name<" << decl->getName().getName() in printImpl()
343 << "> ResultType<" << decl->getResultType() << ">"; in printImpl()
344 if (Optional<StringRef> codeBlock = decl->getCodeBlock()) { in printImpl()
350 printChildren("Inputs", decl->getInputs()); in printImpl()
351 printChildren("Results", decl->getResults()); in printImpl()
352 if (const CompoundStmt *body = decl->getBody()) in printImpl()
356 void NodePrinter::printImpl(const VariableDecl *decl) { in printImpl() argument
357 os << "VariableDecl " << decl << " Name<" << decl->getName().getName() in printImpl()
359 print(decl->getType()); in printImpl()
361 if (Expr *initExpr = decl->getInitExpr()) in printImpl()
365 llvm::map_range(decl->getConstraints(), in printImpl()