14#ifndef LLVM_CODEGEN_GLOBALISEL_COMBINERINFO_H
15#define LLVM_CODEGEN_GLOBALISEL_COMBINERINFO_H
32 "Expecting legalizerInfo when illegalops not allowed");
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
This is an optimization pass for GlobalISel generic memory operations.
bool EnableMinSize
Whether we're optimizing for minsize (-Oz).
unsigned MaxIterations
The maximum number of times the Combiner will iterate over the MachineFunction.
CombinerInfo(bool AllowIllegalOps, bool ShouldLegalizeIllegal, const LegalizerInfo *LInfo, bool OptEnabled, bool OptSize, bool MinSize)
const LegalizerInfo * LInfo
bool LegalizeIllegalOps
If LegalizeIllegalOps is true, the Combiner will also legalize the illegal ops that are created.
bool IllegalOpsAllowed
If IllegalOpsAllowed is false, the CombinerHelper will make use of the legalizerInfo to check for leg...
virtual ~CombinerInfo()=default
bool EnableOptSize
Whether we're optimizing for size.
bool EnableOpt
Whether optimizations should be enabled.