LLVM 20.0.0git
|
A pass which infers function attributes from the names and signatures of function declarations in a module. More...
#include "llvm/Transforms/IPO/InferFunctionAttrs.h"
Public Member Functions | |
PreservedAnalyses | run (Module &M, ModuleAnalysisManager &AM) |
Public Member Functions inherited from llvm::PassInfoMixin< InferFunctionAttrsPass > | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::PassInfoMixin< InferFunctionAttrsPass > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. | |
A pass which infers function attributes from the names and signatures of function declarations in a module.
Definition at line 25 of file InferFunctionAttrs.h.
PreservedAnalyses InferFunctionAttrsPass::run | ( | Module & | M, |
ModuleAnalysisManager & | AM | ||
) |
Definition at line 38 of file InferFunctionAttrs.cpp.
References llvm::PreservedAnalyses::all(), F, FAM, llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), inferAllPrototypeAttributes(), and llvm::PreservedAnalyses::none().