[BPI][NFC] Consolidate code to deal with SCCs under a dedicated data structure.
authorEvgeniy Brevnov <ybrevnov@azul.com>
Fri, 24 Jul 2020 11:57:10 +0000 (18:57 +0700)
committerEvgeniy Brevnov <ybrevnov@azul.com>
Tue, 28 Jul 2020 10:42:33 +0000 (17:42 +0700)
commit3a2b05f9fe74fcf9560632cf2695058d47d8683b
tree499b8abde66173f6083dae65653624016e30b434
parent7294ca3f6ecacd05a197bbf0637e10afcb99b6d6
[BPI][NFC] Consolidate code to deal with SCCs under a dedicated data structure.

In order to facilitate review of D79485 here is a small NFC change which restructures code around handling of SCCs in BPI.

Reviewed By: davidxl

Differential Revision: https://reviews.llvm.org/D84514
llvm/include/llvm/Analysis/BranchProbabilityInfo.h
llvm/lib/Analysis/BranchProbabilityInfo.cpp