LLVM 20.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 &) |
Public Member Functions inherited from llvm::PassInfoMixin< RewriteStatepointsForGC > | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
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. | |
Definition at line 29 of file RewriteStatepointsForGC.h.
PreservedAnalyses RewriteStatepointsForGC::run | ( | Module & | M, |
ModuleAnalysisManager & | AM | ||
) |
Definition at line 132 of file RewriteStatepointsForGC.cpp.
References llvm::PreservedAnalyses::all(), F, FAM, llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), llvm::PreservedAnalyses::preserve(), runOnFunction(), shouldRewriteStatepointsIn(), and stripNonValidData().
bool RewriteStatepointsForGC::runOnFunction | ( | Function & | F, |
DominatorTree & | DT, | ||
TargetTransformInfo & | TTI, | ||
const TargetLibraryInfo & | TLI | ||
) |
Definition at line 3034 of file RewriteStatepointsForGC.cpp.
References AllowStatepointWithNoDeoptInfo, assert(), B, llvm::callsGCLeafFunction(), Cond, llvm::SmallVectorImpl< T >::emplace_back(), llvm::SmallVectorBase< Size_T >::empty(), F, llvm::FoldSingleEntryPHINodes(), llvm::GenericDomTreeUpdater< DerivedT, DomTreeT, PostDomTreeT >::getDomTree(), getNumElements(), I, inlineGetBaseAndOffset(), insertParsePoints(), instructions, llvm::DominatorTree::isReachableFromEntry(), llvm::SmallVectorTemplateBase< T, bool >::push_back(), llvm::removeUnreachableBlocks(), shouldRewriteStatepointsIn(), and llvm::Splat.
Referenced by run().