LLVM 22.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 131 of file RewriteStatepointsForGC.cpp.
References llvm::PreservedAnalyses::all(), Changed, 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 3028 of file RewriteStatepointsForGC.cpp.
References AllowStatepointWithNoDeoptInfo, assert(), B(), Call, llvm::callsGCLeafFunction(), llvm::cast(), Cond, llvm::dyn_cast(), llvm::SmallVectorImpl< T >::emplace_back(), llvm::SmallVectorTemplateCommon< T, typename >::empty(), F, llvm::FoldSingleEntryPHINodes(), llvm::GenericDomTreeUpdater< DerivedT, DomTreeT, PostDomTreeT >::getDomTree(), llvm::ilist_node_impl< OptionsT >::getIterator(), getNumElements(), I, inlineGetBaseAndOffset(), insertParsePoints(), instructions, llvm::isa(), llvm::DominatorTree::isReachableFromEntry(), llvm::SmallVectorTemplateBase< T, bool >::push_back(), llvm::removeUnreachableBlocks(), shouldRewriteStatepointsIn(), and llvm::Splat.
Referenced by run().