Home
last modified time | relevance | path

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

/llvm-project-15.0.7/mlir/lib/Dialect/ControlFlow/IR/
H A DControlFlowOps.cpp806 SuccessorRange predDests = predSwitch.getCaseDestinations(); in simplifySwitchFromSwitchOnSameCondition() local
807 auto it = llvm::find(predDests, currentBlock); in simplifySwitchFromSwitchOnSameCondition()
808 if (it != predDests.end()) { in simplifySwitchFromSwitchOnSameCondition()
811 predCaseValues->getValues<APInt>()[it - predDests.begin()]); in simplifySwitchFromSwitchOnSameCondition()
858 auto predDests = predSwitch.getCaseDestinations(); in simplifySwitchFromDefaultSwitchOnSameCondition() local
861 if (currentBlock != predDests[i]) in simplifySwitchFromDefaultSwitchOnSameCondition()