LLVM
8.0.1
|
#include "llvm/Transforms/Scalar/RewriteStatepointsForGC.h"
Public Member Functions | |
PreservedAnalyses | run (Module &M, ModuleAnalysisManager &AM) |
bool | runOnFunction (Function &F, DominatorTree &, TargetTransformInfo &, const TargetLibraryInfo &) |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::PassInfoMixin< RewriteStatepointsForGC > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. More... | |
Definition at line 30 of file RewriteStatepointsForGC.h.
PreservedAnalyses RewriteStatepointsForGC::run | ( | Module & | M, |
ModuleAnalysisManager & | AM | ||
) |
Definition at line 129 of file RewriteStatepointsForGC.cpp.
References llvm::AnalysisUsage::addRequired(), llvm::PreservedAnalyses::all(), F(), llvm::PassRegistry::getPassRegistry(), llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), llvm::initializeRewriteStatepointsForGCLegacyPassPass(), llvm::PreservedAnalyses::preserve(), runOnFunction(), shouldRewriteStatepointsIn(), and stripNonValidData().
bool RewriteStatepointsForGC::runOnFunction | ( | Function & | F, |
DominatorTree & | DT, | ||
TargetTransformInfo & | TTI, | ||
const TargetLibraryInfo & | TLI | ||
) |
Definition at line 2521 of file RewriteStatepointsForGC.cpp.
References assert(), llvm::callsGCLeafFunction(), llvm::SmallVectorBase::empty(), llvm::Function::empty(), llvm::FoldSingleEntryPHINodes(), llvm::DomTreeUpdater::getDomTree(), I, insertParsePoints(), llvm::instructions(), llvm::GlobalValue::isDeclaration(), llvm::DominatorTree::isReachableFromEntry(), llvm::isStatepoint(), llvm::DomTreeUpdater::Lazy, llvm::SmallVectorTemplateBase< T >::push_back(), llvm::removeUnreachableBlocks(), and shouldRewriteStatepointsIn().
Referenced by run().