What difference between Cortex-A / A-Profile CortexM/ M-Profile Cortex-R / R-Profileis ?
Why not compare the relevant documentation?
There are too many for a forum question.
Have a look at IP Products | Processors – Arm Developer and follow documentation of specific class of processors.
Please, come back to us if you have specific question.