LLVM  10.0.0svn
Public Member Functions | List of all members
llvm::SelectionDAGBuilder::SDAGSwitchLowering Class Reference

#include "CodeGen/SelectionDAG/SelectionDAGBuilder.h"

Inheritance diagram for llvm::SelectionDAGBuilder::SDAGSwitchLowering:
Inheritance graph
[legend]
Collaboration diagram for llvm::SelectionDAGBuilder::SDAGSwitchLowering:
Collaboration graph
[legend]

Public Member Functions

 SDAGSwitchLowering (SelectionDAGBuilder *sdb, FunctionLoweringInfo &funcinfo)
 
virtual void addSuccessorWithProb (MachineBasicBlock *Src, MachineBasicBlock *Dst, BranchProbability Prob=BranchProbability::getUnknown()) override
 
- Public Member Functions inherited from llvm::SwitchCG::SwitchLowering
 SwitchLowering (FunctionLoweringInfo &funcinfo)
 
void init (const TargetLowering &tli, const TargetMachine &tm, const DataLayout &dl)
 
void findJumpTables (CaseClusterVector &Clusters, const SwitchInst *SI, MachineBasicBlock *DefaultMBB)
 
bool buildJumpTable (const CaseClusterVector &Clusters, unsigned First, unsigned Last, const SwitchInst *SI, 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]. More...
 
virtual ~SwitchLowering ()=default
 

Additional Inherited Members

- Public Attributes inherited from llvm::SwitchCG::SwitchLowering
std::vector< CaseBlockSwitchCases
 Vector of CaseBlock structures used to communicate SwitchInst code generation information. More...
 
std::vector< JumpTableBlockJTCases
 Vector of JumpTable structures used to communicate SwitchInst code generation information. More...
 
std::vector< BitTestBlockBitTestCases
 Vector of BitTestBlock structures used to communicate SwitchInst code generation information. More...
 

Detailed Description

Definition at line 383 of file SelectionDAGBuilder.h.

Constructor & Destructor Documentation

◆ SDAGSwitchLowering()

llvm::SelectionDAGBuilder::SDAGSwitchLowering::SDAGSwitchLowering ( SelectionDAGBuilder sdb,
FunctionLoweringInfo funcinfo 
)
inline

Definition at line 385 of file SelectionDAGBuilder.h.

Member Function Documentation

◆ addSuccessorWithProb()

virtual void llvm::SelectionDAGBuilder::SDAGSwitchLowering::addSuccessorWithProb ( MachineBasicBlock Src,
MachineBasicBlock Dst,
BranchProbability  Prob = BranchProbability::getUnknown() 
)
inlineoverridevirtual

Implements llvm::SwitchCG::SwitchLowering.

Definition at line 388 of file SelectionDAGBuilder.h.


The documentation for this class was generated from the following file: