LLVM 20.0.0git
|
A cluster of case labels. More...
#include "llvm/CodeGen/SwitchLoweringUtils.h"
Static Public Member Functions | |
static CaseCluster | range (const ConstantInt *Low, const ConstantInt *High, MachineBasicBlock *MBB, BranchProbability Prob) |
static CaseCluster | jumpTable (const ConstantInt *Low, const ConstantInt *High, unsigned JTCasesIndex, BranchProbability Prob) |
static CaseCluster | bitTests (const ConstantInt *Low, const ConstantInt *High, unsigned BTCasesIndex, BranchProbability Prob) |
Public Attributes | |
CaseClusterKind | Kind |
const ConstantInt * | Low |
const ConstantInt * | High |
union { | |
MachineBasicBlock * MBB | |
unsigned JTCasesIndex | |
unsigned BTCasesIndex | |
}; | |
BranchProbability | Prob |
A cluster of case labels.
Definition at line 42 of file SwitchLoweringUtils.h.
|
inlinestatic |
Definition at line 74 of file SwitchLoweringUtils.h.
References BTCasesIndex, llvm::CallingConv::C, llvm::SwitchCG::CC_BitTests, High, Low, and Prob.
Referenced by llvm::SwitchCG::SwitchLowering::buildBitTests().
|
inlinestatic |
Definition at line 63 of file SwitchLoweringUtils.h.
References llvm::CallingConv::C, llvm::SwitchCG::CC_JumpTable, High, JTCasesIndex, Low, and Prob.
Referenced by llvm::SwitchCG::SwitchLowering::buildJumpTable().
|
inlinestatic |
Definition at line 52 of file SwitchLoweringUtils.h.
References llvm::CallingConv::C, llvm::SwitchCG::CC_Range, High, Low, MBB, and Prob.
union { ... } llvm::SwitchCG::CaseCluster::@243 |
unsigned llvm::SwitchCG::CaseCluster::BTCasesIndex |
Definition at line 48 of file SwitchLoweringUtils.h.
Referenced by bitTests().
const ConstantInt * llvm::SwitchCG::CaseCluster::High |
Definition at line 44 of file SwitchLoweringUtils.h.
Referenced by bitTests(), jumpTable(), and range().
unsigned llvm::SwitchCG::CaseCluster::JTCasesIndex |
Definition at line 47 of file SwitchLoweringUtils.h.
Referenced by jumpTable().
CaseClusterKind llvm::SwitchCG::CaseCluster::Kind |
Definition at line 43 of file SwitchLoweringUtils.h.
const ConstantInt* llvm::SwitchCG::CaseCluster::Low |
Definition at line 44 of file SwitchLoweringUtils.h.
Referenced by bitTests(), jumpTable(), range(), and llvm::SwitchCG::sortAndRangeify().
MachineBasicBlock* llvm::SwitchCG::CaseCluster::MBB |
Definition at line 46 of file SwitchLoweringUtils.h.
Referenced by range().
BranchProbability llvm::SwitchCG::CaseCluster::Prob |
Definition at line 50 of file SwitchLoweringUtils.h.
Referenced by bitTests(), jumpTable(), and range().