LLVM API Documentation
#include <MachineJumpTableInfo.h>

Public Member Functions | |
| MachineJumpTableInfo (unsigned Size, unsigned Align) | |
| unsigned | getJumpTableIndex (const std::vector< MachineBasicBlock * > &DestBBs) |
| bool | isEmpty () const |
| const std::vector < MachineJumpTableEntry > & | getJumpTables () const |
| void | RemoveJumpTable (unsigned Idx) |
| bool | ReplaceMBBInJumpTables (MachineBasicBlock *Old, MachineBasicBlock *New) |
| unsigned | getEntrySize () const |
| unsigned | getAlignment () const |
| getAlignment - returns the target's preferred alignment for jump tables | |
| void | print (std::ostream &OS) const |
| void | print (std::ostream *OS) const |
| void | dump () const |
Definition at line 42 of file MachineJumpTableInfo.h.
Definition at line 47 of file MachineJumpTableInfo.h.
| unsigned MachineJumpTableInfo::getJumpTableIndex | ( | const std::vector< MachineBasicBlock * > & | DestBBs | ) |
getJumpTableIndex - Create a new jump table or return an existing one.
getJumpTableIndex - Create a new jump table entry in the jump table info or return an existing one.
Definition at line 446 of file MachineFunction.cpp.
| bool llvm::MachineJumpTableInfo::isEmpty | ( | ) | const [inline] |
isEmpty - Return true if there are no jump tables.
Definition at line 56 of file MachineJumpTableInfo.h.
| const std::vector<MachineJumpTableEntry>& llvm::MachineJumpTableInfo::getJumpTables | ( | ) | const [inline] |
Definition at line 58 of file MachineJumpTableInfo.h.
Referenced by llvm::AsmPrinter::EmitJumpTableInfo(), llvm::MachOCodeEmitter::emitJumpTables(), llvm::ARMInstrInfo::GetInstSizeInBytes(), and GetJumpTableSizeInBytes().
| void llvm::MachineJumpTableInfo::RemoveJumpTable | ( | unsigned | Idx | ) | [inline] |
RemoveJumpTable - Mark the specific index as being dead. This will cause it to not be emitted.
Definition at line 64 of file MachineJumpTableInfo.h.
| bool llvm::MachineJumpTableInfo::ReplaceMBBInJumpTables | ( | MachineBasicBlock * | Old, | |
| MachineBasicBlock * | New | |||
| ) | [inline] |
ReplaceMBBInJumpTables - If Old is the target of any jump tables, update the jump tables to branch to New instead.
Definition at line 70 of file MachineJumpTableInfo.h.
References MadeChange, and llvm::MachineJumpTableEntry::MBBs.
| unsigned llvm::MachineJumpTableInfo::getEntrySize | ( | ) | const [inline] |
getEntrySize - Returns the size of an individual field in a jump table.
Definition at line 86 of file MachineJumpTableInfo.h.
Referenced by GetJumpTableSizeInBytes(), llvm::X86ATTAsmPrinter::printPICJumpTableEntry(), and llvm::AsmPrinter::printPICJumpTableEntry().
| unsigned llvm::MachineJumpTableInfo::getAlignment | ( | ) | const [inline] |
getAlignment - returns the target's preferred alignment for jump tables
Definition at line 89 of file MachineJumpTableInfo.h.
Referenced by llvm::AsmPrinter::EmitJumpTableInfo().
| void MachineJumpTableInfo::print | ( | std::ostream & | OS | ) | const |
print - Used by the MachineFunction printer to print information about jump tables. Implemented in MachineFunction.cpp
Definition at line 458 of file MachineFunction.cpp.
Referenced by dump(), print(), and llvm::MachineFunction::print().
| void llvm::MachineJumpTableInfo::print | ( | std::ostream * | OS | ) | const [inline] |
| void MachineJumpTableInfo::dump | ( | ) | const |
dump - Call print(std::cerr) to be called from the debugger.
Definition at line 467 of file MachineFunction.cpp.
References llvm::cerr(), and print().
This web site is hosted by the Computer Science Department at the University of Illinois at Urbana-Champaign.