Home
last modified time | relevance | path

Searched refs:MBFIWrapper (Results 1 – 15 of 15) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMBFIWrapper.cpp1 //===- 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(); }
H A DLazyMachineBlockFrequencyInfo.cpp54 auto *MBFIWrapper = in calculateIfNotAvailable() local
56 if (MBFIWrapper) { in calculateIfNotAvailable()
58 return MBFIWrapper->getMBFI(); in calculateIfNotAvailable()
H A DTailDuplication.cpp37 std::unique_ptr<MBFIWrapper> MBFIW;
96 MBFIW = std::make_unique<MBFIWrapper>(*MBFI); in runOnMachineFunction()
120 MBFIW = std::make_unique<MBFIWrapper>(*MBFI); in run()
H A DBranchFolding.h26 class MBFIWrapper; variable
34 MBFIWrapper &FreqInfo,
131 MBFIWrapper &MBBFreqInfo;
H A DMachineSizeOpts.cpp48 MBFIWrapper *MBFIW, in shouldOptimizeForSize()
H A DBranchFolding.cpp138 MBFIWrapper MBBFreqInfo(MBFI); in run()
156 MBFIWrapper MBBFreqInfo( in runOnMachineFunction()
167 MBFIWrapper &FreqInfo, in BranchFolder()
576 MBFIWrapper &MBBFreqInfo, in ProfitableToMerge()
H A DMachineBlockPlacement.cpp398 std::unique_ptr<MBFIWrapper> MBFI;
625 std::unique_ptr<MBFIWrapper> MBFI, in MachineBlockPlacement()
651 auto MBFI = std::make_unique<MBFIWrapper>( in runOnMachineFunction()
3538 auto MBFI = std::make_unique<MBFIWrapper>( in run()
H A DTailDuplicator.cpp92 MBFIWrapper *MBFIin, in initMF()
H A DIfConversion.cpp466 MBFIWrapper MBFI( in INITIALIZE_PASS_DEPENDENCY()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineSizeOpts.h25 class MBFIWrapper; variable
43 MBFIWrapper *MBFIWrapper,
H A DTailDuplicator.h28 class MBFIWrapper; variable
45 MBFIWrapper *MBFI;
72 MBFIWrapper *MBFI,
H A DMBFIWrapper.h1 //===- llvm/CodeGen/MBFIWrapper.h -------------------------------*- C++ -*-===//
26 class MBFIWrapper {
28 MBFIWrapper(const MachineBlockFrequencyInfo &I) : MBFI(I) {}
29 MBFIWrapper(const MachineBlockFrequencyInfo &I) : MBFI(I) {} MBFIWrapper() function
H A DTailDuplication.h21 std::unique_ptr<MBFIWrapper> MBFIW;
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DRegBankSelect.cpp921 const auto *MBFIWrapper = in frequency() local
923 if (!MBFIWrapper) in frequency()
925 return MBFIWrapper->getMBFI().getBlockFreq(Instr.getParent()).getFrequency(); in frequency()
929 const auto *MBFIWrapper = in frequency() local
931 if (!MBFIWrapper) in frequency()
933 return MBFIWrapper->getMBFI().getBlockFreq(&MBB).getFrequency(); in frequency()
950 const auto *MBFIWrapper = in frequency() local
952 if (!MBFIWrapper) in frequency()
954 const auto *MBFI = &MBFIWrapper->getMBFI(); in frequency()
/freebsd/lib/clang/libllvm/
H A DMakefile369 SRCS_MIN+= CodeGen/MBFIWrapper.cpp