Lines Matching defs:TPath
388 inline raw_ostream &operator<<(raw_ostream &OS, const ThreadingPath &TPath) {
389 TPath.print(OS);
557 ThreadingPath TPath;
567 TPath.setExitValue(C);
568 TPath.setDeterminator(BB);
569 TPath.setPath(Path);
574 if (TPath.isExitValueSet() && BB == Path.front())
580 if (TPath.isExitValueSet() && isSupported(TPath))
581 TPaths.push_back(TPath);
712 bool isSupported(const ThreadingPath &TPath) {
720 const BasicBlock *DeterminatorBB = TPath.getDeterminatorBB();
723 SwitchCondUseBB == TPath.getPath().front() &&
725 if (SwitchCondUseBB != TPath.getPath().front())
729 PathType Path = TPath.getPath();
789 for (ThreadingPath &TPath : SwitchPaths->getThreadingPaths()) {
790 PathType PathBBs = TPath.getPath();
791 APInt NextState = TPath.getExitValue();
792 const BasicBlock *Determinator = TPath.getDeterminatorBB();
906 for (ThreadingPath &TPath : SwitchPaths->getThreadingPaths()) {
907 LLVM_DEBUG(dbgs() << TPath << "\n");
908 PathType NewPath(TPath.getPath());
910 TPath.setPath(NewPath);
921 for (ThreadingPath &TPath : SwitchPaths->getThreadingPaths()) {
922 createExitPath(NewDefs, TPath, DuplicateMap, BlocksToClean, &DTU);
928 for (ThreadingPath &TPath : SwitchPaths->getThreadingPaths())
929 updateLastSuccessor(TPath, DuplicateMap, &DTU);
1191 void updateLastSuccessor(ThreadingPath &TPath,
1194 APInt NextState = TPath.getExitValue();
1195 BasicBlock *BB = TPath.getPath().back();