Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DBranchFolding.cpp137 BranchFolder::BranchFolder(bool DefaultEnableTailMerge, bool CommonHoist, in BranchFolder() function in BranchFolder
154 void BranchFolder::RemoveDeadBlock(MachineBasicBlock *MBB) { in RemoveDeadBlock()
178 bool BranchFolder::OptimizeFunction(MachineFunction &MF, in OptimizeFunction()
653 unsigned BranchFolder::ComputeSameTails(unsigned CurHash, in ComputeSameTails()
689 void BranchFolder::RemoveBlocksWithHash(unsigned CurHash, in RemoveBlocksWithHash()
808 void BranchFolder::mergeCommonTails(unsigned commonTailIndex) { in mergeCommonTails()
879 bool BranchFolder::TryTailMergeBlocks(MachineBasicBlock *SuccBB, in TryTailMergeBlocks()
998 bool BranchFolder::TailMergeBlocks(MachineFunction &MF) { in TailMergeBlocks()
1193 bool BranchFolder::OptimizeBranches(MachineFunction &MF) { in OptimizeBranches()
1312 bool BranchFolder::OptimizeBlock(MachineBasicBlock *MBB) { in OptimizeBlock()
[all …]
H A DBranchFolding.h33 class LLVM_LIBRARY_VISIBILITY BranchFolder {
35 explicit BranchFolder(bool DefaultEnableTailMerge, bool CommonHoist,
H A DIfConversion.cpp465 BranchFolder BF(true, false, MBFI, *MBPI, PSI); in INITIALIZE_PASS_DEPENDENCY()
604 BranchFolder BF(false, false, MBFI, *MBPI, PSI); in INITIALIZE_PASS_DEPENDENCY()
H A DMachineBlockPlacement.cpp3372 BranchFolder BF(/*DefaultEnableTailMerge=*/true, /*CommonHoist=*/false, in runOnMachineFunction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopSimplifyCFG.cpp643 ConstantTerminatorFoldingImpl BranchFolder(L, LI, DT, SE, MSSAU); in constantFoldTerminators() local
644 bool Changed = BranchFolder.run(); in constantFoldTerminators()
645 IsLoopDeleted = Changed && BranchFolder.foldingBreaksCurrentLoop(); in constantFoldTerminators()