#include "CodeGen/SelectionDAG/SelectionDAGBuilder.h"
|
| SDAGSwitchLowering (SelectionDAGBuilder *sdb, FunctionLoweringInfo &funcinfo) |
|
void | addSuccessorWithProb (MachineBasicBlock *Src, MachineBasicBlock *Dst, BranchProbability Prob=BranchProbability::getUnknown()) override |
|
| SwitchLowering (FunctionLoweringInfo &funcinfo) |
|
void | init (const TargetLowering &tli, const TargetMachine &tm, const DataLayout &dl) |
|
void | findJumpTables (CaseClusterVector &Clusters, const SwitchInst *SI, std::optional< SDLoc > SL, MachineBasicBlock *DefaultMBB, ProfileSummaryInfo *PSI, BlockFrequencyInfo *BFI) |
|
bool | buildJumpTable (const CaseClusterVector &Clusters, unsigned First, unsigned Last, const SwitchInst *SI, const std::optional< SDLoc > &SL, MachineBasicBlock *DefaultMBB, CaseCluster &JTCluster) |
|
void | findBitTestClusters (CaseClusterVector &Clusters, const SwitchInst *SI) |
|
bool | buildBitTests (CaseClusterVector &Clusters, unsigned First, unsigned Last, const SwitchInst *SI, CaseCluster &BTCluster) |
| Build a bit test cluster from Clusters[First..Last].
|
|
virtual void | addSuccessorWithProb (MachineBasicBlock *Src, MachineBasicBlock *Dst, BranchProbability Prob=BranchProbability::getUnknown())=0 |
|
unsigned | caseClusterRank (const CaseCluster &CC, CaseClusterIt First, CaseClusterIt Last) |
| Determine the rank by weight of CC in [First,Last].
|
|
SplitWorkItemInfo | computeSplitWorkItemInfo (const SwitchWorkListItem &W) |
| Compute information to balance the tree based on branch probabilities to create a near-optimal (in terms of search time given key frequency) binary search tree.
|
|
virtual | ~SwitchLowering ()=default |
|
Definition at line 232 of file SelectionDAGBuilder.h.
◆ SDAGSwitchLowering()
◆ addSuccessorWithProb()
The documentation for this class was generated from the following file: