Lines Matching refs:AMDGPUCFGStructurizer
117 class AMDGPUCFGStructurizer : public MachineFunctionPass { class
131 AMDGPUCFGStructurizer() : MachineFunctionPass(ID) { in AMDGPUCFGStructurizer() function in __anon952175200111::AMDGPUCFGStructurizer
343 char AMDGPUCFGStructurizer::ID = 0;
345 int AMDGPUCFGStructurizer::getSCCNum(MachineBasicBlock *MBB) const { in getSCCNum()
352 MachineBasicBlock *AMDGPUCFGStructurizer::getLoopLandInfo(MachineLoop *LoopRep) in getLoopLandInfo()
360 bool AMDGPUCFGStructurizer::hasBackEdge(MachineBasicBlock *MBB) const { in hasBackEdge()
368 bool AMDGPUCFGStructurizer::isRetiredBlock(MachineBasicBlock *MBB) const { in isRetiredBlock()
375 bool AMDGPUCFGStructurizer::isActiveLoophead(MachineBasicBlock *MBB) const { in isActiveLoophead()
388 AMDGPUCFGStructurizer::PathToKind AMDGPUCFGStructurizer::singlePathTo( in singlePathTo()
406 int AMDGPUCFGStructurizer::countActiveBlock(MBBVector::const_iterator It, in countActiveBlock()
417 bool AMDGPUCFGStructurizer::needMigrateBlock(MachineBasicBlock *MBB) const { in needMigrateBlock()
429 void AMDGPUCFGStructurizer::reversePredicateSetter( in reversePredicateSetter()
456 void AMDGPUCFGStructurizer::insertInstrEnd(MachineBasicBlock *MBB, in insertInstrEnd()
465 MachineInstr *AMDGPUCFGStructurizer::insertInstrBefore(MachineBasicBlock *MBB, in insertInstrBefore()
478 MachineInstr *AMDGPUCFGStructurizer::insertInstrBefore( in insertInstrBefore()
490 void AMDGPUCFGStructurizer::insertCondBranchBefore( in insertCondBranchBefore()
503 void AMDGPUCFGStructurizer::insertCondBranchBefore( in insertCondBranchBefore()
514 int AMDGPUCFGStructurizer::getBranchNzeroOpcode(int OldOpcode) { in getBranchNzeroOpcode()
525 int AMDGPUCFGStructurizer::getBranchZeroOpcode(int OldOpcode) { in getBranchZeroOpcode()
536 int AMDGPUCFGStructurizer::getContinueNzeroOpcode(int OldOpcode) { in getContinueNzeroOpcode()
545 int AMDGPUCFGStructurizer::getContinueZeroOpcode(int OldOpcode) { in getContinueZeroOpcode()
554 MachineBasicBlock *AMDGPUCFGStructurizer::getTrueBranch(MachineInstr *MI) { in getTrueBranch()
558 void AMDGPUCFGStructurizer::setTrueBranch(MachineInstr *MI, in setTrueBranch()
564 AMDGPUCFGStructurizer::getFalseBranch(MachineBasicBlock *MBB, in getFalseBranch()
574 bool AMDGPUCFGStructurizer::isCondBranch(MachineInstr *MI) { in isCondBranch()
585 bool AMDGPUCFGStructurizer::isUncondBranch(MachineInstr *MI) { in isUncondBranch()
596 DebugLoc AMDGPUCFGStructurizer::getLastDebugLocInBB(MachineBasicBlock *MBB) { in getLastDebugLocInBB()
608 MachineInstr *AMDGPUCFGStructurizer::getNormalBlockBranchInstr( in getNormalBlockBranchInstr()
617 MachineInstr *AMDGPUCFGStructurizer::getLoopendBlockBranchInstr( in getLoopendBlockBranchInstr()
633 MachineInstr *AMDGPUCFGStructurizer::getReturnInstr(MachineBasicBlock *MBB) { in getReturnInstr()
643 bool AMDGPUCFGStructurizer::isReturnBlock(MachineBasicBlock *MBB) { in isReturnBlock()
654 void AMDGPUCFGStructurizer::cloneSuccessorList(MachineBasicBlock *DstMBB, in cloneSuccessorList()
661 MachineBasicBlock *AMDGPUCFGStructurizer::clone(MachineBasicBlock *MBB) { in clone()
670 void AMDGPUCFGStructurizer::replaceInstrUseOfBlockWith( in replaceInstrUseOfBlockWith()
679 void AMDGPUCFGStructurizer::wrapup(MachineBasicBlock *MBB) { in wrapup()
707 bool AMDGPUCFGStructurizer::prepare() { in prepare()
753 bool AMDGPUCFGStructurizer::run() { in run()
877 void AMDGPUCFGStructurizer::orderBlocks(MachineFunction *MF) { in orderBlocks()
900 int AMDGPUCFGStructurizer::patternMatch(MachineBasicBlock *MBB) { in patternMatch()
915 int AMDGPUCFGStructurizer::patternMatchGroup(MachineBasicBlock *MBB) { in patternMatchGroup()
923 int AMDGPUCFGStructurizer::serialPatternMatch(MachineBasicBlock *MBB) { in serialPatternMatch()
936 int AMDGPUCFGStructurizer::ifPatternMatch(MachineBasicBlock *MBB) { in ifPatternMatch()
1014 int AMDGPUCFGStructurizer::loopendPatternMatch() { in loopendPatternMatch()
1039 int AMDGPUCFGStructurizer::mergeLoop(MachineLoop *LoopRep) { in mergeLoop()
1080 bool AMDGPUCFGStructurizer::isSameloopDetachedContbreak( in isSameloopDetachedContbreak()
1097 int AMDGPUCFGStructurizer::handleJumpintoIf(MachineBasicBlock *HeadMBB, in handleJumpintoIf()
1108 int AMDGPUCFGStructurizer::handleJumpintoIfImp(MachineBasicBlock *HeadMBB, in handleJumpintoIfImp()
1146 void AMDGPUCFGStructurizer::showImproveSimpleJumpintoIf( in showImproveSimpleJumpintoIf()
1189 int AMDGPUCFGStructurizer::improveSimpleJumpintoIf(MachineBasicBlock *HeadMBB, in improveSimpleJumpintoIf()
1364 void AMDGPUCFGStructurizer::mergeSerialBlock(MachineBasicBlock *DstMBB, in mergeSerialBlock()
1378 void AMDGPUCFGStructurizer::mergeIfthenelseBlock(MachineInstr *BranchMI, in mergeIfthenelseBlock()
1434 void AMDGPUCFGStructurizer::mergeLooplandBlock(MachineBasicBlock *DstBlk, in mergeLooplandBlock()
1444 void AMDGPUCFGStructurizer::mergeLoopbreakBlock(MachineBasicBlock *ExitingMBB, in mergeLoopbreakBlock()
1465 void AMDGPUCFGStructurizer::settleLoopcontBlock(MachineBasicBlock *ContingMBB, in settleLoopcontBlock()
1508 int AMDGPUCFGStructurizer::cloneOnSideEntryTo(MachineBasicBlock *PreMBB, in cloneOnSideEntryTo()
1527 AMDGPUCFGStructurizer::cloneBlockForPredecessor(MachineBasicBlock *MBB, in cloneBlockForPredecessor()
1552 void AMDGPUCFGStructurizer::migrateInstruction(MachineBasicBlock *SrcMBB, in migrateInstruction()
1577 AMDGPUCFGStructurizer::normalizeInfiniteLoopExit(MachineLoop* LoopRep) { in normalizeInfiniteLoopExit()
1597 void AMDGPUCFGStructurizer::removeUnconditionalBranch(MachineBasicBlock *MBB) { in removeUnconditionalBranch()
1609 void AMDGPUCFGStructurizer::removeRedundantConditionalBranch( in removeRedundantConditionalBranch()
1626 void AMDGPUCFGStructurizer::addDummyExitBlock( in addDummyExitBlock()
1645 void AMDGPUCFGStructurizer::removeSuccessor(MachineBasicBlock *MBB) { in removeSuccessor()
1650 void AMDGPUCFGStructurizer::recordSccnum(MachineBasicBlock *MBB, in recordSccnum()
1658 void AMDGPUCFGStructurizer::retireBlock(MachineBasicBlock *MBB) { in retireBlock()
1671 INITIALIZE_PASS_BEGIN(AMDGPUCFGStructurizer, "amdgpustructurizer",
1676 INITIALIZE_PASS_END(AMDGPUCFGStructurizer, "amdgpustructurizer", in INITIALIZE_PASS_DEPENDENCY()
1680 return new AMDGPUCFGStructurizer(); in INITIALIZE_PASS_DEPENDENCY()