Home
last modified time | relevance | path

Searched refs:MBFIWrapper (Results 1 – 14 of 14) 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 DBranchFolding.h26 class MBFIWrapper; variable
34 MBFIWrapper &FreqInfo,
131 MBFIWrapper &MBBFreqInfo;
H A DTailDuplication.cpp34 std::unique_ptr<MBFIWrapper> MBFIW;
93 MBFIW = std::make_unique<MBFIWrapper>(*MBFI); in runOnMachineFunction()
H A DMachineSizeOpts.cpp44 MBFIWrapper *MBFIW, in shouldOptimizeForSize()
H A DBranchFolding.cpp131 MBFIWrapper MBBFreqInfo( in runOnMachineFunction()
142 MBFIWrapper &FreqInfo, in BranchFolder()
551 MBFIWrapper &MBBFreqInfo, in ProfitableToMerge()
H A DTailDuplicator.cpp93 MBFIWrapper *MBFIin, in initMF()
H A DMachineBlockPlacement.cpp381 std::unique_ptr<MBFIWrapper> MBFI;
3429 MBFI = std::make_unique<MBFIWrapper>( in runOnMachineFunction()
H A DIfConversion.cpp447 MBFIWrapper MBFI( in INITIALIZE_PASS_DEPENDENCY()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineSizeOpts.h24 class MBFIWrapper; variable
41 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
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DRegBankSelect.cpp922 const auto *MBFIWrapper = in frequency() local
924 if (!MBFIWrapper) in frequency()
926 return MBFIWrapper->getMBFI().getBlockFreq(Instr.getParent()).getFrequency(); in frequency()
930 const auto *MBFIWrapper = in frequency() local
932 if (!MBFIWrapper) in frequency()
934 return MBFIWrapper->getMBFI().getBlockFreq(&MBB).getFrequency(); in frequency()
951 const auto *MBFIWrapper = in frequency() local
953 if (!MBFIWrapper) in frequency()
955 const auto *MBFI = &MBFIWrapper->getMBFI(); in frequency()
/freebsd/lib/clang/libllvm/
H A DMakefile323 SRCS_MIN+= CodeGen/MBFIWrapper.cpp