Lines Matching refs:currentBlock
335 Block *currentBlock = condbr->getBlock(); in matchAndRewrite() local
336 Block *predecessor = currentBlock->getSinglePredecessor(); in matchAndRewrite()
347 if (currentBlock == predBranch.getTrueDest()) in matchAndRewrite()
792 Block *currentBlock = op->getBlock(); in simplifySwitchFromSwitchOnSameCondition() local
793 Block *predecessor = currentBlock->getSinglePredecessor(); in simplifySwitchFromSwitchOnSameCondition()
802 predSwitch.getDefaultDestination() == currentBlock) in simplifySwitchFromSwitchOnSameCondition()
807 auto it = llvm::find(predDests, currentBlock); in simplifySwitchFromSwitchOnSameCondition()
843 Block *currentBlock = op->getBlock(); in simplifySwitchFromDefaultSwitchOnSameCondition() local
844 Block *predecessor = currentBlock->getSinglePredecessor(); in simplifySwitchFromDefaultSwitchOnSameCondition()
853 predSwitch.getDefaultDestination() != currentBlock) in simplifySwitchFromDefaultSwitchOnSameCondition()
861 if (currentBlock != predDests[i]) in simplifySwitchFromDefaultSwitchOnSameCondition()