LLVM 22.0.0git
llvm::MachineJumpTableEntry Struct Reference

MachineJumpTableEntry - One jump table in the jump table info. More...

#include "llvm/CodeGen/MachineJumpTableInfo.h"

Public Member Functions

LLVM_ABI MachineJumpTableEntry (const std::vector< MachineBasicBlock * > &M)

Public Attributes

std::vector< MachineBasicBlock * > MBBs
 MBBs - The vector of basic blocks from which to create the jump table.
MachineFunctionDataHotness Hotness
 The hotness of MJTE is inferred from the hotness of the source basic block(s) that reference it.

Detailed Description

MachineJumpTableEntry - One jump table in the jump table info.

Definition at line 36 of file MachineJumpTableInfo.h.

Constructor & Destructor Documentation

◆ MachineJumpTableEntry()

MachineJumpTableEntry::MachineJumpTableEntry ( const std::vector< MachineBasicBlock * > & M)
explicit

Definition at line 1333 of file MachineFunction.cpp.

References Hotness, MBBs, and llvm::Unknown.

Member Data Documentation

◆ Hotness

MachineFunctionDataHotness llvm::MachineJumpTableEntry::Hotness

The hotness of MJTE is inferred from the hotness of the source basic block(s) that reference it.

Definition at line 42 of file MachineJumpTableInfo.h.

Referenced by getELFSectionNameForGlobal(), and MachineJumpTableEntry().

◆ MBBs

std::vector<MachineBasicBlock*> llvm::MachineJumpTableEntry::MBBs

MBBs - The vector of basic blocks from which to create the jump table.

Definition at line 38 of file MachineJumpTableInfo.h.

Referenced by jumpTableHasOtherUses(), MachineJumpTableEntry(), and llvm::MachineJumpTableInfo::ReplaceMBBInJumpTable().


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