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.cpp534 : Switch(MSwitch->getInstr()), SwitchBlock(Switch->getParent()), ORE(ORE), in AllSwitchPaths()
540 BasicBlock *getSwitchBlock() { return SwitchBlock; } in getSwitchBlock()
544 PathsType LoopPaths = paths(SwitchBlock, Visited, /* PathDepth = */ 1); in run()
621 if (Succ == SwitchBlock) { in paths()
751 BasicBlock *SwitchBlock; member
905 BasicBlock *SwitchBlock = SwitchPaths->getSwitchBlock(); in createAllExitPaths() local
909 NewPath.push_back(SwitchBlock); in createAllExitPaths()
918 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.cpp5785 BasicBlock *SwitchBlock = SI->getParent(); in ForwardSwitchConditionToPHI() local
5808 int SwitchBBIdx = Phi.getBasicBlockIndex(SwitchBlock); in ForwardSwitchConditionToPHI()
5810 count(Phi.blocks(), SwitchBlock) == 1) { in ForwardSwitchConditionToPHI()