Home
last modified time | relevance | path

Searched refs:findCaseValue (Results 1 – 16 of 16) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLowerExpectIntrinsic.cpp91 SwitchInst::CaseHandle Case = *SI.findCaseValue(ExpectedValue); in handleSwitchExpect()
H A DLoopDeletion.cpp383 auto CaseIterator = SI->findCaseValue(ConstSwitchValue); in canProveExitOnFirstIteration()
H A DLoopUnrollPass.cpp627 KnownSucc = SI->findCaseValue(SimpleCondVal)->getCaseSuccessor(); in analyzeLoopUnrollCost()
H A DJumpThreading.cpp1604 DestBB = SI->findCaseValue(cast<ConstantInt>(Val))->getCaseSuccessor(); in processThreadableEdges()
H A DNewGVN.cpp2559 auto Case = *SI->findCaseValue(CondVal); in processOutgoingEdges()
/freebsd/contrib/llvm-project/llvm/lib/SandboxIR/
H A DTracker.cpp261 auto It = Switch->findCaseValue(Val); in revert()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DSparsePropagation.h365 SwitchInst::CaseHandle Case = *SI.findCaseValue(cast<ConstantInt>(C)); in getFeasibleSuccessors()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DEvaluator.cpp544 NextBB = SI->findCaseValue(Val)->getCaseSuccessor(); in EvaluateBlock()
H A DSimplifyCFG.cpp4857 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()
H A DCloneFunction.cpp656 SwitchInst::ConstCaseHandle Case = *SI->findCaseValue(Cond); in CloneBlock()
H A DSCCPSolver.cpp1203 Succs[SI->findCaseValue(CI)->getSuccessorIndex()] = true; in getFeasibleSuccessors()
/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DInstruction.h1914 CaseIt findCaseValue(const ConstantInt *C) { in findCaseValue() function
1917 const_cast<const SwitchInst *>(this)->findCaseValue(C)->getCaseIndex()); in findCaseValue()
1919 ConstCaseIt findCaseValue(const ConstantInt *C) const { in findCaseValue() function
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionSpecialization.cpp262 BasicBlock *Succ = I.findCaseValue(C)->getCaseSuccessor(); in estimateSwitchInst()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstructions.h3462 CaseIt findCaseValue(const ConstantInt *C) {
3465 const_cast<const SwitchInst *>(this)->findCaseValue(C)->getCaseIndex());
3467 ConstCaseIt findCaseValue(const ConstantInt *C) const {
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp4113 BasicBlock *CstBB = SI.findCaseValue(C)->getCaseSuccessor(); in simplifySwitchOnSelectUsingRanges()
4255 SI.findCaseValue(CI)->getCaseSuccessor()); in visitSwitchInst()
5794 SI->findCaseValue(Cond)->getCaseSuccessor()); in prepareWorklist()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineCost.cpp3016 BasicBlock *NextBB = SI->findCaseValue(SimpleCond)->getCaseSuccessor(); in analyze()