Searched refs:NewCaseVal (Results 1 – 2 of 2) sorted by relevance
1242 Constant* NewCaseVal = ConstantExpr::getSub(cast<Constant>(CaseVal), in visitSwitchInst() local1244 assert(isa<ConstantInt>(NewCaseVal) && in visitSwitchInst()1246 SI.setSuccessorValue(i, cast<ConstantInt>(NewCaseVal)); in visitSwitchInst()
2218 Constant *NewCaseVal = ConstantExpr::getSub(LHS, AddRHS); in visitSwitchInst() local2219 assert(isa<ConstantInt>(NewCaseVal) && in visitSwitchInst()2221 i.setValue(cast<ConstantInt>(NewCaseVal)); in visitSwitchInst()