Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DDFAJumpThreading.cpp537 : Switch(MSwitch->getInstr()), SwitchBlock(Switch->getParent()), in AllSwitchPaths()
543 BasicBlock *getSwitchBlock() { return SwitchBlock; } in getSwitchBlock()
547 PathsType LoopPaths = paths(SwitchBlock, Visited, /* PathDepth = */ 1); in run()
618 if (Succ == SwitchBlock) { in paths()
748 BasicBlock *SwitchBlock; member
894 BasicBlock *SwitchBlock = SwitchPaths->getSwitchBlock(); in createAllExitPaths() local
898 NewPath.push_back(SwitchBlock); in createAllExitPaths()
907 for (BasicBlock *BB : successors(SwitchBlock)) in createAllExitPaths()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DLowerSwitch.cpp513 BasicBlock *SwitchBlock = in ProcessSwitchInst() local
522 if (SwitchBlock != Default) in ProcessSwitchInst()
526 BranchInst::Create(SwitchBlock, OrigBlock); in ProcessSwitchInst()
H A DSimplifyCFG.cpp5549 BasicBlock *SwitchBlock = SI->getParent(); in ForwardSwitchConditionToPHI() local
5572 int SwitchBBIdx = Phi.getBasicBlockIndex(SwitchBlock); in ForwardSwitchConditionToPHI()
5574 count(Phi.blocks(), SwitchBlock) == 1) { in ForwardSwitchConditionToPHI()