Release BlockFrequencyInfo and BranchProbabilityInfo results,
and other per function information
immediately afterwards, instead of holding onto the memory until the
next CodeGenPrepare::runOnFunction call.
Co-authored-by: Erik Hogeman <erik.hogeman@arm.com>
There are a few other maps, do those need to be cleared as well?