all: Add and use QSORT() and QSORT_ARR().
gen_ir: Remove the attribute knownBlock.

Just inspecting the attribute block is sufficient.
gen_ir: Replace knownGraph + graph by the boolean usesGraph.

By default a node needs the graph explicitly given iff it has a known block.
all: Remove unnecessary #include <stdbool.h>.
all: Remove unnecessary #include <assert.h>.
all: Remove unnecessary #include <stdarg.h>.