LLVM API Documentation
#include <PassManager.h>
Classes | |
struct | FunctionPassModel |
Public Member Functions | |
FunctionPassManager () | |
FunctionPassManager (FunctionPassManager &&Arg) | |
FunctionPassManager & | operator= (FunctionPassManager &&RHS) |
template<typename FunctionPassT > | |
void | addPass (FunctionPassT Pass) |
PreservedAnalyses | run (Function *F, FunctionAnalysisManager *AM=nullptr) |
Static Public Member Functions | |
static StringRef | name () |
Definition at line 507 of file IR/PassManager.h.
llvm::FunctionPassManager::FunctionPassManager | ( | ) | [inline] |
Definition at line 511 of file IR/PassManager.h.
llvm::FunctionPassManager::FunctionPassManager | ( | FunctionPassManager && | Arg | ) | [inline] |
Definition at line 512 of file IR/PassManager.h.
void llvm::FunctionPassManager::addPass | ( | FunctionPassT | Pass | ) | [inline] |
Definition at line 519 of file IR/PassManager.h.
static StringRef llvm::FunctionPassManager::name | ( | ) | [inline, static] |
Definition at line 525 of file IR/PassManager.h.
FunctionPassManager& llvm::FunctionPassManager::operator= | ( | FunctionPassManager && | RHS | ) | [inline] |
Definition at line 514 of file IR/PassManager.h.
PreservedAnalyses FunctionPassManager::run | ( | Function * | F, |
FunctionAnalysisManager * | AM = nullptr |
||
) |
Definition at line 83 of file PassManager.cpp.
References llvm::PreservedAnalyses::all(), llvm::dbgs(), DebugPM, llvm::Function::getContext(), llvm::PreservedAnalyses::intersect(), llvm::detail::AnalysisManagerBase< DerivedT, IRUnitT >::invalidate(), and llvm::LLVMContext::yield().