Simple wrapper that does the following. 1) Lazily evaluate the MachineFunction to compute CSEable instructions. 2) Allows configuration of which instructions are CSEd through CSEConfig object. Provides a method called get which takes a CSEConfig object.

Synopsis

Declared in <llvm/CodeGen/GlobalISel/CSEInfo.h>

class GISelCSEAnalysisWrapper;

Member Functions

Name

Description

get

Takes a CSEConfigBase object that defines what opcodes get CSEd. If CSEConfig is already set, and the CSE Analysis has been preserved, it will not use the new CSEOpt(use Recompute to force using the new CSEOpt).

releaseMemory

setComputed

setMF

Created with MrDocs