Lines Matching refs:TPath

415 inline raw_ostream &operator<<(raw_ostream &OS, const ThreadingPath &TPath) {  in operator <<()  argument
416 TPath.print(OS); in operator <<()
560 ThreadingPath TPath; in run() local
570 TPath.setExitValue(C); in run()
571 TPath.setDeterminator(BB); in run()
572 TPath.setPath(Path); in run()
577 if (TPath.isExitValueSet() && BB == Path.front()) in run()
583 if (TPath.isExitValueSet() && isSupported(TPath)) in run()
584 TPaths.push_back(TPath); in run()
709 bool isSupported(const ThreadingPath &TPath) { in isSupported()
717 const BasicBlock *DeterminatorBB = TPath.getDeterminatorBB(); in isSupported()
720 SwitchCondUseBB == TPath.getPath().front() && in isSupported()
722 if (SwitchCondUseBB != TPath.getPath().front()) in isSupported()
726 PathType Path = TPath.getPath(); in isSupported()
781 for (ThreadingPath &TPath : SwitchPaths->getThreadingPaths()) { in isLegalAndProfitableToTransform()
782 PathType PathBBs = TPath.getPath(); in isLegalAndProfitableToTransform()
783 uint64_t NextState = TPath.getExitValue(); in isLegalAndProfitableToTransform()
784 const BasicBlock *Determinator = TPath.getDeterminatorBB(); in isLegalAndProfitableToTransform()
895 for (ThreadingPath &TPath : SwitchPaths->getThreadingPaths()) { in createAllExitPaths()
896 LLVM_DEBUG(dbgs() << TPath << "\n"); in createAllExitPaths()
897 PathType NewPath(TPath.getPath()); in createAllExitPaths()
899 TPath.setPath(NewPath); in createAllExitPaths()
910 for (ThreadingPath &TPath : SwitchPaths->getThreadingPaths()) { in createAllExitPaths()
911 createExitPath(NewDefs, TPath, DuplicateMap, BlocksToClean, &DTU); in createAllExitPaths()
917 for (ThreadingPath &TPath : SwitchPaths->getThreadingPaths()) in createAllExitPaths()
918 updateLastSuccessor(TPath, DuplicateMap, &DTU); in createAllExitPaths()
1178 void updateLastSuccessor(ThreadingPath &TPath, in updateLastSuccessor()
1181 uint64_t NextState = TPath.getExitValue(); in updateLastSuccessor()
1182 BasicBlock *BB = TPath.getPath().back(); in updateLastSuccessor()