Lines Matching refs:PassT
208 template<class PassT>
254 template<class PassT>
265 typedef typename PassT::InstructionType InstrT;
266 typedef typename PassT::FunctionType FuncT;
267 typedef typename PassT::DominatortreeType DomTreeT;
268 typedef typename PassT::PostDominatortreeType PostDomTreeT;
269 typedef typename PassT::DomTreeNodeType DomTreeNodeT;
270 typedef typename PassT::LoopinfoType LoopInfoT;
282 typedef CFGStructTraits<PassT> CFGTraits;
287 typedef typename PassT::LoopType LoopT;
298 bool run(FuncT &Func, PassT &Pass, const AMDGPURegisterInfo *tri);
301 bool prepare(FuncT &Func, PassT &Pass, const AMDGPURegisterInfo *tri);
400 PassT *passRep;
410 template<class PassT> CFGStructurizer<PassT>::CFGStructurizer() in CFGStructurizer()
414 template<class PassT> CFGStructurizer<PassT>::~CFGStructurizer() { in ~CFGStructurizer()
421 template<class PassT>
422 bool CFGStructurizer<PassT>::prepare(FuncT &func, PassT &pass, in prepare()
510 template<class PassT>
511 bool CFGStructurizer<PassT>::run(FuncT &func, PassT &pass, in run()
706 template<class PassT>
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()
772 template<class PassT>
773 int CFGStructurizer<PassT>::patternMatchGroup(BlockT *curBlk) { in patternMatchGroup()
783 template<class PassT>
784 int CFGStructurizer<PassT>::serialPatternMatch(BlockT *curBlk) { in serialPatternMatch()
799 template<class PassT>
800 int CFGStructurizer<PassT>::ifPatternMatch(BlockT *curBlk) { in ifPatternMatch()
873 template<class PassT>
874 int CFGStructurizer<PassT>::switchPatternMatch(BlockT *curBlk) { in switchPatternMatch()
878 template<class PassT>
879 int CFGStructurizer<PassT>::loopendPatternMatch(BlockT *curBlk) { in loopendPatternMatch()
918 template<class PassT>
919 int CFGStructurizer<PassT>::loopPatternMatch(BlockT *curBlk) { in loopPatternMatch()
944 template<class PassT>
945 int CFGStructurizer<PassT>::loopbreakPatternMatch(LoopT *loopRep, in loopbreakPatternMatch()
1121 template<class PassT>
1122 int CFGStructurizer<PassT>::loopcontPatternMatch(LoopT *loopRep, in loopcontPatternMatch()
1151 template<class PassT>
1152 bool CFGStructurizer<PassT>::isSameloopDetachedContbreak(BlockT *src1Blk, in isSameloopDetachedContbreak()
1175 template<class PassT>
1176 int CFGStructurizer<PassT>::handleJumpintoIf(BlockT *headBlk, in handleJumpintoIf()
1189 template<class PassT>
1190 int CFGStructurizer<PassT>::handleJumpintoIfImp(BlockT *headBlk, in handleJumpintoIfImp()
1237 template<class PassT>
1238 void CFGStructurizer<PassT>::showImproveSimpleJumpintoIf(BlockT *headBlk, in showImproveSimpleJumpintoIf()
1282 template<class PassT>
1283 int CFGStructurizer<PassT>::improveSimpleJumpintoIf(BlockT *headBlk, in improveSimpleJumpintoIf()
1440 template<class PassT>
1441 void CFGStructurizer<PassT>::handleLoopbreak(BlockT *exitingBlk, in handleLoopbreak()
1469 template<class PassT>
1470 void CFGStructurizer<PassT>::handleLoopcontBlock(BlockT *contingBlk, in handleLoopcontBlock()
1502 template<class PassT>
1503 void CFGStructurizer<PassT>::mergeSerialBlock(BlockT *dstBlk, BlockT *srcBlk) { in mergeSerialBlock()
1518 template<class PassT>
1519 void CFGStructurizer<PassT>::mergeIfthenelseBlock(InstrT *branchInstr, in mergeIfthenelseBlock()
1593 template<class PassT>
1594 void CFGStructurizer<PassT>::mergeLooplandBlock(BlockT *dstBlk, in mergeLooplandBlock()
1667 template<class PassT>
1668 void CFGStructurizer<PassT>::reversePredicateSetter(typename BlockT::iterator I) in reversePredicateSetter()
1692 template<class PassT>
1693 void CFGStructurizer<PassT>::mergeLoopbreakBlock(BlockT *exitingBlk, in mergeLoopbreakBlock()
1762 template<class PassT>
1763 void CFGStructurizer<PassT>::settleLoopcontBlock(BlockT *contingBlk, in settleLoopcontBlock()
1847 template<class PassT>
1848 typename CFGStructurizer<PassT>::BlockT *
1849 CFGStructurizer<PassT>::relocateLoopcontBlock(LoopT *parentLoopRep, in relocateLoopcontBlock()
1898 template<class PassT>
1899 typename CFGStructurizer<PassT>::BlockT *
1900 CFGStructurizer<PassT>::addLoopEndbranchBlock(LoopT *loopRep, in addLoopEndbranchBlock()
1996 template<class PassT>
1997 typename CFGStructurizer<PassT>::PathToKind
1998 CFGStructurizer<PassT>::singlePathTo(BlockT *srcBlk, BlockT *dstBlk, in singlePathTo()
2027 template<class PassT>
2028 typename CFGStructurizer<PassT>::BlockT *
2029 CFGStructurizer<PassT>::singlePathEnd(BlockT *srcBlk, BlockT *dstBlk, in singlePathEnd()
2062 template<class PassT>
2063 int CFGStructurizer<PassT>::cloneOnSideEntryTo(BlockT *preBlk, BlockT *srcBlk, in cloneOnSideEntryTo()
2081 template<class PassT>
2082 typename CFGStructurizer<PassT>::BlockT *
2083 CFGStructurizer<PassT>::cloneBlockForPredecessor(BlockT *curBlk, in cloneBlockForPredecessor()
2110 template<class PassT>
2111 typename CFGStructurizer<PassT>::BlockT *
2112 CFGStructurizer<PassT>::exitingBlock2ExitBlock(LoopT *loopRep, in exitingBlock2ExitBlock()
2131 template<class PassT>
2132 void CFGStructurizer<PassT>::migrateInstruction(BlockT *srcBlk, in migrateInstruction()
2173 template<class PassT>
2174 typename CFGStructurizer<PassT>::BlockT *
2175 CFGStructurizer<PassT>::normalizeInfiniteLoopExit(LoopT* LoopRep) { in normalizeInfiniteLoopExit()
2210 template<class PassT>
2211 void CFGStructurizer<PassT>::removeUnconditionalBranch(BlockT *srcBlk) { in removeUnconditionalBranch()
2226 template<class PassT>
2227 void CFGStructurizer<PassT>::removeRedundantConditionalBranch(BlockT *srcBlk) { in removeRedundantConditionalBranch()
2246 template<class PassT>
2247 void CFGStructurizer<PassT>::addDummyExitBlock(SmallVector<BlockT*, in addDummyExitBlock()
2282 template<class PassT>
2283 void CFGStructurizer<PassT>::removeSuccessor(BlockT *srcBlk) { in removeSuccessor()
2289 template<class PassT>
2290 void CFGStructurizer<PassT>::recordSccnum(BlockT *srcBlk, int sccNum) { in recordSccnum()
2300 template<class PassT>
2301 int CFGStructurizer<PassT>::getSCCNum(BlockT *srcBlk) { in getSCCNum()
2306 template<class PassT>
2307 void CFGStructurizer<PassT>::retireBlock(BlockT *dstBlk, BlockT *srcBlk) { in retireBlock()
2325 template<class PassT>
2326 bool CFGStructurizer<PassT>::isRetiredBlock(BlockT *srcBlk) { in isRetiredBlock()
2331 template<class PassT>
2332 bool CFGStructurizer<PassT>::isActiveLoophead(BlockT *curBlk) { in isActiveLoophead()
2352 template<class PassT>
2353 bool CFGStructurizer<PassT>::needMigrateBlock(BlockT *blk) { in needMigrateBlock()
2367 template<class PassT>
2368 typename CFGStructurizer<PassT>::BlockT *
2369 CFGStructurizer<PassT>::recordLoopLandBlock(LoopT *loopRep, BlockT *landBlk, in recordLoopLandBlock()
2412 template<class PassT>
2413 void CFGStructurizer<PassT>::setLoopLandBlock(LoopT *loopRep, BlockT *blk) { in setLoopLandBlock()
2436 template<class PassT>
2437 void CFGStructurizer<PassT>::addLoopBreakOnReg(LoopT *loopRep, RegiT regNum) { in addLoopBreakOnReg()
2453 template<class PassT>
2454 void CFGStructurizer<PassT>::addLoopContOnReg(LoopT *loopRep, RegiT regNum) { in addLoopContOnReg()
2469 template<class PassT>
2470 void CFGStructurizer<PassT>::addLoopBreakInitReg(LoopT *loopRep, RegiT regNum) { in addLoopBreakInitReg()
2485 template<class PassT>
2486 void CFGStructurizer<PassT>::addLoopContInitReg(LoopT *loopRep, RegiT regNum) { in addLoopContInitReg()
2501 template<class PassT>
2502 void CFGStructurizer<PassT>::addLoopEndbranchInitReg(LoopT *loopRep, in addLoopEndbranchInitReg()
2519 template<class PassT>
2520 typename CFGStructurizer<PassT>::LoopLandInfo *
2521 CFGStructurizer<PassT>::getLoopLandInfo(LoopT *loopRep) { in getLoopLandInfo()
2527 template<class PassT>
2528 typename CFGStructurizer<PassT>::BlockT *
2529 CFGStructurizer<PassT>::getLoopLandBlock(LoopT *loopRep) { in getLoopLandBlock()
2536 template<class PassT>
2537 bool CFGStructurizer<PassT>::hasBackEdge(BlockT *curBlk) { in hasBackEdge()
2548 template<class PassT>
2549 unsigned CFGStructurizer<PassT>::getLoopDepth(LoopT *loopRep) { in getLoopDepth()
2553 template<class PassT>
2554 int CFGStructurizer<PassT>::countActiveBlock in countActiveBlock()
2571 template<class PassT>
2572 typename CFGStructurizer<PassT>::BlockT*
2573 CFGStructurizer<PassT>::findNearestCommonPostDom(BlockT *blk1, BlockT *blk2) { in findNearestCommonPostDom()
2608 template<class PassT>
2609 typename CFGStructurizer<PassT>::BlockT *
2610 CFGStructurizer<PassT>::findNearestCommonPostDom in findNearestCommonPostDom()