14#ifndef LLVM_CODEGEN_HARDWARELOOPS_H
15#define LLVM_CODEGEN_HARDWARELOOPS_H
This header defines various interfaces for pass management in LLVM.
HardwareLoopsPass(HardwareLoopOptions Opts={})
PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM)
This is an optimization pass for GlobalISel generic memory operations.
AnalysisManager< Function > FunctionAnalysisManager
Convenience typedef for the Function analysis manager.
std::optional< bool > Force
HardwareLoopOptions & setForceNested(bool Force)
std::optional< bool > ForceGuard
std::optional< unsigned > Decrement
HardwareLoopOptions & setDecrement(unsigned Count)
HardwareLoopOptions & setForceGuard(bool Force)
HardwareLoopOptions & setForce(bool Force)
HardwareLoopOptions & setCounterBitwidth(unsigned Width)
std::optional< unsigned > Bitwidth
HardwareLoopOptions & setForcePhi(bool Force)
std::optional< bool > ForcePhi
std::optional< bool > ForceNested
bool getForceNested() const
bool getForceGuard() const
A CRTP mix-in to automatically provide informational APIs needed for passes.