Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DBranchFolding.cpp141 BranchFolder::BranchFolder(bool DefaultEnableTailMerge, bool CommonHoist, in BranchFolder() function in BranchFolder
158 void BranchFolder::RemoveDeadBlock(MachineBasicBlock *MBB) { in RemoveDeadBlock()
182 bool BranchFolder::OptimizeFunction(MachineFunction &MF, in OptimizeFunction()
651 unsigned BranchFolder::ComputeSameTails(unsigned CurHash, in ComputeSameTails()
687 void BranchFolder::RemoveBlocksWithHash(unsigned CurHash, in RemoveBlocksWithHash()
806 void BranchFolder::mergeCommonTails(unsigned commonTailIndex) { in mergeCommonTails()
885 bool BranchFolder::TryTailMergeBlocks(MachineBasicBlock *SuccBB, in TryTailMergeBlocks()
1004 bool BranchFolder::TailMergeBlocks(MachineFunction &MF) { in TailMergeBlocks()
1199 bool BranchFolder::OptimizeBranches(MachineFunction &MF) { in OptimizeBranches()
1317 bool BranchFolder::OptimizeBlock(MachineBasicBlock *MBB) { in OptimizeBlock()
[all …]
H A DBranchFolding.h31 class LLVM_LIBRARY_VISIBILITY BranchFolder {
33 explicit BranchFolder(bool DefaultEnableTailMerge, bool CommonHoist,
H A DIfConversion.cpp461 BranchFolder BF(true, false, MBFI, *MBPI, PSI); in INITIALIZE_PASS_DEPENDENCY()
598 BranchFolder BF(false, false, MBFI, *MBPI, PSI); in INITIALIZE_PASS_DEPENDENCY()
H A DMachineBlockPlacement.cpp3442 BranchFolder BF(/*DefaultEnableTailMerge=*/true, /*CommonHoist=*/false, in runOnMachineFunction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopSimplifyCFG.cpp655 ConstantTerminatorFoldingImpl BranchFolder(L, LI, DT, SE, MSSAU); in constantFoldTerminators() local
656 bool Changed = BranchFolder.run(); in constantFoldTerminators()
657 IsLoopDeleted = Changed && BranchFolder.foldingBreaksCurrentLoop(); in constantFoldTerminators()