Go to the documentation of this file.
14 #ifndef LLVM_IR_OPTBISECT_H
15 #define LLVM_IR_OPTBISECT_H
88 int LastBisectNum = 0;
96 #endif // LLVM_IR_OPTBISECT_H
This is an optimization pass for GlobalISel generic memory operations.
print lazy value Lazy Value Info Printer Pass
This currently compiles esp xmm0 movsd esp eax eax esp ret We should use not the dag combiner This is because dagcombine2 needs to be able to see through the X86ISD::Wrapper which DAGCombine can t really do The code for turning x load into a single vector load is target independent and should be moved to the dag combiner The code for turning x load into a vector load can only handle a direct load from a global or a direct load from the stack It should be generalized to handle any load from P
virtual bool isEnabled() const
isEnabled() should return true before calling shouldRunPass().
OptBisect()=default
Default constructor.
static const int Disabled
This class implements a mechanism to disable passes and individual optimizations at compile time base...
Extensions to this class implement mechanisms to disable passes and individual optimizations at compi...
ManagedStatic - This transparently changes the behavior of global statics to be lazily constructed on...
bool shouldRunPass(const Pass *P, StringRef IRDescription) override
Checks the bisect limit to determine if the specified pass should run.
bool checkPass(const StringRef PassName, const StringRef TargetDesc)
Checks the bisect limit to determine if the specified pass should run.
virtual ~OptPassGate()=default
StringRef - Represent a constant reference to a string, i.e.
ManagedStatic< OptBisect > OptBisector
Singleton instance of the OptBisect class, so multiple pass managers don't need to coordinate their u...
virtual ~OptBisect()=default
Pass interface - Implemented by all 'passes'.
Align max(MaybeAlign Lhs, Align Rhs)
bool isEnabled() const override
isEnabled() should return true before calling shouldRunPass().
virtual bool shouldRunPass(const Pass *P, StringRef IRDescription)
IRDescription is a textual description of the IR unit the pass is running over.
void setLimit(int Limit)
Set the new optimization limit and reset the counter.
static const char PassName[]