Lines Matching defs:MachineBlockPlacement

1 //===- MachineBlockPlacement.cpp - Basic Block Code Layout optimization ---===//
360 class MachineBlockPlacement : public MachineFunctionPass {
450 /// MachineBlockPlacement, and we must preserve physical layout of these
614 MachineBlockPlacement() : MachineFunctionPass(ID) {
639 char MachineBlockPlacement::ID = 0;
641 char &llvm::MachineBlockPlacementID = MachineBlockPlacement::ID;
643 INITIALIZE_PASS_BEGIN(MachineBlockPlacement, DEBUG_TYPE,
650 INITIALIZE_PASS_END(MachineBlockPlacement, DEBUG_TYPE,
673 void MachineBlockPlacement::markChainSuccessors(
689 void MachineBlockPlacement::markBlockSuccessors(
722 BranchProbability MachineBlockPlacement::collectViableSuccessors(
800 bool MachineBlockPlacement::shouldTailDuplicate(MachineBasicBlock *BB) {
829 bool MachineBlockPlacement::isProfitableToTailDup(
983 bool MachineBlockPlacement::isTrellis(
1032 std::pair<MachineBlockPlacement::WeightedEdge,
1033 MachineBlockPlacement::WeightedEdge>
1034 MachineBlockPlacement::getBestNonConflictingEdges(
1036 MutableArrayRef<SmallVector<MachineBlockPlacement::WeightedEdge, 8>>
1077 MachineBlockPlacement::BlockAndTailDupResult
1078 MachineBlockPlacement::getBestTrellisSuccessor(
1163 bool MachineBlockPlacement::canTailDuplicateUnplacedPreds(
1286 void MachineBlockPlacement::precomputeTriangleChains() {
1428 bool MachineBlockPlacement::hasBetterLayoutPredecessor(
1608 MachineBlockPlacement::BlockAndTailDupResult
1609 MachineBlockPlacement::selectBestSuccessor(const MachineBasicBlock *BB,
1721 MachineBasicBlock *MachineBlockPlacement::selectBestCandidateBlock(
1789 MachineBasicBlock *MachineBlockPlacement::getFirstUnplacedBlock(
1816 MachineBasicBlock *MachineBlockPlacement::getFirstUnplacedBlock(
1831 void MachineBlockPlacement::fillWorkLists(
1863 void MachineBlockPlacement::buildChain(const MachineBasicBlock *HeadBB,
1953 bool MachineBlockPlacement::canMoveBottomBlockToTop(
1972 MachineBlockPlacement::TopFallThroughFreq(const MachineBasicBlock *Top,
2026 BlockFrequency MachineBlockPlacement::FallThroughGains(
2114 MachineBasicBlock *MachineBlockPlacement::findBestLoopTopHelper(
2183 MachineBlockPlacement::findBestLoopTop(const MachineLoop &L,
2212 MachineBlockPlacement::findBestLoopExit(const MachineLoop &L,
2333 bool MachineBlockPlacement::hasViableTopFallthrough(
2366 void MachineBlockPlacement::rotateLoop(BlockChain &LoopChain,
2454 void MachineBlockPlacement::rotateLoopWithProfile(
2595 MachineBlockPlacement::BlockFilterSet
2596 MachineBlockPlacement::collectLoopBlockSet(const MachineLoop &L) {
2649 void MachineBlockPlacement::buildLoopChains(const MachineLoop &L) {
2742 void MachineBlockPlacement::buildCFGChains() {
2907 void MachineBlockPlacement::optimizeBranches() {
2946 void MachineBlockPlacement::alignBlocks() {
3101 bool MachineBlockPlacement::repeatedlyTailDuplicateBlock(
3159 bool MachineBlockPlacement::maybeTailDuplicateBlock(
3284 BlockFrequency MachineBlockPlacement::scaleThreshold(MachineBasicBlock *BB) {
3289 bool MachineBlockPlacement::isBestSuccessor(MachineBasicBlock *BB,
3327 void MachineBlockPlacement::findDuplicateCandidates(
3437 void MachineBlockPlacement::initTailDupThreshold() {
3486 bool MachineBlockPlacement::runOnMachineFunction(MachineFunction &MF) {
3606 void MachineBlockPlacement::applyExtTsp(bool OptForSize) {
3696 void MachineBlockPlacement::assignBlockOrder(
3755 void MachineBlockPlacement::createCFGChainExtTsp() {