StatisticsCollectionPass

A Pass collecting statistics for the graph. Currently, it collects the number of nodes and the number of problem nodes (i.e., nodes where the translation failed for some reason).

Constructors

Link copied to clipboard

Functions

Link copied to clipboard
open override fun accept(translationResult: TranslationResult)

Iterates the nodes of the translationResult to collect statistics.

Link copied to clipboard
fun addSoftDependency(toAdd: Class<out Pass?>)
Link copied to clipboard
Link copied to clipboard
open override fun cleanup()
Link copied to clipboard

Check if the pass requires a specific language frontend and if that frontend has been executed.

Link copied to clipboard

Specifies, whether this pass supports this particular language. This defaults to true * and needs to be overridden if a different behaviour is wanted.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard