18 out <<
"\"nodeId\" : ";
22 out <<
"\"bytecodePosition\" : ";
27 out <<
", \"phase\" : \"" <<
phase_name() <<
"\"";
47 current_bytecode_position_(0),
48 current_phase_name_(
"unknown"),
55 current_bytecode_position_(0),
56 current_phase_name_(
"unknown"),
93 bool needs_comma =
false;
100 os <<
"\"" <<
i.
first <<
"\""
void Decorate(Node *node) final
Decorator(NodeOriginTable *origins)
NodeOriginTable * origins_
NodeOrigin GetNodeOrigin(Node *node) const
const char * current_phase_name_
NodeOriginTable(TFGraph *graph)
void SetNodeOrigin(Node *node, const NodeOrigin &no)
NodeOrigin current_origin_
void PrintJson(std::ostream &os) const
NodeAuxData< NodeOrigin, UnknownNodeOrigin > table_
void PrintJson(std::ostream &out) const
const char * reducer_name() const
int64_t created_from() const
const char * phase_name() const
void AddDecorator(GraphDecorator *decorator)
void RemoveDecorator(GraphDecorator *decorator)
NodeOriginTable * origins
SourcePositionTable *const table_
#define DCHECK_NOT_NULL(val)