Lines Matching defs:MachineBlockPlacement
1 //===- MachineBlockPlacement.cpp - Basic Block Code Layout optimization ---===//
350 class MachineBlockPlacement : public MachineFunctionPass {
436 /// MachineBlockPlacement, and we must preserve physical layout of these
599 MachineBlockPlacement() : MachineFunctionPass(ID) {
624 char MachineBlockPlacement::ID = 0;
626 char &llvm::MachineBlockPlacementID = MachineBlockPlacement::ID;
628 INITIALIZE_PASS_BEGIN(MachineBlockPlacement, DEBUG_TYPE,
635 INITIALIZE_PASS_END(MachineBlockPlacement, DEBUG_TYPE,
658 void MachineBlockPlacement::markChainSuccessors(
674 void MachineBlockPlacement::markBlockSuccessors(
707 BranchProbability MachineBlockPlacement::collectViableSuccessors(
785 bool MachineBlockPlacement::shouldTailDuplicate(MachineBasicBlock *BB) {
814 bool MachineBlockPlacement::isProfitableToTailDup(
968 bool MachineBlockPlacement::isTrellis(
1017 std::pair<MachineBlockPlacement::WeightedEdge,
1018 MachineBlockPlacement::WeightedEdge>
1019 MachineBlockPlacement::getBestNonConflictingEdges(
1021 MutableArrayRef<SmallVector<MachineBlockPlacement::WeightedEdge, 8>>
1062 MachineBlockPlacement::BlockAndTailDupResult
1063 MachineBlockPlacement::getBestTrellisSuccessor(
1148 bool MachineBlockPlacement::canTailDuplicateUnplacedPreds(
1271 void MachineBlockPlacement::precomputeTriangleChains() {
1415 bool MachineBlockPlacement::hasBetterLayoutPredecessor(
1595 MachineBlockPlacement::BlockAndTailDupResult
1596 MachineBlockPlacement::selectBestSuccessor(
1708 MachineBasicBlock *MachineBlockPlacement::selectBestCandidateBlock(
1776 MachineBasicBlock *MachineBlockPlacement::getFirstUnplacedBlock(
1803 MachineBasicBlock *MachineBlockPlacement::getFirstUnplacedBlock(
1818 void MachineBlockPlacement::fillWorkLists(
1851 void MachineBlockPlacement::buildChain(
1944 MachineBlockPlacement::canMoveBottomBlockToTop(
1964 MachineBlockPlacement::TopFallThroughFreq(
2020 MachineBlockPlacement::FallThroughGains(
2111 MachineBlockPlacement::findBestLoopTopHelper(
2181 MachineBlockPlacement::findBestLoopTop(const MachineLoop &L,
2212 MachineBlockPlacement::findBestLoopExit(const MachineLoop &L,
2334 MachineBlockPlacement::hasViableTopFallthrough(
2368 void MachineBlockPlacement::rotateLoop(BlockChain &LoopChain,
2456 void MachineBlockPlacement::rotateLoopWithProfile(
2597 MachineBlockPlacement::BlockFilterSet
2598 MachineBlockPlacement::collectLoopBlockSet(const MachineLoop &L) {
2639 void MachineBlockPlacement::buildLoopChains(const MachineLoop &L) {
2732 void MachineBlockPlacement::buildCFGChains() {
2897 void MachineBlockPlacement::optimizeBranches() {
2930 void MachineBlockPlacement::alignBlocks() {
3054 bool MachineBlockPlacement::repeatedlyTailDuplicateBlock(
3112 bool MachineBlockPlacement::maybeTailDuplicateBlock(
3238 BlockFrequency MachineBlockPlacement::scaleThreshold(MachineBasicBlock *BB) {
3243 bool MachineBlockPlacement::isBestSuccessor(MachineBasicBlock *BB,
3281 void MachineBlockPlacement::findDuplicateCandidates(
3392 void MachineBlockPlacement::initDupThreshold() {
3419 bool MachineBlockPlacement::runOnMachineFunction(MachineFunction &MF) {
3568 void MachineBlockPlacement::applyExtTsp() {
3629 void MachineBlockPlacement::assignBlockOrder(
3688 void MachineBlockPlacement::createCFGChainExtTsp() {