if + past perfect, would have + past participle
The if-half takes had + past participle and never would; the result takes would have + past participle. Either half can come first, with a comma only when the if-half comes first.
- If Paolo had taken the earlier bus, he would have arrived before the rain.
- They would have waited for us if we had phoned them.
