summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorFabian Parzefall <parzefall@fb.com>2022-07-14 12:55:20 -0700
committerFabian Parzefall <parzefall@fb.com>2022-07-14 13:07:05 -0700
commitd55dfeaf32e8a88f0c6e7240fb2a8a1b57d89380 (patch)
tree546371849a0631a53e0be6a947475e1907b28d37 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent3151b95dad408351e368baf31125985b6de4e5db (diff)
[BOLT] Replace uses of layout with basic block list
As we are moving towards support for multiple fragments, loops that iterate over all basic blocks of a function, but do not depend on the order of basic blocks in the final layout, should iterate over binary functions directly, rather than the layout. Eventually, all loops using the layout list should either iterate over the function, or be aware of multiple layouts. This patch replaces references to binary function's block layout with the binary function itself where only little code changes are necessary. Reviewed By: maksfb Differential Revision: https://reviews.llvm.org/D129585
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions