Most of Route 14 is loosely paralleled by a main line of the Southern Pacific Railroad , used for the Antelope Valley Line of the Metrolink commuter rail system as well as a connection between Los Angeles and the California Central Valley via Tehachapi Pass .