|
LLVM
4.0.0
|
Per-basic block information that doesn't depend on the trace through the block. More...
#include <MachineTraceMetrics.h>
Public Member Functions | |
| FixedBlockInfo () | |
| bool | hasResources () const |
| Returns true when resource information for this block has been computed. More... | |
| void | invalidate () |
| Invalidate resource information. More... | |
Public Attributes | |
| unsigned | InstrCount |
| The number of non-trivial instructions in the block. More... | |
| bool | HasCalls |
| True when the block contains calls. More... | |
Per-basic block information that doesn't depend on the trace through the block.
Definition at line 91 of file MachineTraceMetrics.h.
|
inline |
Definition at line 99 of file MachineTraceMetrics.h.
|
inline |
Returns true when resource information for this block has been computed.
Definition at line 102 of file MachineTraceMetrics.h.
References InstrCount.
Referenced by llvm::MachineTraceMetrics::getResources().
|
inline |
Invalidate resource information.
Definition at line 105 of file MachineTraceMetrics.h.
References InstrCount.
| bool llvm::MachineTraceMetrics::FixedBlockInfo::HasCalls |
True when the block contains calls.
Definition at line 97 of file MachineTraceMetrics.h.
Referenced by llvm::MachineTraceMetrics::getResources().
| unsigned llvm::MachineTraceMetrics::FixedBlockInfo::InstrCount |
The number of non-trivial instructions in the block.
Doesn't count PHI and COPY instructions that are likely to be removed.
Definition at line 94 of file MachineTraceMetrics.h.
Referenced by llvm::MachineTraceMetrics::getResources(), hasResources(), and invalidate().
1.8.6