Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DDFAJumpThreading.cpp497 : Switch(MSwitch->getInstr()), SwitchBlock(Switch->getParent()), in AllSwitchPaths()
503 BasicBlock *getSwitchBlock() { return SwitchBlock; } in getSwitchBlock()
507 PathsType LoopPaths = paths(SwitchBlock, Visited, /* PathDepth = */ 1); in run()
578 if (Succ == SwitchBlock) { in paths()
708 BasicBlock *SwitchBlock; member
860 BasicBlock *SwitchBlock = SwitchPaths->getSwitchBlock(); in createAllExitPaths() local
864 NewPath.push_back(SwitchBlock); in createAllExitPaths()
873 for (BasicBlock *BB : successors(SwitchBlock)) in createAllExitPaths()
/freebsd/contrib/llvm-project/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.cpp5691 BasicBlock *SwitchBlock = SI->getParent(); in ForwardSwitchConditionToPHI() local
5714 int SwitchBBIdx = Phi.getBasicBlockIndex(SwitchBlock); in ForwardSwitchConditionToPHI()
5716 count(Phi.blocks(), SwitchBlock) == 1) { in ForwardSwitchConditionToPHI()