These utilities are declared in the header mlir/TableGen/GenInfo.h and mlir/TableGen/GenNameParser.h. Despite this, their implementations are in mlir-tablegen.cpp, making it not possible to use them by simply linking against the MLIRTableGen target.
This patch fixes that by moving the implementations of those classes into a source file part of the MLIRTableGen target. Note that having them both be implemented in the same source file is necessary at this moment due to requiring access to the managed static generatorRegistry.