This patch removes the file llvm/include/llvm/TargetParser/RISCVTargetParser.def and replaces it with a tablegen-generated .inc file out of llvm/lib/Target/RISCV/RISCV.td.
The module system has been updated to make sure we can build clang/llvm with -DLLVM_ENABLE_MODULES=On
@aprantl - I have removed a def file that was needed to build part of the interface of the TargetParser in LLVMSupport. I suspect this might have consequences on the Modules? The correspondent file is now created in the build folder as lib/TargetParser/RISCVTargetParserDef.inc.
Just giving you heads up in case any of the builders that use modules start failing once this code lands in main.