LLVM 20.0.0git
|
#include "llvm/Transforms/Scalar/SROA.h"
Public Member Functions | |
SROAPass (SROAOptions PreserveCFG) | |
If PreserveCFG is set, then the pass is not allowed to modify CFG in any way, even if it would update CFG analyses. | |
PreservedAnalyses | run (Function &F, FunctionAnalysisManager &AM) |
Run the pass over the function. | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Public Member Functions inherited from llvm::PassInfoMixin< SROAPass > | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::PassInfoMixin< SROAPass > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. | |
SROAPass::SROAPass | ( | SROAOptions | PreserveCFG | ) |
void SROAPass::printPipeline | ( | raw_ostream & | OS, |
function_ref< StringRef(StringRef)> | MapClassName2PassName | ||
) |
Definition at line 5654 of file SROA.cpp.
References OS, and llvm::PreserveCFG.
PreservedAnalyses SROAPass::run | ( | Function & | F, |
FunctionAnalysisManager & | AM | ||
) |
Run the pass over the function.
Definition at line 5639 of file SROA.cpp.
References llvm::PreservedAnalyses::all(), F, llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), llvm::PreservedAnalyses::preserve(), llvm::PreserveCFG, and llvm::PreservedAnalyses::preserveSet().