It's a third conditional; it refers to a hypothetical action that did not ocurr. "If you had invited me I would have come". It means that if I had got an invitation I would have come, but I didn't come because I didn't receive an invitation.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.