mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
[block-freq] Add the equivalent methods to MachineBlockFrequencyInfo and BlockFrequencyInfo that were added to BlockFrequencyImpl in r197285 and r197284.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197287 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -159,3 +159,14 @@ void BlockFrequencyInfo::view() const {
|
||||
const Function *BlockFrequencyInfo::getFunction() const {
|
||||
return BFI->Fn;
|
||||
}
|
||||
|
||||
raw_ostream &BlockFrequencyInfo::
|
||||
printBlockFreq(raw_ostream &OS, const BlockFrequency Freq) const {
|
||||
return BFI->printBlockFreq(OS, Freq);
|
||||
}
|
||||
|
||||
raw_ostream &
|
||||
BlockFrequencyInfo::printBlockFreq(raw_ostream &OS,
|
||||
const BasicBlock *BB) const {
|
||||
return BFI->printBlockFreq(OS, BB);
|
||||
}
|
||||
|
Reference in New Issue
Block a user