gem5
|
#include <kernel_cfg.hh>
Public Member Functions | |
BasicBlock (uint32_t num, GPUStaticInst *begin) | |
bool | isEntry () const |
bool | isExit () const |
Public Attributes | |
const uint32_t | id |
Unique identifier for the block within a given kernel. More... | |
size_t | size |
Number of instructions contained in the block. More... | |
GPUStaticInst * | firstInstruction |
Pointer to first instruction of the block. More... | |
std::set< uint32_t > | successorIds |
Identifiers of the blocks that follow (are reachable from) this block. More... | |
std::set< uint32_t > | postDominatorIds |
Identifiers of the blocks that will be visited from this block. More... | |
Definition at line 49 of file kernel_cfg.hh.
|
inline |
Definition at line 51 of file kernel_cfg.hh.
|
inline |
Definition at line 57 of file kernel_cfg.hh.
References id.
|
inline |
Definition at line 63 of file kernel_cfg.hh.
References size.
Referenced by ControlFlowInfo::findImmediatePostDominators(), ControlFlowInfo::lastInstruction(), and ControlFlowInfo::postDominator().
GPUStaticInst* BasicBlock::firstInstruction |
Pointer to first instruction of the block.
Definition at line 81 of file kernel_cfg.hh.
Referenced by ControlFlowInfo::basicBlock(), and ControlFlowInfo::lastInstruction().
const uint32_t BasicBlock::id |
Unique identifier for the block within a given kernel.
Definition at line 71 of file kernel_cfg.hh.
Referenced by ControlFlowInfo::connectBasicBlocks(), ControlFlowInfo::findImmediatePostDominators(), isEntry(), and ControlFlowInfo::printBasicBlocks().
std::set<uint32_t> BasicBlock::postDominatorIds |
Identifiers of the blocks that will be visited from this block.
Definition at line 91 of file kernel_cfg.hh.
Referenced by ControlFlowInfo::findImmediatePostDominators().
size_t BasicBlock::size |
Number of instructions contained in the block.
Definition at line 76 of file kernel_cfg.hh.
Referenced by isExit(), and ControlFlowInfo::lastInstruction().
std::set<uint32_t> BasicBlock::successorIds |
Identifiers of the blocks that follow (are reachable from) this block.
Definition at line 86 of file kernel_cfg.hh.