Searched refs:findCaseValue (Results 1 – 16 of 16) sorted by relevance
91 SwitchInst::CaseHandle Case = *SI.findCaseValue(ExpectedValue); in handleSwitchExpect()
383 auto CaseIterator = SI->findCaseValue(ConstSwitchValue); in canProveExitOnFirstIteration()
627 KnownSucc = SI->findCaseValue(SimpleCondVal)->getCaseSuccessor(); in analyzeLoopUnrollCost()
1604 DestBB = SI->findCaseValue(cast<ConstantInt>(Val))->getCaseSuccessor(); in processThreadableEdges()
2559 auto Case = *SI->findCaseValue(CondVal); in processOutgoingEdges()
261 auto It = Switch->findCaseValue(Val); in revert()
365 SwitchInst::CaseHandle Case = *SI.findCaseValue(cast<ConstantInt>(C)); in getFeasibleSuccessors()
544 NextBB = SI->findCaseValue(Val)->getCaseSuccessor(); in EvaluateBlock()
4857 BasicBlock *TrueBB = SI->findCaseValue(TrueVal)->getCaseSuccessor(); in simplifySwitchOnSelect()4858 BasicBlock *FalseBB = SI->findCaseValue(FalseVal)->getCaseSuccessor(); in simplifySwitchOnSelect()4868 (uint32_t)Weights[SI->findCaseValue(TrueVal)->getSuccessorIndex()]; in simplifySwitchOnSelect()4870 (uint32_t)Weights[SI->findCaseValue(FalseVal)->getSuccessorIndex()]; in simplifySwitchOnSelect()4960 if (SI->findCaseValue(Cst) != SI->case_default()) { in tryToSimplifyUncondBranchWithICmpInIt()5875 SwitchInst::CaseIt CaseI = SI->findCaseValue(DeadCase); in eliminateDeadSwitchCases()
656 SwitchInst::ConstCaseHandle Case = *SI->findCaseValue(Cond); in CloneBlock()
1203 Succs[SI->findCaseValue(CI)->getSuccessorIndex()] = true; in getFeasibleSuccessors()
1914 CaseIt findCaseValue(const ConstantInt *C) { in findCaseValue() function1917 const_cast<const SwitchInst *>(this)->findCaseValue(C)->getCaseIndex()); in findCaseValue()1919 ConstCaseIt findCaseValue(const ConstantInt *C) const { in findCaseValue() function
262 BasicBlock *Succ = I.findCaseValue(C)->getCaseSuccessor(); in estimateSwitchInst()
3462 CaseIt findCaseValue(const ConstantInt *C) {3465 const_cast<const SwitchInst *>(this)->findCaseValue(C)->getCaseIndex());3467 ConstCaseIt findCaseValue(const ConstantInt *C) const {
4113 BasicBlock *CstBB = SI.findCaseValue(C)->getCaseSuccessor(); in simplifySwitchOnSelectUsingRanges()4255 SI.findCaseValue(CI)->getCaseSuccessor()); in visitSwitchInst()5794 SI->findCaseValue(Cond)->getCaseSuccessor()); in prepareWorklist()
3016 BasicBlock *NextBB = SI->findCaseValue(SimpleCond)->getCaseSuccessor(); in analyze()