Options that control which GlobalISel combines run and how they iterate.
Declared in <llvm/CodeGen/GlobalISel/CombinerInfo.h>
struct CombinerInfo;
Contains information relevant to enabling/disabling various combines for a pass.
| Name | Description |
|---|---|
ObserverLevel | How the Combiner worklist reacts to MIR changes. |
| Name | Description |
|---|---|
CombinerInfo [constructor] | Construct combiner options from legality and optimization flags. |
~CombinerInfo [destructor] [virtual] | Virtual destructor for polymorphic CombinerInfo subclasses. |
| Name | Description |
|---|---|
EnableFullDCE | Whether dead code elimination is performed before each Combiner iteration. |
EnableMinSize | Whether we're optimizing for minsize (-Oz). |
EnableOpt | Whether optimizations should be enabled. |
EnableOptSize | Whether we're optimizing for size. |
IllegalOpsAllowed | If IllegalOpsAllowed is false, the CombinerHelper will make use of the legalizerInfo to check for legality before each transformation. |
LInfo | Legalizer used when illegal ops are disallowed or must be legalized. |
LegalizeIllegalOps | If LegalizeIllegalOps is true, the Combiner will also legalize the illegal ops that are created. |
MaxIterations | The maximum number of times the Combiner will iterate over the MachineFunction. Setting this to 0 enables fixed-point iteration. |
ObserverLvl | Select how the Combiner acts on MIR changes. |