25#include "ir/visitor.h"
30void dump(std::ostream &out,
const IR::Node *n);
31void dump(std::ostream &out,
const IR::Node *n,
unsigned maxdepth);
32void dump(
const IR::Node *n);
33void dump(
const IR::Node *n,
unsigned maxdepth);
34void dump(
const IR::INode *n);
35void dump(
const IR::INode *n,
unsigned maxdepth);
36void dump(uintptr_t p);
37void dump(uintptr_t p,
unsigned maxdepth);
38void dump_notype(
const IR::Node *n);
39void dump_notype(
const IR::Node *n,
unsigned maxdepth);
40void dump_notype(
const IR::INode *n);
41void dump_notype(
const IR::INode *n,
unsigned maxdepth);
42void dump_notype(uintptr_t p);
43void dump_notype(uintptr_t p,
unsigned maxdepth);
44void dump_src(
const IR::Node *n);
45void dump_src(
const IR::Node *n,
unsigned maxdepth);
46void dump_src(
const IR::INode *n);
47void dump_src(
const IR::INode *n,
unsigned maxdepth);
48void dump(std::ostream &,
const Visitor::Context *);
49void dump(
const Visitor::Context *);
51std::string dumpToString(
const IR::Node *n);
57 friend std::ostream &operator<<(std::ostream &,
const Dump &);
60 explicit Dump(
const IR::Node *n,
unsigned maxdepth = ~0U) : n(n), maxdepth(maxdepth) {}
64inline std::ostream &operator<<(std::ostream &out,
const Dump &d) {
66 dump(out, d.n, d.maxdepth);
TODO: this is not really specific to BMV2, it should reside somewhere else.
Definition applyOptionsPragmas.cpp:24