LLVM
8.0.1
|
Simple wrapper that does the following. More...
#include "llvm/CodeGen/GlobalISel/CSEInfo.h"
Public Member Functions | |
GISelCSEInfo & | get (std::unique_ptr< CSEConfig > CSEOpt, bool ReCompute=false) |
Takes a CSEConfig object that defines what opcodes get CSEd. More... | |
void | setMF (MachineFunction &MFunc) |
void | setComputed (bool Computed) |
void | releaseMemory () |
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.
GISelCSEInfo & GISelCSEAnalysisWrapper::get | ( | std::unique_ptr< CSEConfig > | CSEOpt, |
bool | ReCompute = false |
||
) |
Takes a CSEConfig 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 352 of file CSEInfo.cpp.
References Info.
Referenced by llvm::IRTranslator::runOnMachineFunction().
|
inline |
Definition at line 209 of file CSEInfo.h.
References llvm::GISelCSEInfo::releaseMemory().
Referenced by llvm::GISelCSEAnalysisWrapperPass::releaseMemory().
|
inline |
Definition at line 208 of file CSEInfo.h.
Referenced by llvm::GISelCSEAnalysisWrapperPass::releaseMemory().
|
inline |