LLVM
15.0.0git
|
#include "llvm/Transforms/Scalar/RewriteStatepointsForGC.h"
Public Member Functions | |
PreservedAnalyses | run (Module &M, ModuleAnalysisManager &AM) |
bool | runOnFunction (Function &F, DominatorTree &, TargetTransformInfo &, const TargetLibraryInfo &) |
![]() | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Additional Inherited Members | |
![]() | |
static StringRef | name () |
Gets the name of the pass we are mixed into. More... | |
Definition at line 29 of file RewriteStatepointsForGC.h.
PreservedAnalyses RewriteStatepointsForGC::run | ( | Module & | M, |
ModuleAnalysisManager & | AM | ||
) |
Definition at line 128 of file RewriteStatepointsForGC.cpp.
References llvm::PreservedAnalyses::all(), F, FAM, llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), M, llvm::PreservedAnalyses::preserve(), runOnFunction(), shouldRewriteStatepointsIn(), and stripNonValidData().
bool RewriteStatepointsForGC::runOnFunction | ( | Function & | F, |
DominatorTree & | DT, | ||
TargetTransformInfo & | TTI, | ||
const TargetLibraryInfo & | TLI | ||
) |
Definition at line 2909 of file RewriteStatepointsForGC.cpp.
References AllowStatepointWithNoDeoptInfo, assert(), B, BB, llvm::MCID::Call, llvm::callsGCLeafFunction(), Cond, llvm::SmallVectorImpl< T >::emplace_back(), F, llvm::FoldSingleEntryPHINodes(), llvm::DomTreeUpdater::getDomTree(), i, I, inlineGetBaseAndOffset(), insertParsePoints(), llvm::instructions(), llvm::DominatorTree::isReachableFromEntry(), llvm::DomTreeUpdater::Lazy, llvm::LLVMContext::OB_deopt, llvm::removeUnreachableBlocks(), and shouldRewriteStatepointsIn().
Referenced by run().