Lines Matching refs:NextState
747 APInt NextState = TPath.getExitValue(); in isLegalAndProfitableToTransform() local
752 BasicBlock *VisitedBB = getClonedBB(BB, NextState, DuplicateMap); in isLegalAndProfitableToTransform()
755 DuplicateMap[BB].push_back({BB, NextState}); in isLegalAndProfitableToTransform()
768 VisitedBB = getClonedBB(BB, NextState, DuplicateMap); in isLegalAndProfitableToTransform()
772 DuplicateMap[BB].push_back({BB, NextState}); in isLegalAndProfitableToTransform()
904 APInt NextState = Path.getExitValue(); in createExitPath() local
922 BasicBlock *NextBB = getClonedBB(BB, NextState, DuplicateMap); in createExitPath()
931 BB, PrevBB, NextState, DuplicateMap, NewDefs, DTU); in createExitPath()
932 DuplicateMap[BB].push_back({NewBB, NextState}); in createExitPath()
997 const APInt &NextState, in cloneBlockAndUpdatePredecessor()
1003 BB, VMap, ".jt" + std::to_string(NextState.getLimitedValue()), in cloneBlockAndUpdatePredecessor()
1020 updateSuccessorPhis(BB, NewBB, NextState, VMap, DuplicateMap); in cloneBlockAndUpdatePredecessor()
1039 const APInt &NextState, ValueToValueMapTy &VMap, in updateSuccessorPhis()
1047 BasicBlock *NextCase = getNextCaseSuccessor(Switch, NextState); in updateSuccessorPhis()
1049 BasicBlock *ClonedSucc = getClonedBB(NextCase, NextState, DuplicateMap); in updateSuccessorPhis()
1061 BasicBlock *ClonedSucc = getClonedBB(Succ, NextState, DuplicateMap); in updateSuccessorPhis()
1149 APInt NextState = TPath.getExitValue(); in updateLastSuccessor() local
1151 BasicBlock *LastBlock = getClonedBB(BB, NextState, DuplicateMap); in updateLastSuccessor()
1158 BasicBlock *NextCase = getNextCaseSuccessor(Switch, NextState); in updateLastSuccessor()
1203 BasicBlock *getClonedBB(BasicBlock *BB, const APInt &NextState, in getClonedBB()
1209 auto It = llvm::find_if(ClonedBBs, [NextState](const ClonedBlock &C) { in getClonedBB()
1210 return C.State == NextState; in getClonedBB()
1217 BasicBlock *getNextCaseSuccessor(SwitchInst *Switch, const APInt &NextState) { in getNextCaseSuccessor()
1220 if (Case.getCaseValue()->getValue() == NextState) { in getNextCaseSuccessor()