LLVM  14.0.0git
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 165 of file SwitchLoweringUtils.h.

Constructor & Destructor Documentation

◆ JumpTable()

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

Definition at line 177 of file SwitchLoweringUtils.h.

References M.

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 175 of file SwitchLoweringUtils.h.

◆ JTI

unsigned llvm::SwitchCG::JumpTable::JTI

The JumpTableIndex for this jump table in the function.

Definition at line 170 of file SwitchLoweringUtils.h.

◆ MBB

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

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

Definition at line 172 of file SwitchLoweringUtils.h.

◆ Reg

unsigned llvm::SwitchCG::JumpTable::Reg

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

Definition at line 168 of file SwitchLoweringUtils.h.


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