Searched refs:MBFIWrapper (Results 1 – 14 of 14) sorted by relevance
1 //===- MBFIWrapper.cpp - MachineBlockFrequencyInfo wrapper ----------------===//15 #include "llvm/CodeGen/MBFIWrapper.h"20 BlockFrequency MBFIWrapper::getBlockFreq(const MachineBasicBlock *MBB) const { in getBlockFreq() 29 void MBFIWrapper::setBlockFreq(const MachineBasicBlock *MBB, in setBlockFreq() 35 MBFIWrapper::getBlockProfileCount(const MachineBasicBlock *MBB) const { in getBlockProfileCount() 46 void MBFIWrapper::view(const Twine &Name, bool isSimple) { in printBlockFreq() 50 BlockFrequency MBFIWrapper::getEntryFreq() const { return MBFI.getEntryFreq(); }
54 auto *MBFIWrapper = in calculateIfNotAvailable() local56 if (MBFIWrapper) { in calculateIfNotAvailable()58 return MBFIWrapper->getMBFI(); in calculateIfNotAvailable()
26 class MBFIWrapper; variable34 MBFIWrapper &FreqInfo,131 MBFIWrapper &MBBFreqInfo;
34 std::unique_ptr<MBFIWrapper> MBFIW;93 MBFIW = std::make_unique<MBFIWrapper>(*MBFI); in runOnMachineFunction()
44 MBFIWrapper *MBFIW, in shouldOptimizeForSize()
131 MBFIWrapper MBBFreqInfo( in runOnMachineFunction()142 MBFIWrapper &FreqInfo, in BranchFolder()551 MBFIWrapper &MBBFreqInfo, in ProfitableToMerge()
93 MBFIWrapper *MBFIin, in initMF()
381 std::unique_ptr<MBFIWrapper> MBFI;3429 MBFI = std::make_unique<MBFIWrapper>( in runOnMachineFunction()
447 MBFIWrapper MBFI( in INITIALIZE_PASS_DEPENDENCY()
24 class MBFIWrapper; variable41 MBFIWrapper *MBFIWrapper,
28 class MBFIWrapper; variable45 MBFIWrapper *MBFI;72 MBFIWrapper *MBFI,
1 //===- llvm/CodeGen/MBFIWrapper.h -------------------------------*- C++ -*-===//26 class MBFIWrapper {28 MBFIWrapper(const MachineBlockFrequencyInfo &I) : MBFI(I) {}29 MBFIWrapper(const MachineBlockFrequencyInfo &I) : MBFI(I) {} MBFIWrapper() function
922 const auto *MBFIWrapper = in frequency() local924 if (!MBFIWrapper) in frequency()926 return MBFIWrapper->getMBFI().getBlockFreq(Instr.getParent()).getFrequency(); in frequency()930 const auto *MBFIWrapper = in frequency() local932 if (!MBFIWrapper) in frequency()934 return MBFIWrapper->getMBFI().getBlockFreq(&MBB).getFrequency(); in frequency()951 const auto *MBFIWrapper = in frequency() local953 if (!MBFIWrapper) in frequency()955 const auto *MBFI = &MBFIWrapper->getMBFI(); in frequency()
323 SRCS_MIN+= CodeGen/MBFIWrapper.cpp