class MachineJumpTableInfo
Declaration
class MachineJumpTableInfo { /* full declaration omitted */ };
Declared at: llvm/include/llvm/CodeGen/MachineJumpTableInfo.h:42
Method Overview
- public MachineJumpTableInfo(llvm::MachineJumpTableInfo::JTEntryKind Kind)
- public void RemoveJumpTable(unsigned int Idx)
- public bool ReplaceMBBInJumpTable(unsigned int Idx, llvm::MachineBasicBlock * Old, llvm::MachineBasicBlock * New)
- public bool ReplaceMBBInJumpTables(llvm::MachineBasicBlock * Old, llvm::MachineBasicBlock * New)
- public unsigned int createJumpTableIndex(const std::vector<MachineBasicBlock *> & DestBBs)
- public void dump() const
- public unsigned int getEntryAlignment(const llvm::DataLayout & TD) const
- public llvm::MachineJumpTableInfo::JTEntryKind getEntryKind() const
- public unsigned int getEntrySize(const llvm::DataLayout & TD) const
- public const std::vector<MachineJumpTableEntry> & getJumpTables() const
- public bool isEmpty() const
- public void print(llvm::raw_ostream & OS) const
Methods
¶MachineJumpTableInfo(
llvm::MachineJumpTableInfo::JTEntryKind Kind)
MachineJumpTableInfo(
llvm::MachineJumpTableInfo::JTEntryKind Kind)
Declared at: llvm/include/llvm/CodeGen/MachineJumpTableInfo.h:82
Parameters
- llvm::MachineJumpTableInfo::JTEntryKind Kind
¶void RemoveJumpTable(unsigned int Idx)
void RemoveJumpTable(unsigned int Idx)
Description
RemoveJumpTable - Mark the specific index as being dead. This will prevent it from being emitted.
Declared at: llvm/include/llvm/CodeGen/MachineJumpTableInfo.h:105
Parameters
- unsigned int Idx
¶bool ReplaceMBBInJumpTable(
unsigned int Idx,
llvm::MachineBasicBlock* Old,
llvm::MachineBasicBlock* New)
bool ReplaceMBBInJumpTable(
unsigned int Idx,
llvm::MachineBasicBlock* Old,
llvm::MachineBasicBlock* New)
Description
ReplaceMBBInJumpTable - If Old is a target of the jump tables, update the jump table to branch to New instead.
Declared at: llvm/include/llvm/CodeGen/MachineJumpTableInfo.h:115
Parameters
- unsigned int Idx
- llvm::MachineBasicBlock* Old
- llvm::MachineBasicBlock* New
¶bool ReplaceMBBInJumpTables(
llvm::MachineBasicBlock* Old,
llvm::MachineBasicBlock* New)
bool ReplaceMBBInJumpTables(
llvm::MachineBasicBlock* Old,
llvm::MachineBasicBlock* New)
Description
ReplaceMBBInJumpTables - If Old is the target of any jump tables, update the jump tables to branch to New instead.
Declared at: llvm/include/llvm/CodeGen/MachineJumpTableInfo.h:111
Parameters
¶unsigned int createJumpTableIndex(
const std::vector<MachineBasicBlock*>&
DestBBs)
unsigned int createJumpTableIndex(
const std::vector<MachineBasicBlock*>&
DestBBs)
Description
createJumpTableIndex - Create a new jump table.
Declared at: llvm/include/llvm/CodeGen/MachineJumpTableInfo.h:93
Parameters
- const std::vector<MachineBasicBlock*>& DestBBs
¶void dump() const
void dump() const
Description
dump - Call to stderr.
Declared at: llvm/include/llvm/CodeGen/MachineJumpTableInfo.h:125
¶unsigned int getEntryAlignment(
const llvm::DataLayout& TD) const
unsigned int getEntryAlignment(
const llvm::DataLayout& TD) const
Description
getEntryAlignment - Return the alignment of each entry in the jump table.
Declared at: llvm/include/llvm/CodeGen/MachineJumpTableInfo.h:89
Parameters
- const llvm::DataLayout& TD
¶llvm::MachineJumpTableInfo::JTEntryKind
getEntryKind() const
llvm::MachineJumpTableInfo::JTEntryKind
getEntryKind() const
Declared at: llvm/include/llvm/CodeGen/MachineJumpTableInfo.h:84
¶unsigned int getEntrySize(
const llvm::DataLayout& TD) const
unsigned int getEntrySize(
const llvm::DataLayout& TD) const
Description
getEntrySize - Return the size of each entry in the jump table.
Declared at: llvm/include/llvm/CodeGen/MachineJumpTableInfo.h:87
Parameters
- const llvm::DataLayout& TD
¶const std::vector<MachineJumpTableEntry>&
getJumpTables() const
const std::vector<MachineJumpTableEntry>&
getJumpTables() const
Declared at: llvm/include/llvm/CodeGen/MachineJumpTableInfo.h:99
¶bool isEmpty() const
bool isEmpty() const
Description
isEmpty - Return true if there are no jump tables.
Declared at: llvm/include/llvm/CodeGen/MachineJumpTableInfo.h:97
¶void print(llvm::raw_ostream& OS) const
void print(llvm::raw_ostream& OS) const
Description
print - Used by the MachineFunction printer to print information about jump tables. Implemented in MachineFunction.cpp
Declared at: llvm/include/llvm/CodeGen/MachineJumpTableInfo.h:121