Lines Matching refs:CFGStructurizer
255 class CFGStructurizer class
294 CFGStructurizer();
295 ~CFGStructurizer();
410 template<class PassT> CFGStructurizer<PassT>::CFGStructurizer() in CFGStructurizer() function in llvmCFGStruct::CFGStructurizer
414 template<class PassT> CFGStructurizer<PassT>::~CFGStructurizer() { in ~CFGStructurizer()
422 bool CFGStructurizer<PassT>::prepare(FuncT &func, PassT &pass, in prepare()
511 bool CFGStructurizer<PassT>::run(FuncT &func, PassT &pass, in run()
707 void CFGStructurizer<PassT>::printOrderedBlocks(llvm::raw_ostream &os) { in printOrderedBlocks()
725 template<class PassT> void CFGStructurizer<PassT>::orderBlocks() { in orderBlocks()
752 template<class PassT> int CFGStructurizer<PassT>::patternMatch(BlockT *curBlk) { in patternMatch()
773 int CFGStructurizer<PassT>::patternMatchGroup(BlockT *curBlk) { in patternMatchGroup()
784 int CFGStructurizer<PassT>::serialPatternMatch(BlockT *curBlk) { in serialPatternMatch()
800 int CFGStructurizer<PassT>::ifPatternMatch(BlockT *curBlk) { in ifPatternMatch()
874 int CFGStructurizer<PassT>::switchPatternMatch(BlockT *curBlk) { in switchPatternMatch()
879 int CFGStructurizer<PassT>::loopendPatternMatch(BlockT *curBlk) { in loopendPatternMatch()
919 int CFGStructurizer<PassT>::loopPatternMatch(BlockT *curBlk) { in loopPatternMatch()
945 int CFGStructurizer<PassT>::loopbreakPatternMatch(LoopT *loopRep, in loopbreakPatternMatch()
1122 int CFGStructurizer<PassT>::loopcontPatternMatch(LoopT *loopRep, in loopcontPatternMatch()
1152 bool CFGStructurizer<PassT>::isSameloopDetachedContbreak(BlockT *src1Blk, in isSameloopDetachedContbreak()
1176 int CFGStructurizer<PassT>::handleJumpintoIf(BlockT *headBlk, in handleJumpintoIf()
1190 int CFGStructurizer<PassT>::handleJumpintoIfImp(BlockT *headBlk, in handleJumpintoIfImp()
1238 void CFGStructurizer<PassT>::showImproveSimpleJumpintoIf(BlockT *headBlk, in showImproveSimpleJumpintoIf()
1283 int CFGStructurizer<PassT>::improveSimpleJumpintoIf(BlockT *headBlk, in improveSimpleJumpintoIf()
1441 void CFGStructurizer<PassT>::handleLoopbreak(BlockT *exitingBlk, in handleLoopbreak()
1470 void CFGStructurizer<PassT>::handleLoopcontBlock(BlockT *contingBlk, in handleLoopcontBlock()
1503 void CFGStructurizer<PassT>::mergeSerialBlock(BlockT *dstBlk, BlockT *srcBlk) { in mergeSerialBlock()
1519 void CFGStructurizer<PassT>::mergeIfthenelseBlock(InstrT *branchInstr, in mergeIfthenelseBlock()
1594 void CFGStructurizer<PassT>::mergeLooplandBlock(BlockT *dstBlk, in mergeLooplandBlock()
1668 void CFGStructurizer<PassT>::reversePredicateSetter(typename BlockT::iterator I) in reversePredicateSetter()
1693 void CFGStructurizer<PassT>::mergeLoopbreakBlock(BlockT *exitingBlk, in mergeLoopbreakBlock()
1763 void CFGStructurizer<PassT>::settleLoopcontBlock(BlockT *contingBlk, in settleLoopcontBlock()
1848 typename CFGStructurizer<PassT>::BlockT *
1849 CFGStructurizer<PassT>::relocateLoopcontBlock(LoopT *parentLoopRep, in relocateLoopcontBlock()
1899 typename CFGStructurizer<PassT>::BlockT *
1900 CFGStructurizer<PassT>::addLoopEndbranchBlock(LoopT *loopRep, in addLoopEndbranchBlock()
1997 typename CFGStructurizer<PassT>::PathToKind
1998 CFGStructurizer<PassT>::singlePathTo(BlockT *srcBlk, BlockT *dstBlk, in singlePathTo()
2028 typename CFGStructurizer<PassT>::BlockT *
2029 CFGStructurizer<PassT>::singlePathEnd(BlockT *srcBlk, BlockT *dstBlk, in singlePathEnd()
2063 int CFGStructurizer<PassT>::cloneOnSideEntryTo(BlockT *preBlk, BlockT *srcBlk, in cloneOnSideEntryTo()
2082 typename CFGStructurizer<PassT>::BlockT *
2083 CFGStructurizer<PassT>::cloneBlockForPredecessor(BlockT *curBlk, in cloneBlockForPredecessor()
2111 typename CFGStructurizer<PassT>::BlockT *
2112 CFGStructurizer<PassT>::exitingBlock2ExitBlock(LoopT *loopRep, in exitingBlock2ExitBlock()
2132 void CFGStructurizer<PassT>::migrateInstruction(BlockT *srcBlk, in migrateInstruction()
2174 typename CFGStructurizer<PassT>::BlockT *
2175 CFGStructurizer<PassT>::normalizeInfiniteLoopExit(LoopT* LoopRep) { in normalizeInfiniteLoopExit()
2211 void CFGStructurizer<PassT>::removeUnconditionalBranch(BlockT *srcBlk) { in removeUnconditionalBranch()
2227 void CFGStructurizer<PassT>::removeRedundantConditionalBranch(BlockT *srcBlk) { in removeRedundantConditionalBranch()
2247 void CFGStructurizer<PassT>::addDummyExitBlock(SmallVector<BlockT*, in addDummyExitBlock()
2283 void CFGStructurizer<PassT>::removeSuccessor(BlockT *srcBlk) { in removeSuccessor()
2290 void CFGStructurizer<PassT>::recordSccnum(BlockT *srcBlk, int sccNum) { in recordSccnum()
2301 int CFGStructurizer<PassT>::getSCCNum(BlockT *srcBlk) { in getSCCNum()
2307 void CFGStructurizer<PassT>::retireBlock(BlockT *dstBlk, BlockT *srcBlk) { in retireBlock()
2326 bool CFGStructurizer<PassT>::isRetiredBlock(BlockT *srcBlk) { in isRetiredBlock()
2332 bool CFGStructurizer<PassT>::isActiveLoophead(BlockT *curBlk) { in isActiveLoophead()
2353 bool CFGStructurizer<PassT>::needMigrateBlock(BlockT *blk) { in needMigrateBlock()
2368 typename CFGStructurizer<PassT>::BlockT *
2369 CFGStructurizer<PassT>::recordLoopLandBlock(LoopT *loopRep, BlockT *landBlk, in recordLoopLandBlock()
2413 void CFGStructurizer<PassT>::setLoopLandBlock(LoopT *loopRep, BlockT *blk) { in setLoopLandBlock()
2437 void CFGStructurizer<PassT>::addLoopBreakOnReg(LoopT *loopRep, RegiT regNum) { in addLoopBreakOnReg()
2454 void CFGStructurizer<PassT>::addLoopContOnReg(LoopT *loopRep, RegiT regNum) { in addLoopContOnReg()
2470 void CFGStructurizer<PassT>::addLoopBreakInitReg(LoopT *loopRep, RegiT regNum) { in addLoopBreakInitReg()
2486 void CFGStructurizer<PassT>::addLoopContInitReg(LoopT *loopRep, RegiT regNum) { in addLoopContInitReg()
2502 void CFGStructurizer<PassT>::addLoopEndbranchInitReg(LoopT *loopRep, in addLoopEndbranchInitReg()
2520 typename CFGStructurizer<PassT>::LoopLandInfo *
2521 CFGStructurizer<PassT>::getLoopLandInfo(LoopT *loopRep) { in getLoopLandInfo()
2528 typename CFGStructurizer<PassT>::BlockT *
2529 CFGStructurizer<PassT>::getLoopLandBlock(LoopT *loopRep) { in getLoopLandBlock()
2537 bool CFGStructurizer<PassT>::hasBackEdge(BlockT *curBlk) { in hasBackEdge()
2549 unsigned CFGStructurizer<PassT>::getLoopDepth(LoopT *loopRep) { in getLoopDepth()
2554 int CFGStructurizer<PassT>::countActiveBlock in countActiveBlock()
2572 typename CFGStructurizer<PassT>::BlockT*
2573 CFGStructurizer<PassT>::findNearestCommonPostDom(BlockT *blk1, BlockT *blk2) { in findNearestCommonPostDom()
2609 typename CFGStructurizer<PassT>::BlockT *
2610 CFGStructurizer<PassT>::findNearestCommonPostDom in findNearestCommonPostDom()
3254 return llvmCFGStruct::CFGStructurizer<AMDGPUCFGStructurizer>().prepare(func, in runOnMachineFunction()
3266 return llvmCFGStruct::CFGStructurizer<AMDGPUCFGStructurizer>().run(func, in runOnMachineFunction()