This patch modifies the TableGen backend RISCVCompressInstEmmiter.cpp to use the getAllDerivedDefinitions() functions to get its working records. Before this patch, it filtered the records by hand.
This patch was separated out from a previous TableGen-related patch.