in order for him to have gotten angry

Can one say or write
[color=red]a. You must have done something for him to have gotten angry.
b. You must have done something in order for him to have gotten angry.

c. For him to have gotten angry, you must have done something.
d. In order for him to have gotten angry, you must have done something.
?

My feeling is that (a) and © they work. I am less confident about (b) and (d). They are very formal. That is not a problem. But don’t they suggest that you intended to make him angry?

Many thanks.

None of them suggest intent to me.
We cannot tell whether the action was intentional or not.

I would simplify them all to:
You must have done something which made him angry.

You must have something done to have made him angry.

You must have done something for him to have become angry.
(There is difference between ‘to have something done’ and ‘to have done something’)

You must have done something to have made him angry.

You must have done something to have made him angry.

Thanks… but that’s what I mean.