Lines Matching refs:AMDGPUCFGStructurizer
120 class AMDGPUCFGStructurizer : public MachineFunctionPass {
134 AMDGPUCFGStructurizer(TargetMachine &tm) :
349 int AMDGPUCFGStructurizer::getSCCNum(MachineBasicBlock *MBB) const {
356 MachineBasicBlock *AMDGPUCFGStructurizer::getLoopLandInfo(MachineLoop *LoopRep)
364 bool AMDGPUCFGStructurizer::hasBackEdge(MachineBasicBlock *MBB) const {
372 unsigned AMDGPUCFGStructurizer::getLoopDepth(MachineLoop *LoopRep) {
376 bool AMDGPUCFGStructurizer::isRetiredBlock(MachineBasicBlock *MBB) const {
383 bool AMDGPUCFGStructurizer::isActiveLoophead(MachineBasicBlock *MBB) const {
395 AMDGPUCFGStructurizer::PathToKind AMDGPUCFGStructurizer::singlePathTo(
413 int AMDGPUCFGStructurizer::countActiveBlock(MBBVector::const_iterator It,
424 bool AMDGPUCFGStructurizer::needMigrateBlock(MachineBasicBlock *MBB) const {
436 void AMDGPUCFGStructurizer::reversePredicateSetter(
464 void AMDGPUCFGStructurizer::insertInstrEnd(MachineBasicBlock *MBB,
473 MachineInstr *AMDGPUCFGStructurizer::insertInstrBefore(MachineBasicBlock *MBB,
485 MachineInstr *AMDGPUCFGStructurizer::insertInstrBefore(
497 void AMDGPUCFGStructurizer::insertCondBranchBefore(
510 void AMDGPUCFGStructurizer::insertCondBranchBefore(MachineBasicBlock *blk,
521 void AMDGPUCFGStructurizer::insertCondBranchEnd(MachineBasicBlock *MBB,
531 int AMDGPUCFGStructurizer::getBranchNzeroOpcode(int OldOpcode) {
542 int AMDGPUCFGStructurizer::getBranchZeroOpcode(int OldOpcode) {
553 int AMDGPUCFGStructurizer::getContinueNzeroOpcode(int OldOpcode) {
562 int AMDGPUCFGStructurizer::getContinueZeroOpcode(int OldOpcode) {
571 MachineBasicBlock *AMDGPUCFGStructurizer::getTrueBranch(MachineInstr *MI) {
575 void AMDGPUCFGStructurizer::setTrueBranch(MachineInstr *MI,
581 AMDGPUCFGStructurizer::getFalseBranch(MachineBasicBlock *MBB,
591 bool AMDGPUCFGStructurizer::isCondBranch(MachineInstr *MI) {
602 bool AMDGPUCFGStructurizer::isUncondBranch(MachineInstr *MI) {
613 DebugLoc AMDGPUCFGStructurizer::getLastDebugLocInBB(MachineBasicBlock *MBB) {
625 MachineInstr *AMDGPUCFGStructurizer::getNormalBlockBranchInstr(
634 MachineInstr *AMDGPUCFGStructurizer::getLoopendBlockBranchInstr(
650 MachineInstr *AMDGPUCFGStructurizer::getReturnInstr(MachineBasicBlock *MBB) {
660 MachineInstr *AMDGPUCFGStructurizer::getContinueInstr(MachineBasicBlock *MBB) {
670 bool AMDGPUCFGStructurizer::isReturnBlock(MachineBasicBlock *MBB) {
682 void AMDGPUCFGStructurizer::cloneSuccessorList(MachineBasicBlock *DstMBB,
689 MachineBasicBlock *AMDGPUCFGStructurizer::clone(MachineBasicBlock *MBB) {
701 void AMDGPUCFGStructurizer::replaceInstrUseOfBlockWith(
710 void AMDGPUCFGStructurizer::wrapup(MachineBasicBlock *MBB) {
740 bool AMDGPUCFGStructurizer::prepare() {
745 DEBUG(dbgs() << "AMDGPUCFGStructurizer::prepare\n";);
786 bool AMDGPUCFGStructurizer::run() {
789 DEBUG(dbgs() << "AMDGPUCFGStructurizer::run\n";FuncRep->viewCFG(););
930 void AMDGPUCFGStructurizer::orderBlocks(MachineFunction *MF) {
956 int AMDGPUCFGStructurizer::patternMatch(MachineBasicBlock *MBB) {
975 int AMDGPUCFGStructurizer::patternMatchGroup(MachineBasicBlock *MBB) {
984 int AMDGPUCFGStructurizer::serialPatternMatch(MachineBasicBlock *MBB) {
997 int AMDGPUCFGStructurizer::ifPatternMatch(MachineBasicBlock *MBB) {
1074 int AMDGPUCFGStructurizer::loopendPatternMatch() {
1103 int AMDGPUCFGStructurizer::mergeLoop(MachineLoop *LoopRep) {
1147 int AMDGPUCFGStructurizer::loopcontPatternMatch(MachineLoop *LoopRep,
1175 bool AMDGPUCFGStructurizer::isSameloopDetachedContbreak(
1194 int AMDGPUCFGStructurizer::handleJumpintoIf(MachineBasicBlock *HeadMBB,
1206 int AMDGPUCFGStructurizer::handleJumpintoIfImp(MachineBasicBlock *HeadMBB,
1251 void AMDGPUCFGStructurizer::showImproveSimpleJumpintoIf(
1293 int AMDGPUCFGStructurizer::improveSimpleJumpintoIf(MachineBasicBlock *HeadMBB,
1421 void AMDGPUCFGStructurizer::handleLoopcontBlock(MachineBasicBlock *ContingMBB,
1432 void AMDGPUCFGStructurizer::mergeSerialBlock(MachineBasicBlock *DstMBB,
1448 void AMDGPUCFGStructurizer::mergeIfthenelseBlock(MachineInstr *BranchMI,
1516 void AMDGPUCFGStructurizer::mergeLooplandBlock(MachineBasicBlock *DstBlk,
1528 void AMDGPUCFGStructurizer::mergeLoopbreakBlock(MachineBasicBlock *ExitingMBB,
1548 void AMDGPUCFGStructurizer::settleLoopcontBlock(MachineBasicBlock *ContingMBB,
1591 int AMDGPUCFGStructurizer::cloneOnSideEntryTo(MachineBasicBlock *PreMBB,
1610 AMDGPUCFGStructurizer::cloneBlockForPredecessor(MachineBasicBlock *MBB,
1637 void AMDGPUCFGStructurizer::migrateInstruction(MachineBasicBlock *SrcMBB,
1669 AMDGPUCFGStructurizer::normalizeInfiniteLoopExit(MachineLoop* LoopRep) {
1699 void AMDGPUCFGStructurizer::removeUnconditionalBranch(MachineBasicBlock *MBB) {
1711 void AMDGPUCFGStructurizer::removeRedundantConditionalBranch(
1728 void AMDGPUCFGStructurizer::addDummyExitBlock(
1749 void AMDGPUCFGStructurizer::removeSuccessor(MachineBasicBlock *MBB) {
1754 void AMDGPUCFGStructurizer::recordSccnum(MachineBasicBlock *MBB,
1762 void AMDGPUCFGStructurizer::retireBlock(MachineBasicBlock *MBB) {
1777 void AMDGPUCFGStructurizer::setLoopLandBlock(MachineLoop *loopRep,
1794 AMDGPUCFGStructurizer::findNearestCommonPostDom(MachineBasicBlock *MBB1,
1825 AMDGPUCFGStructurizer::findNearestCommonPostDom(
1847 char AMDGPUCFGStructurizer::ID = 0;
1853 return new AMDGPUCFGStructurizer(tm);