llvm::CSEConfigBase

Base configuration for CSE during GlobalISel CSEInfo analysis.

Synopsis

Declared in <llvm/CodeGen/CSEConfigBase.h>

class CSEConfigBase;

Description

Defined here because TargetPassConfig can't depend on the GlobalISel library. Used in the interface between them so that derived classes in GISel can reference generic opcodes.

Member Functions

NameDescription
~CSEConfigBase [destructor] [virtual]Virtual destructor.
shouldCSEOpc [virtual]Return whether the given generic opcode should be CSEd.

Non-Member Functions

NameDescription
getStandardCSEConfigForOptReturn the standard CSEConfig for the given optimization level.

Derived Classes

NameDescription
CSEConfigConstantOnly CSE configuration that only CSEs constant-like generic opcodes.
CSEConfigFull CSE configuration that enables CSE for a full set of generic opcodes.