LLVM
8.0.1
|
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) |
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. More... | |
A pass which infers function attributes from the names and signatures of function declarations in a module.
Definition at line 26 of file InferFunctionAttrs.h.
PreservedAnalyses InferFunctionAttrsPass::run | ( | Module & | M, |
ModuleAnalysisManager & | AM | ||
) |
Definition at line 35 of file InferFunctionAttrs.cpp.
References llvm::AnalysisUsage::addRequired(), llvm::PreservedAnalyses::all(), llvm::PassRegistry::getPassRegistry(), llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), inferAllPrototypeAttributes(), INITIALIZE_PASS_BEGIN(), INITIALIZE_PASS_DEPENDENCY, llvm::initializeInferFunctionAttrsLegacyPassPass(), and llvm::PreservedAnalyses::none().