LLVM 20.0.0git
|
This structure is used to communicate between SelectionDAGBuilder and SDISel for the code generation of additional basic blocks needed by multi-case switch statements. More...
#include "llvm/CodeGen/SwitchLoweringUtils.h"
Classes | |
struct | PredInfoPair |
Public Member Functions | |
CaseBlock (ISD::CondCode cc, const Value *cmplhs, const Value *cmprhs, const Value *cmpmiddle, MachineBasicBlock *truebb, MachineBasicBlock *falsebb, MachineBasicBlock *me, SDLoc dl, BranchProbability trueprob=BranchProbability::getUnknown(), BranchProbability falseprob=BranchProbability::getUnknown(), bool isunpredictable=false) | |
CaseBlock (CmpInst::Predicate pred, bool nocmp, const Value *cmplhs, const Value *cmprhs, const Value *cmpmiddle, MachineBasicBlock *truebb, MachineBasicBlock *falsebb, MachineBasicBlock *me, DebugLoc dl, BranchProbability trueprob=BranchProbability::getUnknown(), BranchProbability falseprob=BranchProbability::getUnknown(), bool isunpredictable=false) | |
Public Attributes | |
union { | |
ISD::CondCode CC | |
struct PredInfoPair PredInfo | |
}; | |
const Value * | CmpLHS |
const Value * | CmpMHS |
const Value * | CmpRHS |
MachineBasicBlock * | TrueBB |
MachineBasicBlock * | FalseBB |
MachineBasicBlock * | ThisBB |
SDLoc | DL |
The debug location of the instruction this CaseBlock was produced from. | |
DebugLoc | DbgLoc |
BranchProbability | TrueProb |
BranchProbability | FalseProb |
bool | IsUnpredictable |
This structure is used to communicate between SelectionDAGBuilder and SDISel for the code generation of additional basic blocks needed by multi-case switch statements.
Definition at line 109 of file SwitchLoweringUtils.h.
|
inline |
Definition at line 145 of file SwitchLoweringUtils.h.
|
inline |
Definition at line 157 of file SwitchLoweringUtils.h.
References pred.
union { ... } llvm::SwitchCG::CaseBlock::@245 |
ISD::CondCode llvm::SwitchCG::CaseBlock::CC |
Definition at line 120 of file SwitchLoweringUtils.h.
Referenced by llvm::SelectionDAGBuilder::visitSwitchCase().
Definition at line 127 of file SwitchLoweringUtils.h.
Referenced by llvm::SelectionDAGBuilder::visitSwitchCase().
Definition at line 127 of file SwitchLoweringUtils.h.
Referenced by llvm::SelectionDAGBuilder::visitSwitchCase().
Definition at line 127 of file SwitchLoweringUtils.h.
Referenced by llvm::SelectionDAGBuilder::visitSwitchCase().
DebugLoc llvm::SwitchCG::CaseBlock::DbgLoc |
Definition at line 138 of file SwitchLoweringUtils.h.
SDLoc llvm::SwitchCG::CaseBlock::DL |
The debug location of the instruction this CaseBlock was produced from.
Definition at line 137 of file SwitchLoweringUtils.h.
Referenced by llvm::SelectionDAGBuilder::visitSwitchCase().
MachineBasicBlock * llvm::SwitchCG::CaseBlock::FalseBB |
Definition at line 130 of file SwitchLoweringUtils.h.
Referenced by llvm::SelectionDAGBuilder::visitSwitchCase().
BranchProbability llvm::SwitchCG::CaseBlock::FalseProb |
Definition at line 141 of file SwitchLoweringUtils.h.
Referenced by llvm::SelectionDAGBuilder::visitSwitchCase().
bool llvm::SwitchCG::CaseBlock::IsUnpredictable |
Definition at line 142 of file SwitchLoweringUtils.h.
Referenced by llvm::SelectionDAGBuilder::visitSwitchCase().
struct PredInfoPair llvm::SwitchCG::CaseBlock::PredInfo |
Definition at line 121 of file SwitchLoweringUtils.h.
MachineBasicBlock* llvm::SwitchCG::CaseBlock::ThisBB |
Definition at line 133 of file SwitchLoweringUtils.h.
MachineBasicBlock* llvm::SwitchCG::CaseBlock::TrueBB |
Definition at line 130 of file SwitchLoweringUtils.h.
Referenced by llvm::SelectionDAGBuilder::visitSwitchCase().
BranchProbability llvm::SwitchCG::CaseBlock::TrueProb |
Definition at line 141 of file SwitchLoweringUtils.h.
Referenced by llvm::SelectionDAGBuilder::visitSwitchCase().