struct MachineTraceMetrics::FixedBlockInfo
Declaration
struct MachineTraceMetrics::FixedBlockInfo { /* full declaration omitted */ };
Description
Per-basic block information that doesn't depend on the trace through the block.
Declared at: llvm/include/llvm/CodeGen/MachineTraceMetrics.h:112
Member Variables
- public unsigned int InstrCount = ~0U
- The number of non-trivial instructions in the block. Doesn't count PHI and COPY instructions that are likely to be removed.
- public bool HasCalls = false
- True when the block contains calls.
Method Overview
- public FixedBlockInfo()
- public bool hasResources() const
- public void invalidate()
Methods
¶FixedBlockInfo()
FixedBlockInfo()
Declared at: llvm/include/llvm/CodeGen/MachineTraceMetrics.h:120
¶bool hasResources() const
bool hasResources() const
Description
Returns true when resource information for this block has been computed.
Declared at: llvm/include/llvm/CodeGen/MachineTraceMetrics.h:123
¶void invalidate()
void invalidate()
Description
Invalidate resource information.
Declared at: llvm/include/llvm/CodeGen/MachineTraceMetrics.h:126