In this paper, we study the communication performance of applying unmanned aerial vehicles (UAVs) combined with intelligent reflective surfaces (IRS) in a high speed railway (HSR) scenario. This study investigates the design and performance of (multiple-input-multiple-output) MIMO systems with UAV and IRS assistance technology in high-mobility scenarios. Direct links between base stations (BS) and trains are often obstructed in suburban environments, especially in mountainous areas. We mount the IRS on the UAVs so that it can assist in the communication between the trains and the BS. With the help of the UAV-IRS, straight-line links can be established effectively, which greatly improves communication for train passengers. This paper considers the employment of large-scale antenna arrays at both the BS and train ends. Train passengers communicate with UAVs via antennas assembled on the roof of the train as gateways, which in turn communicate with the BS. We consider two types of antenna layouts on the train: all antennas are located in the center of the train named Co-located antennas (CA) layout and uniformly distributed along the train called distributed antennas (DA) layout. We can obtain the analytical up-link capacity by averaging over all locations in a cell for the above two layouts by considering the radio frequency consumption. Overall, the CA layout is found to be a better option for trains when attempting to maximize cell mean value of capacity, and DA layout achieves a more uniformly distribution of capacity over the entire cell. Ultimately, the best solution will depend on the specific requirements and constraints of the selected deployment scenario.