These are used pervasively during parsing. Differential Revision: https://reviews.llvm.org/D118291
This removes the need for OpDefinitionsGen to use raw tablegen API, and will also simplify adding builders to TypeDefs as well. Differential Revision: https://reviews.llvm.org/D94273