Lines Matching refs:AMDGPUCFGStructurizer
92 class AMDGPUCFGStructurizer : public MachineFunctionPass { class
106 AMDGPUCFGStructurizer() : MachineFunctionPass(ID) { in AMDGPUCFGStructurizer() function in __anonc7e9fce40111::AMDGPUCFGStructurizer
318 char AMDGPUCFGStructurizer::ID = 0;
320 int AMDGPUCFGStructurizer::getSCCNum(MachineBasicBlock *MBB) const { in getSCCNum()
327 MachineBasicBlock *AMDGPUCFGStructurizer::getLoopLandInfo(MachineLoop *LoopRep) in getLoopLandInfo()
335 bool AMDGPUCFGStructurizer::hasBackEdge(MachineBasicBlock *MBB) const { in hasBackEdge()
343 bool AMDGPUCFGStructurizer::isRetiredBlock(MachineBasicBlock *MBB) const { in isRetiredBlock()
350 bool AMDGPUCFGStructurizer::isActiveLoophead(MachineBasicBlock *MBB) const { in isActiveLoophead()
363 AMDGPUCFGStructurizer::PathToKind AMDGPUCFGStructurizer::singlePathTo( in singlePathTo()
381 int AMDGPUCFGStructurizer::countActiveBlock(MBBVector::const_iterator It, in countActiveBlock()
392 bool AMDGPUCFGStructurizer::needMigrateBlock(MachineBasicBlock *MBB) const { in needMigrateBlock()
404 void AMDGPUCFGStructurizer::reversePredicateSetter( in reversePredicateSetter()
431 void AMDGPUCFGStructurizer::insertInstrEnd(MachineBasicBlock *MBB, in insertInstrEnd()
440 MachineInstr *AMDGPUCFGStructurizer::insertInstrBefore(MachineBasicBlock *MBB, in insertInstrBefore()
453 MachineInstr *AMDGPUCFGStructurizer::insertInstrBefore( in insertInstrBefore()
465 void AMDGPUCFGStructurizer::insertCondBranchBefore( in insertCondBranchBefore()
478 void AMDGPUCFGStructurizer::insertCondBranchBefore( in insertCondBranchBefore()
489 int AMDGPUCFGStructurizer::getBranchNzeroOpcode(int OldOpcode) { in getBranchNzeroOpcode()
500 int AMDGPUCFGStructurizer::getBranchZeroOpcode(int OldOpcode) { in getBranchZeroOpcode()
511 int AMDGPUCFGStructurizer::getContinueNzeroOpcode(int OldOpcode) { in getContinueNzeroOpcode()
520 int AMDGPUCFGStructurizer::getContinueZeroOpcode(int OldOpcode) { in getContinueZeroOpcode()
529 MachineBasicBlock *AMDGPUCFGStructurizer::getTrueBranch(MachineInstr *MI) { in getTrueBranch()
533 void AMDGPUCFGStructurizer::setTrueBranch(MachineInstr *MI, in setTrueBranch()
539 AMDGPUCFGStructurizer::getFalseBranch(MachineBasicBlock *MBB, in getFalseBranch()
549 bool AMDGPUCFGStructurizer::isCondBranch(MachineInstr *MI) { in isCondBranch()
560 bool AMDGPUCFGStructurizer::isUncondBranch(MachineInstr *MI) { in isUncondBranch()
571 DebugLoc AMDGPUCFGStructurizer::getLastDebugLocInBB(MachineBasicBlock *MBB) { in getLastDebugLocInBB()
583 MachineInstr *AMDGPUCFGStructurizer::getNormalBlockBranchInstr( in getNormalBlockBranchInstr()
592 MachineInstr *AMDGPUCFGStructurizer::getLoopendBlockBranchInstr( in getLoopendBlockBranchInstr()
608 MachineInstr *AMDGPUCFGStructurizer::getReturnInstr(MachineBasicBlock *MBB) { in getReturnInstr()
618 bool AMDGPUCFGStructurizer::isReturnBlock(MachineBasicBlock *MBB) { in isReturnBlock()
629 void AMDGPUCFGStructurizer::cloneSuccessorList(MachineBasicBlock *DstMBB, in cloneSuccessorList()
636 MachineBasicBlock *AMDGPUCFGStructurizer::clone(MachineBasicBlock *MBB) { in clone()
645 void AMDGPUCFGStructurizer::replaceInstrUseOfBlockWith( in replaceInstrUseOfBlockWith()
654 void AMDGPUCFGStructurizer::wrapup(MachineBasicBlock *MBB) { in wrapup()
682 bool AMDGPUCFGStructurizer::prepare() { in prepare()
728 bool AMDGPUCFGStructurizer::run() { in run()
852 void AMDGPUCFGStructurizer::orderBlocks(MachineFunction *MF) { in orderBlocks()
875 int AMDGPUCFGStructurizer::patternMatch(MachineBasicBlock *MBB) { in patternMatch()
890 int AMDGPUCFGStructurizer::patternMatchGroup(MachineBasicBlock *MBB) { in patternMatchGroup()
898 int AMDGPUCFGStructurizer::serialPatternMatch(MachineBasicBlock *MBB) { in serialPatternMatch()
911 int AMDGPUCFGStructurizer::ifPatternMatch(MachineBasicBlock *MBB) { in ifPatternMatch()
989 int AMDGPUCFGStructurizer::loopendPatternMatch() { in loopendPatternMatch()
1014 int AMDGPUCFGStructurizer::mergeLoop(MachineLoop *LoopRep) { in mergeLoop()
1055 bool AMDGPUCFGStructurizer::isSameloopDetachedContbreak( in isSameloopDetachedContbreak()
1072 int AMDGPUCFGStructurizer::handleJumpintoIf(MachineBasicBlock *HeadMBB, in handleJumpintoIf()
1083 int AMDGPUCFGStructurizer::handleJumpintoIfImp(MachineBasicBlock *HeadMBB, in handleJumpintoIfImp()
1121 void AMDGPUCFGStructurizer::showImproveSimpleJumpintoIf( in showImproveSimpleJumpintoIf()
1164 int AMDGPUCFGStructurizer::improveSimpleJumpintoIf(MachineBasicBlock *HeadMBB, in improveSimpleJumpintoIf()
1339 void AMDGPUCFGStructurizer::mergeSerialBlock(MachineBasicBlock *DstMBB, in mergeSerialBlock()
1353 void AMDGPUCFGStructurizer::mergeIfthenelseBlock(MachineInstr *BranchMI, in mergeIfthenelseBlock()
1409 void AMDGPUCFGStructurizer::mergeLooplandBlock(MachineBasicBlock *DstBlk, in mergeLooplandBlock()
1419 void AMDGPUCFGStructurizer::mergeLoopbreakBlock(MachineBasicBlock *ExitingMBB, in mergeLoopbreakBlock()
1440 void AMDGPUCFGStructurizer::settleLoopcontBlock(MachineBasicBlock *ContingMBB, in settleLoopcontBlock()
1483 int AMDGPUCFGStructurizer::cloneOnSideEntryTo(MachineBasicBlock *PreMBB, in cloneOnSideEntryTo()
1502 AMDGPUCFGStructurizer::cloneBlockForPredecessor(MachineBasicBlock *MBB, in cloneBlockForPredecessor()
1527 void AMDGPUCFGStructurizer::migrateInstruction(MachineBasicBlock *SrcMBB, in migrateInstruction()
1552 AMDGPUCFGStructurizer::normalizeInfiniteLoopExit(MachineLoop* LoopRep) { in normalizeInfiniteLoopExit()
1572 void AMDGPUCFGStructurizer::removeUnconditionalBranch(MachineBasicBlock *MBB) { in removeUnconditionalBranch()
1584 void AMDGPUCFGStructurizer::removeRedundantConditionalBranch( in removeRedundantConditionalBranch()
1601 void AMDGPUCFGStructurizer::addDummyExitBlock( in addDummyExitBlock()
1620 void AMDGPUCFGStructurizer::removeSuccessor(MachineBasicBlock *MBB) { in removeSuccessor()
1625 void AMDGPUCFGStructurizer::recordSccnum(MachineBasicBlock *MBB, in recordSccnum()
1633 void AMDGPUCFGStructurizer::retireBlock(MachineBasicBlock *MBB) { in retireBlock()
1646 INITIALIZE_PASS_BEGIN(AMDGPUCFGStructurizer, "amdgpustructurizer",
1651 INITIALIZE_PASS_END(AMDGPUCFGStructurizer, "amdgpustructurizer", in INITIALIZE_PASS_DEPENDENCY()
1655 return new AMDGPUCFGStructurizer(); in INITIALIZE_PASS_DEPENDENCY()