Return the CSE info, computing it with CSEOpt when needed.

Synopsis

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

GISelCSEInfo&
get(std::unique_ptr<CSEConfigBase> CSEOpt);

Description

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).

Return Value

Reference to the lazily computed GISelCSEInfo.

Parameters

Name

Description

CSEOpt

Configuration defining which opcodes are CSEd.

Created with MrDocs