Home
last modified time | relevance | path

Searched refs:BranchFolder (Results 1 – 13 of 13) sorted by relevance

/external/llvm/lib/CodeGen/
DBranchFolding.cpp102 BranchFolder::MBFIWrapper MBBFreqInfo( in runOnMachineFunction()
104 BranchFolder Folder(EnableTailMerge, /*CommonHoist=*/true, MBBFreqInfo, in runOnMachineFunction()
111 BranchFolder::BranchFolder(bool defaultEnableTailMerge, bool CommonHoist, in BranchFolder() function in BranchFolder
125 void BranchFolder::RemoveDeadBlock(MachineBasicBlock *MBB) { in RemoveDeadBlock()
153 bool BranchFolder::OptimizeImpDefsBlock(MachineBasicBlock *MBB) { in OptimizeImpDefsBlock()
200 bool BranchFolder::OptimizeFunction(MachineFunction &MF, in OptimizeFunction()
402 void BranchFolder::computeLiveIns(MachineBasicBlock &MBB) { in computeLiveIns()
428 void BranchFolder::ReplaceTailWithBranchTo(MachineBasicBlock::iterator OldInst, in ReplaceTailWithBranchTo()
440 MachineBasicBlock *BranchFolder::SplitMBBAt(MachineBasicBlock &CurMBB, in SplitMBBAt()
526 BranchFolder::MergePotentialsElt::operator<(const MergePotentialsElt &o) const { in operator <()
[all …]
DBranchFolding.h28 class LLVM_LIBRARY_VISIBILITY BranchFolder {
32 explicit BranchFolder(bool defaultEnableTailMerge, bool CommonHoist,
DMachineBlockPlacement.cpp251 std::unique_ptr<BranchFolder::MBFIWrapper> MBFI;
1651 MBFI = llvm::make_unique<BranchFolder::MBFIWrapper>( in runOnMachineFunction()
1670 BranchFolder BF(/*EnableTailMerge=*/true, /*CommonHoist=*/false, *MBFI, in runOnMachineFunction()
DIfConversion.cpp293 BranchFolder::MBFIWrapper MBFI(getAnalysis<MachineBlockFrequencyInfo>()); in INITIALIZE_PASS_DEPENDENCY()
305 BranchFolder BF(true, false, MBFI, *MBPI); in INITIALIZE_PASS_DEPENDENCY()
429 BranchFolder BF(false, false, MBFI, *MBPI); in INITIALIZE_PASS_DEPENDENCY()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DBranchFolding.cpp129 BranchFolder::MBFIWrapper MBBFreqInfo( in runOnMachineFunction()
131 BranchFolder Folder(EnableTailMerge, /*CommonHoist=*/true, MBBFreqInfo, in runOnMachineFunction()
138 BranchFolder::BranchFolder(bool defaultEnableTailMerge, bool CommonHoist, in BranchFolder() function in BranchFolder
153 void BranchFolder::RemoveDeadBlock(MachineBasicBlock *MBB) { in RemoveDeadBlock()
172 bool BranchFolder::OptimizeFunction(MachineFunction &MF, in OptimizeFunction()
411 void BranchFolder::replaceTailWithBranchTo(MachineBasicBlock::iterator OldInst, in replaceTailWithBranchTo()
445 MachineBasicBlock *BranchFolder::SplitMBBAt(MachineBasicBlock &CurMBB, in SplitMBBAt()
532 BranchFolder::MergePotentialsElt::operator<(const MergePotentialsElt &o) const { in operator <()
551 BranchFolder::MBFIWrapper::getBlockFreq(const MachineBasicBlock *MBB) const { in getBlockFreq()
560 void BranchFolder::MBFIWrapper::setBlockFreq(const MachineBasicBlock *MBB, in setBlockFreq()
[all …]
DBranchFolding.h35 class LLVM_LIBRARY_VISIBILITY BranchFolder {
39 explicit BranchFolder(bool defaultEnableTailMerge,
DIfConversion.cpp347 BranchFolder::MBFIWrapper MBFI(getAnalysis<MachineBlockFrequencyInfo>()); in INITIALIZE_PASS_DEPENDENCY()
359 BranchFolder BF(true, false, MBFI, *MBPI); in INITIALIZE_PASS_DEPENDENCY()
499 BranchFolder BF(false, false, MBFI, *MBPI); in INITIALIZE_PASS_DEPENDENCY()
DMachineBlockPlacement.cpp346 std::unique_ptr<BranchFolder::MBFIWrapper> MBFI;
2739 MBFI = llvm::make_unique<BranchFolder::MBFIWrapper>( in runOnMachineFunction()
2793 BranchFolder BF(/*EnableTailMerge=*/true, /*CommonHoist=*/false, *MBFI, in runOnMachineFunction()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DBranchFolding.cpp65 public BranchFolder {
69 : MachineFunctionPass(ID), BranchFolder(defaultEnableTailMerge, true) {} in BranchFolderPass()
90 BranchFolder::BranchFolder(bool defaultEnableTailMerge, bool CommonHoist) { in BranchFolder() function in BranchFolder
102 void BranchFolder::RemoveDeadBlock(MachineBasicBlock *MBB) { in RemoveDeadBlock()
127 bool BranchFolder::OptimizeImpDefsBlock(MachineBasicBlock *MBB) { in OptimizeImpDefsBlock()
171 bool BranchFolder::OptimizeFunction(MachineFunction &MF, in OptimizeFunction()
369 void BranchFolder::MaintainLiveIns(MachineBasicBlock *CurMBB, in MaintainLiveIns()
385 void BranchFolder::ReplaceTailWithBranchTo(MachineBasicBlock::iterator OldInst, in ReplaceTailWithBranchTo()
400 MachineBasicBlock *BranchFolder::SplitMBBAt(MachineBasicBlock &CurMBB, in SplitMBBAt()
473 BranchFolder::MergePotentialsElt::operator<(const MergePotentialsElt &o) const { in operator <()
[all …]
DBranchFolding.h24 class BranchFolder {
26 explicit BranchFolder(bool defaultEnableTailMerge, bool CommonHoist);
DIfConversion.cpp269 BranchFolder BF(true, false); in runOnMachineFunction()
403 BranchFolder BF(false, false); in runOnMachineFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/docs/
DWritingAnLLVMBackend.rst1107 folding and if conversion. The ``BranchFolder`` and ``IfConverter`` machine
/external/llvm/docs/
DWritingAnLLVMBackend.rst1067 folding and if conversion. The ``BranchFolder`` and ``IfConverter`` machine