FreeTensor
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
print_ast.h File Reference
#include <functional>
#include <iostream>
#include <unordered_set>
#include <codegen/code_gen.h>
#include <serialize/stream_utils.h>
Include dependency graph for print_ast.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  freetensor::PrintVisitor
 

Namespaces

namespace  freetensor
 

Functions

std::string freetensor::dumpAST (const AST &op, bool dtypeInLoad=false, bool hexFloat=true)
 
std::ostream & freetensor::operator<< (std::ostream &os, const AST &op)
 
std::string freetensor::toString (const AST &op)
 
std::string freetensor::toString (const AST &op, bool pretty)
 
std::string freetensor::toString (const AST &op, bool pretty, bool printAllId)
 
std::string freetensor::toString (const AST &op, bool pretty, bool printAllId, bool dtypeInLoad, bool hexFloat=false, bool compact=false, bool parenDespitePriority=false)
 
std::string freetensor::toString (const AST &op, bool pretty, bool printAllId, bool dtypeInLoad, bool hexFloat, bool compact, bool parenDespitePriority, bool printSourceLocation)
 
int freetensor::OSTREAM_NO_PRETTY = std::ostream::xalloc()
 
std::function< std::ostream &(std::ostream &)> freetensor::manipNoPrettyAST (bool flag)