Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp4141 Constant *NewCase = ConstantExpr::getSub(Case.getCaseValue(), AddRHS); in visitSwitchInst() local
4142 assert(isa<ConstantInt>(NewCase) && in visitSwitchInst()
4144 Case.setValue(cast<ConstantInt>(NewCase)); in visitSwitchInst()
4153 Constant *NewCase = ConstantExpr::getSub(SubLHS, Case.getCaseValue()); in visitSwitchInst() local
4154 assert(isa<ConstantInt>(NewCase) && in visitSwitchInst()
4156 Case.setValue(cast<ConstantInt>(NewCase)); in visitSwitchInst()