LLVM  10.0.0svn
Public Member Functions | Public Attributes | List of all members
llvm::SwitchCG::JumpTable Struct Reference

#include "llvm/CodeGen/SwitchLoweringUtils.h"

Collaboration diagram for llvm::SwitchCG::JumpTable:
Collaboration graph
[legend]

Public Member Functions

 JumpTable (unsigned R, unsigned J, MachineBasicBlock *M, MachineBasicBlock *D)
 

Public Attributes

unsigned Reg
 The virtual register containing the index of the jump table entry to jump to. More...
 
unsigned JTI
 The JumpTableIndex for this jump table in the function. More...
 
MachineBasicBlockMBB
 The MBB into which to emit the code for the indirect jump. More...
 
MachineBasicBlockDefault
 The MBB of the default bb, which is a successor of the range check MBB. More...
 

Detailed Description

Definition at line 159 of file SwitchLoweringUtils.h.

Constructor & Destructor Documentation

◆ JumpTable()

llvm::SwitchCG::JumpTable::JumpTable ( unsigned  R,
unsigned  J,
MachineBasicBlock M,
MachineBasicBlock D 
)
inline

Definition at line 171 of file SwitchLoweringUtils.h.

Member Data Documentation

◆ Default

MachineBasicBlock* llvm::SwitchCG::JumpTable::Default

The MBB of the default bb, which is a successor of the range check MBB.

This is when updating PHI nodes in successors.

Definition at line 169 of file SwitchLoweringUtils.h.

Referenced by llvm::IRTranslator::getAnalysisUsage(), and llvm::SelectionDAGBuilder::visitJumpTableHeader().

◆ JTI

unsigned llvm::SwitchCG::JumpTable::JTI

The JumpTableIndex for this jump table in the function.

Definition at line 164 of file SwitchLoweringUtils.h.

Referenced by llvm::IRTranslator::getAnalysisUsage(), and llvm::SelectionDAGBuilder::visitJumpTable().

◆ MBB

MachineBasicBlock* llvm::SwitchCG::JumpTable::MBB

The MBB into which to emit the code for the indirect jump.

Definition at line 166 of file SwitchLoweringUtils.h.

Referenced by llvm::IRTranslator::getAnalysisUsage(), and llvm::SelectionDAGBuilder::visitJumpTableHeader().

◆ Reg

unsigned llvm::SwitchCG::JumpTable::Reg

The virtual register containing the index of the jump table entry to jump to.

Definition at line 162 of file SwitchLoweringUtils.h.

Referenced by llvm::IRTranslator::getAnalysisUsage(), llvm::SelectionDAGBuilder::visitJumpTable(), and llvm::SelectionDAGBuilder::visitJumpTableHeader().


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