Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstructionCombining.cpp1242 Constant* NewCaseVal = ConstantExpr::getSub(cast<Constant>(CaseVal), in visitSwitchInst() local
1244 assert(isa<ConstantInt>(NewCaseVal) && in visitSwitchInst()
1246 SI.setSuccessorValue(i, cast<ConstantInt>(NewCaseVal)); in visitSwitchInst()
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp2218 Constant *NewCaseVal = ConstantExpr::getSub(LHS, AddRHS); in visitSwitchInst() local
2219 assert(isa<ConstantInt>(NewCaseVal) && in visitSwitchInst()
2221 i.setValue(cast<ConstantInt>(NewCaseVal)); in visitSwitchInst()