LLZK 0.1.0
Veridise's ZK Language IR
Loading...
Searching...
No Matches
llzk::debug Namespace Reference

Functions

void dumpSymbolTableWalk (Operation *symbolTableOp)
 
void dumpSymbolTable (llvm::raw_ostream &stream, SymbolTable &symTab, unsigned indent)
 
void dumpSymbolTable (SymbolTable &symTab)
 
void dumpSymbolTables (llvm::raw_ostream &stream, SymbolTableCollection &tables)
 
void dumpSymbolTables (SymbolTableCollection &tables)
 
void dumpToFile (Operation *op, llvm::StringRef filename)
 
template<typename InputIt>
std::string toStringList (InputIt begin, InputIt end)
 Generate a comma-separated string representation by traversing elements from begin to end where the element type implements operator<<.
 
template<typename InputIt>
std::string toStringList (const InputIt &collection)
 Generate a comma-separated string representation by traversing elements from collection.begin() to collection.end() where the element type implements operator<<.
 
template<typename InputIt>
std::string toStringList (const std::optional< InputIt > &optionalCollection)
 
template<typename T>
std::string toStringOne (const T &value)
 
void dumpSymbolTableWalk (mlir::Operation *symbolTableOp)
 
void dumpSymbolTable (llvm::raw_ostream &stream, mlir::SymbolTable &symTab, unsigned indent=0)
 
void dumpSymbolTable (mlir::SymbolTable &symTab)
 
void dumpSymbolTables (llvm::raw_ostream &stream, mlir::SymbolTableCollection &tables)
 
void dumpSymbolTables (mlir::SymbolTableCollection &tables)
 
void dumpToFile (mlir::Operation *op, llvm::StringRef filename)
 

Function Documentation

◆ dumpSymbolTable() [1/4]

void llzk::debug::dumpSymbolTable ( llvm::raw_ostream & stream,
mlir::SymbolTable & symTab,
unsigned indent = 0 )

◆ dumpSymbolTable() [2/4]

void llzk::debug::dumpSymbolTable ( llvm::raw_ostream & stream,
SymbolTable & symTab,
unsigned indent )

Definition at line 30 of file Debug.cpp.

◆ dumpSymbolTable() [3/4]

void llzk::debug::dumpSymbolTable ( mlir::SymbolTable & symTab)

◆ dumpSymbolTable() [4/4]

void llzk::debug::dumpSymbolTable ( SymbolTable & symTab)

Definition at line 43 of file Debug.cpp.

◆ dumpSymbolTables() [1/4]

void llzk::debug::dumpSymbolTables ( llvm::raw_ostream & stream,
mlir::SymbolTableCollection & tables )

◆ dumpSymbolTables() [2/4]

void llzk::debug::dumpSymbolTables ( llvm::raw_ostream & stream,
SymbolTableCollection & tables )

Definition at line 50 of file Debug.cpp.

◆ dumpSymbolTables() [3/4]

void llzk::debug::dumpSymbolTables ( mlir::SymbolTableCollection & tables)

◆ dumpSymbolTables() [4/4]

void llzk::debug::dumpSymbolTables ( SymbolTableCollection & tables)

Definition at line 64 of file Debug.cpp.

◆ dumpSymbolTableWalk() [1/2]

void llzk::debug::dumpSymbolTableWalk ( mlir::Operation * symbolTableOp)

◆ dumpSymbolTableWalk() [2/2]

void llzk::debug::dumpSymbolTableWalk ( Operation * symbolTableOp)

Definition at line 18 of file Debug.cpp.

◆ dumpToFile() [1/2]

void llzk::debug::dumpToFile ( mlir::Operation * op,
llvm::StringRef filename )

◆ dumpToFile() [2/2]

void llzk::debug::dumpToFile ( Operation * op,
llvm::StringRef filename )

Definition at line 71 of file Debug.cpp.

◆ toStringList() [1/3]

template<typename InputIt>
std::string llzk::debug::toStringList ( const InputIt & collection)
inline

Generate a comma-separated string representation by traversing elements from collection.begin() to collection.end() where the element type implements operator<<.

Definition at line 129 of file Debug.h.

◆ toStringList() [2/3]

template<typename InputIt>
std::string llzk::debug::toStringList ( const std::optional< InputIt > & optionalCollection)
inline

Definition at line 134 of file Debug.h.

◆ toStringList() [3/3]

template<typename InputIt>
std::string llzk::debug::toStringList ( InputIt begin,
InputIt end )
inline

Generate a comma-separated string representation by traversing elements from begin to end where the element type implements operator<<.

Definition at line 121 of file Debug.h.

◆ toStringOne()

template<typename T>
std::string llzk::debug::toStringOne ( const T & value)
inline

Definition at line 142 of file Debug.h.