Lines Matching refs:NextState
783 uint64_t NextState = TPath.getExitValue(); in isLegalAndProfitableToTransform() local
788 BasicBlock *VisitedBB = getClonedBB(BB, NextState, DuplicateMap); in isLegalAndProfitableToTransform()
791 DuplicateMap[BB].push_back({BB, NextState}); in isLegalAndProfitableToTransform()
804 VisitedBB = getClonedBB(BB, NextState, DuplicateMap); in isLegalAndProfitableToTransform()
808 DuplicateMap[BB].push_back({BB, NextState}); in isLegalAndProfitableToTransform()
938 uint64_t NextState = Path.getExitValue(); in createExitPath() local
955 BasicBlock *NextBB = getClonedBB(BB, NextState, DuplicateMap); in createExitPath()
964 BB, PrevBB, NextState, DuplicateMap, NewDefs, DTU); in createExitPath()
965 DuplicateMap[BB].push_back({NewBB, NextState}); in createExitPath()
1030 uint64_t NextState, in cloneBlockAndUpdatePredecessor()
1036 BB, VMap, ".jt" + std::to_string(NextState), BB->getParent()); in cloneBlockAndUpdatePredecessor()
1052 updateSuccessorPhis(BB, NewBB, NextState, VMap, DuplicateMap); in cloneBlockAndUpdatePredecessor()
1071 uint64_t NextState, ValueToValueMapTy &VMap, in updateSuccessorPhis()
1079 BasicBlock *NextCase = getNextCaseSuccessor(Switch, NextState); in updateSuccessorPhis()
1081 BasicBlock *ClonedSucc = getClonedBB(NextCase, NextState, DuplicateMap); in updateSuccessorPhis()
1093 BasicBlock *ClonedSucc = getClonedBB(Succ, NextState, DuplicateMap); in updateSuccessorPhis()
1181 uint64_t NextState = TPath.getExitValue(); in updateLastSuccessor() local
1183 BasicBlock *LastBlock = getClonedBB(BB, NextState, DuplicateMap); in updateLastSuccessor()
1190 BasicBlock *NextCase = getNextCaseSuccessor(Switch, NextState); in updateLastSuccessor()
1235 BasicBlock *getClonedBB(BasicBlock *BB, uint64_t NextState, in getClonedBB()
1241 auto It = llvm::find_if(ClonedBBs, [NextState](const ClonedBlock &C) { in getClonedBB()
1242 return C.State == NextState; in getClonedBB()
1249 BasicBlock *getNextCaseSuccessor(SwitchInst *Switch, uint64_t NextState) { in getNextCaseSuccessor()
1252 if (Case.getCaseValue()->getZExtValue() == NextState) { in getNextCaseSuccessor()