mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
Check in the changes to this file too.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86873 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2210c0bea8
commit
412a3b90d1
@ -44,18 +44,24 @@ namespace llvm {
|
|||||||
RegScavenger *RS;
|
RegScavenger *RS;
|
||||||
|
|
||||||
bool TailMergeBlocks(MachineFunction &MF);
|
bool TailMergeBlocks(MachineFunction &MF);
|
||||||
bool TryMergeBlocks(MachineBasicBlock* SuccBB,
|
bool TryTailMergeBlocks(MachineBasicBlock* SuccBB,
|
||||||
MachineBasicBlock* PredBB);
|
MachineBasicBlock* PredBB);
|
||||||
void ReplaceTailWithBranchTo(MachineBasicBlock::iterator OldInst,
|
void ReplaceTailWithBranchTo(MachineBasicBlock::iterator OldInst,
|
||||||
MachineBasicBlock *NewDest);
|
MachineBasicBlock *NewDest);
|
||||||
MachineBasicBlock *SplitMBBAt(MachineBasicBlock &CurMBB,
|
MachineBasicBlock *SplitMBBAt(MachineBasicBlock &CurMBB,
|
||||||
MachineBasicBlock::iterator BBI1);
|
MachineBasicBlock::iterator BBI1);
|
||||||
unsigned ComputeSameTails(unsigned CurHash, unsigned minCommonTailLength);
|
unsigned ComputeSameTails(unsigned CurHash, unsigned minCommonTailLength,
|
||||||
|
MachineBasicBlock *SuccBB,
|
||||||
|
MachineBasicBlock *PredBB);
|
||||||
void RemoveBlocksWithHash(unsigned CurHash, MachineBasicBlock* SuccBB,
|
void RemoveBlocksWithHash(unsigned CurHash, MachineBasicBlock* SuccBB,
|
||||||
MachineBasicBlock* PredBB);
|
MachineBasicBlock* PredBB);
|
||||||
unsigned CreateCommonTailOnlyBlock(MachineBasicBlock *&PredBB,
|
unsigned CreateCommonTailOnlyBlock(MachineBasicBlock *&PredBB,
|
||||||
unsigned maxCommonTailLength);
|
unsigned maxCommonTailLength);
|
||||||
|
|
||||||
|
bool TailDuplicate(MachineBasicBlock *TailBB,
|
||||||
|
bool PrevFallsThrough,
|
||||||
|
MachineFunction &MF);
|
||||||
|
|
||||||
bool OptimizeBranches(MachineFunction &MF);
|
bool OptimizeBranches(MachineFunction &MF);
|
||||||
bool OptimizeBlock(MachineBasicBlock *MBB);
|
bool OptimizeBlock(MachineBasicBlock *MBB);
|
||||||
void RemoveDeadBlock(MachineBasicBlock *MBB);
|
void RemoveDeadBlock(MachineBasicBlock *MBB);
|
||||||
|
Loading…
Reference in New Issue
Block a user