LLVM: llvm::MachineTraceMetrics::FixedBlockInfo Struct Reference (original) (raw)
Per-basic block information that doesn't depend on the trace through the block. More...
#include "[llvm/CodeGen/MachineTraceMetrics.h](MachineTraceMetrics%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| FixedBlockInfo ()=default | |
| bool | hasResources () const |
| Returns true when resource information for this block has been computed. | |
| void | invalidate () |
| Invalidate resource information. |
| Public Attributes | |
|---|---|
| unsigned | InstrCount = ~0u |
| The number of non-trivial instructions in the block. | |
| bool | HasCalls = false |
| True when the block contains calls. |
Per-basic block information that doesn't depend on the trace through the block.
Definition at line 130 of file MachineTraceMetrics.h.
| llvm::MachineTraceMetrics::FixedBlockInfo::FixedBlockInfo ( ) | default |
|---|
◆ hasResources()
| bool llvm::MachineTraceMetrics::FixedBlockInfo::hasResources ( ) const | inline |
|---|
◆ invalidate()
| void llvm::MachineTraceMetrics::FixedBlockInfo::invalidate ( ) | inline |
|---|
◆ HasCalls
bool llvm::MachineTraceMetrics::FixedBlockInfo::HasCalls = false
◆ InstrCount
unsigned llvm::MachineTraceMetrics::FixedBlockInfo::InstrCount = ~0u
The documentation for this struct was generated from the following file:
- include/llvm/CodeGen/MachineTraceMetrics.h