Unlike the assembly parser, no extra library is needed in order to
encode instructions, as the instruction encoder lives in the target's
MCTargetDesc
directory.
As such, the only changes that need to be made to the build system are
those that tell LLVM which files need to be compiled and generated by
TableGen. In this case, the files are the
C++ source file and the generated
arch
MCCodeEmitter
.
arch
GenCodeEmitter.inc