For branch :I'm do not know anything about the first stage of the ARM pipeline.I don't know what you want to do.
But, I think that there is no way to know just with a code source if a (conditional) branch will be mispredict or not.