LLVM: llvm::GISelCSEAnalysisWrapper Class Reference (original) (raw)
Simple wrapper that does the following. More...
#include "[llvm/CodeGen/GlobalISel/CSEInfo.h](CSEInfo%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| LLVM_ABI GISelCSEInfo & | get (std::unique_ptr< CSEConfigBase > CSEOpt, bool ReCompute=false) |
| Takes a CSEConfigBase object that defines what opcodes get CSEd. | |
| void | setMF (MachineFunction &MFunc) |
| void | setComputed (bool Computed) |
| void | releaseMemory () |
Simple wrapper that does the following.
- 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.
Definition at line 211 of file CSEInfo.h.
◆ 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).
Definition at line 442 of file CSEInfo.cpp.
◆ releaseMemory()
| void llvm::GISelCSEAnalysisWrapper::releaseMemory ( ) | inline |
|---|
◆ setComputed()
| void llvm::GISelCSEAnalysisWrapper::setComputed ( bool Computed) | inline |
|---|
◆ setMF()
| void llvm::GISelCSEAnalysisWrapper::setMF ( MachineFunction & MFunc) | inline |
|---|
The documentation for this class was generated from the following files:
- include/llvm/CodeGen/GlobalISel/CSEInfo.h
- lib/CodeGen/GlobalISel/CSEInfo.cpp