llvm::MachineTraceStrategy

Strategies for selecting traces.

Synopsis

Declared in <llvm/CodeGen/MachineTraceMetrics.h>

enum class MachineTraceStrategy : int;

Members

NameDescription
TS_MinInstrCount Select the trace through a block that has the fewest instructions.
TS_Local Select the trace that contains only the current basic block. For instance, this strategy can be used by MachineCombiner to make better decisions when we estimate critical path for in-order cores.
TS_NumStrategies Select the trace that contains only the current basic block. For instance, this strategy can be used by MachineCombiner to make better decisions when we estimate critical path for in-order cores.