LLVM 20.0.0git
|
A more lightweight version of the Attributor which only runs attribute inference but no simplifications. More...
#include "llvm/Transforms/IPO/Attributor.h"
Public Member Functions | |
PreservedAnalyses | run (Module &M, ModuleAnalysisManager &AM) |
Public Member Functions inherited from llvm::PassInfoMixin< AttributorLightPass > | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::PassInfoMixin< AttributorLightPass > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. | |
A more lightweight version of the Attributor which only runs attribute inference but no simplifications.
Definition at line 3448 of file Attributor.h.
PreservedAnalyses AttributorLightPass::run | ( | Module & | M, |
ModuleAnalysisManager & | AM | ||
) |
Definition at line 4066 of file Attributor.cpp.
References llvm::PreservedAnalyses::all(), Allocator, F, FAM, llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), llvm::SetVector< T, Vector, Set, N >::insert(), llvm::PreservedAnalyses::preserve(), llvm::PreservedAnalyses::preserveSet(), and runAttributorLightOnFunctions().