[BOLT] Update buildCallGraph to check for split blocks
authorFabian Parzefall <parzefall@fb.com>
Fri, 19 Aug 2022 04:51:22 +0000 (21:51 -0700)
committerFabian Parzefall <parzefall@fb.com>
Fri, 19 Aug 2022 04:55:08 +0000 (21:55 -0700)
commitac830664b20cdf2844d3472d5b5ed1c359085989
tree34870de2cf818994bcf1a00c596d55ffc99e38b9
parent48ff38ce5d76217d7dfd7df13313b1a28a1aeffe
[BOLT] Update buildCallGraph to check for split blocks

Use isSplit() instead of isCold() when building the call graph and
update parameter names to reflect this.

Reviewed By: rafauler

Differential Revision: https://reviews.llvm.org/D132047
bolt/include/bolt/Passes/BinaryFunctionCallGraph.h
bolt/lib/Passes/BinaryFunctionCallGraph.cpp
bolt/lib/Passes/ReorderFunctions.cpp