LLVM 20.0.0git
|
Pass to perform interprocedural constant propagation. More...
#include "llvm/Transforms/IPO/SCCP.h"
Public Member Functions | |
IPSCCPPass ()=default | |
IPSCCPPass (IPSCCPOptions Options) | |
PreservedAnalyses | run (Module &M, ModuleAnalysisManager &AM) |
bool | isFuncSpecEnabled () const |
Public Member Functions inherited from llvm::PassInfoMixin< IPSCCPPass > | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::PassInfoMixin< IPSCCPPass > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. | |
|
default |
|
inline |
|
inline |
Definition at line 58 of file SCCP.h.
References llvm::IPSCCPOptions::AllowFuncSpec.
Referenced by run().
PreservedAnalyses IPSCCPPass::run | ( | Module & | M, |
ModuleAnalysisManager & | AM | ||
) |
Definition at line 369 of file SCCP.cpp.
References llvm::PreservedAnalyses::all(), DL, F, FAM, llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), isFuncSpecEnabled(), llvm::PreservedAnalyses::preserve(), and runIPSCCP().