Dirac's intention was to find a relativistic generalization of the Schrödinger equation which is first order in time derivative. In order to do that he had to introduce new 4-component objects called spinors. At his time this was pioneering guess-work. Today I would say that the Dirac equation follows (almost) uniquely from symmetry considerations, i.e. from the requirement of a Lorentz-covariant wave equation for spin 1/2 fields. Einstein's field equations (GR) a not required, SR is sufficient.
Antimatter followed from the equation
##E^2 = (mc^2)^2 + (pc)^2##
which has two roots, i.e. allows for both positive and negative energy solutions. In addition some handwaving arguments like the Dirac sea, absence of an electron with negative energy equals presence of a positron with positive energy etc. is required. Today the framework of QFT is much more satisfactory to deal with the Dirac equation and antimatter, however one cannot fully avoid the Dirac sea which appears in normal ordering (regularization).