LLVM 23.0.0git
llvm::SROAPass Class Reference

#include "llvm/Transforms/Scalar/SROA.h"

Inheritance diagram for llvm::SROAPass:
[legend]

Public Member Functions

LLVM_ABI SROAPass (SROAOptions Options)
 If PreserveCFG is set, then the pass is not allowed to modify CFG in any way, even if it would update CFG analyses.
LLVM_ABI PreservedAnalyses run (Function &F, FunctionAnalysisManager &AM)
 Run the pass over the function.
LLVM_ABI 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::OptionalPassInfoMixin< SROAPass >
static bool isRequired ()
Static Public Member Functions inherited from llvm::PassInfoMixin< SROAPass >
static bool isRequired ()
Static Public Member Functions inherited from llvm::detail::InfoMixin< SROAPass >
static StringRef name ()
 Gets the name of the pass we are mixed into.

Detailed Description

Definition at line 34 of file SROA.h.

Constructor & Destructor Documentation

◆ SROAPass()

SROAPass::SROAPass ( SROAOptions Options)

If PreserveCFG is set, then the pass is not allowed to modify CFG in any way, even if it would update CFG analyses.

If AggregateToVector is set, then the pass will try to convert allocas of homogeneous structs into vector allocas.

Definition at line 6138 of file SROA.cpp.

Member Function Documentation

◆ printPipeline()

void SROAPass::printPipeline ( raw_ostream & OS,
function_ref< StringRef(StringRef)> MapClassName2PassName )

Definition at line 6126 of file SROA.cpp.

References llvm::SROAOptions::PreserveCFG, and printPipeline().

Referenced by printPipeline().

◆ run()


The documentation for this class was generated from the following files: