Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DIRTranslator.h396 MachineBasicBlock *SwitchMBB);
404 MachineBasicBlock *SwitchMBB, MachineIRBuilder &MIB);
407 SwitchCG::SwitchWorkListItem W, MachineBasicBlock *SwitchMBB,
419 MachineBasicBlock *SwitchMBB);
422 SwitchCG::SwitchWorkListItem W, MachineBasicBlock *SwitchMBB,
430 MachineBasicBlock *SwitchMBB,
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp715 MachineBasicBlock *SwitchMBB = &getMBB(*SI.getParent()); in translateSwitch() local
719 SwitchMBB->addSuccessor(DefaultMBB); in translateSwitch()
720 if (DefaultMBB != SwitchMBB->getNextNode()) in translateSwitch()
750 auto DefaultProb = getEdgeProbability(SwitchMBB, DefaultMBB); in translateSwitch()
751 WorkList.push_back({SwitchMBB, First, Last, nullptr, nullptr, DefaultProb}); in translateSwitch()
761 splitWorkItem(WorkList, W, SI.getCondition(), SwitchMBB, MIB); in translateSwitch()
765 if (!lowerSwitchWorkItem(W, SI.getCondition(), SwitchMBB, DefaultMBB, MIB)) in translateSwitch()
773 Value *Cond, MachineBasicBlock *SwitchMBB, in splitWorkItem() argument
832 if (W.MBB == SwitchMBB) in splitWorkItem()
833 emitSwitchCase(CB, SwitchMBB, MIB); in splitWorkItem()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.h206 MachineBasicBlock *SwitchMBB);
210 MachineBasicBlock *SwitchMBB,
H A DSelectionDAGBuilder.cpp11922 MachineBasicBlock *SwitchMBB, in lowerWorkItem() argument
11934 if (Size == 2 && W.MBB == SwitchMBB) { in lowerWorkItem()
11966 addSuccessorWithProb(SwitchMBB, Small.MBB, Small.Prob + Big.Prob); in lowerWorkItem()
11969 SwitchMBB, DefaultMBB, in lowerWorkItem()
11971 BPI->getEdgeProbability(SwitchMBB->getBasicBlock(), (unsigned)0)); in lowerWorkItem()
11973 addSuccessorWithProb(SwitchMBB, DefaultMBB); in lowerWorkItem()
12093 if (CurMBB == SwitchMBB) { in lowerWorkItem()
12094 visitJumpTableHeader(*JT, *JTH, SwitchMBB); in lowerWorkItem()
12124 if (CurMBB == SwitchMBB) { in lowerWorkItem()
12125 visitBitTestHeader(*BTB, SwitchMBB); in lowerWorkItem()
[all …]