Lines Matching refs:MachineBasicBlock
44 MachineBasicBlock *Block;
46 MergePotentialsElt(unsigned h, MachineBasicBlock *b) in MergePotentialsElt()
50 MachineBasicBlock *getBlock() const { return Block; } in getBlock()
52 void setBlock(MachineBasicBlock *MBB) { in setBlock()
60 SmallPtrSet<const MachineBasicBlock*, 2> TriedMerging;
61 DenseMap<const MachineBasicBlock *, int> FuncletMembership;
65 MachineBasicBlock::iterator TailStartPos;
67 SameTailElt(MPIterator mp, MachineBasicBlock::iterator tsp) in SameTailElt()
76 MachineBasicBlock::iterator getTailStartPos() const { in getTailStartPos()
82 MachineBasicBlock *getBlock() const { in getBlock()
89 void setBlock(MachineBasicBlock *MBB) { in setBlock()
92 void setTailStartPos(MachineBasicBlock::iterator Pos) { in setTailStartPos()
114 BlockFrequency getBlockFreq(const MachineBasicBlock *MBB) const;
115 void setBlockFreq(const MachineBasicBlock *MBB, BlockFrequency F);
117 const MachineBasicBlock *MBB) const;
123 DenseMap<const MachineBasicBlock *, BlockFrequency> MergedBBFreq;
131 bool TryTailMergeBlocks(MachineBasicBlock* SuccBB,
132 MachineBasicBlock* PredBB);
133 void setCommonTailEdgeWeights(MachineBasicBlock &TailMBB);
134 void computeLiveIns(MachineBasicBlock &MBB);
135 void ReplaceTailWithBranchTo(MachineBasicBlock::iterator OldInst,
136 MachineBasicBlock *NewDest);
137 MachineBasicBlock *SplitMBBAt(MachineBasicBlock &CurMBB,
138 MachineBasicBlock::iterator BBI1,
141 MachineBasicBlock *SuccBB,
142 MachineBasicBlock *PredBB);
143 void RemoveBlocksWithHash(unsigned CurHash, MachineBasicBlock* SuccBB,
144 MachineBasicBlock* PredBB);
145 bool CreateCommonTailOnlyBlock(MachineBasicBlock *&PredBB,
146 MachineBasicBlock *SuccBB,
151 bool OptimizeBlock(MachineBasicBlock *MBB);
152 void RemoveDeadBlock(MachineBasicBlock *MBB);
153 bool OptimizeImpDefsBlock(MachineBasicBlock *MBB);
156 bool HoistCommonCodeInSuccs(MachineBasicBlock *MBB);