Home
last modified time | relevance | path

Searched refs:GCStrategy (Results 1 – 14 of 14) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DGCStrategy.h64 class GCStrategy {
79 GCStrategy();
80 virtual ~GCStrategy() = default;
129 using GCRegistry = Registry<GCStrategy>;
132 std::unique_ptr<GCStrategy> getGCStrategy(const StringRef Name);
/llvm-project-15.0.7/llvm/lib/IR/
H A DBuiltinGCs.cpp27 class ErlangGC : public GCStrategy {
38 class OcamlGC : public GCStrategy {
54 class ShadowStackGC : public GCStrategy {
65 class StatepointGC : public GCStrategy {
97 class CoreCLRGC : public GCStrategy {
H A DGCStrategy.cpp21 GCStrategy::GCStrategy() = default;
23 std::unique_ptr<GCStrategy> llvm::getGCStrategy(const StringRef Name) { in getGCStrategy()
H A DCMakeLists.txt25 GCStrategy.cpp
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DGCMetadata.h85 GCStrategy &S;
101 GCFunctionInfo(const Function &F, GCStrategy &S);
108 GCStrategy &getStrategy() { return S; } in getStrategy()
154 SmallVector<std::unique_ptr<GCStrategy>, 1> GCStrategyList;
156 StringMap<GCStrategy*> GCStrategyMap;
162 GCStrategy *getGCStrategy(const StringRef Name);
181 using iterator = SmallVector<std::unique_ptr<GCStrategy>, 1>::const_iterator;
H A DGCMetadataPrinter.h29 class GCStrategy; variable
43 GCStrategy *S;
54 GCStrategy &getStrategy() { return *S; } in getStrategy()
H A DAsmPrinter.h43 class GCStrategy; variable
838 GCMetadataPrinter *GetOrCreateGCPrinter(GCStrategy &S);
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DGCMetadata.cpp51 GCFunctionInfo::GCFunctionInfo(const Function &F, GCStrategy &S) in GCFunctionInfo()
72 GCStrategy *S = getGCStrategy(F.getGC()); in getFunctionInfo()
139 GCStrategy *GCModuleInfo::getGCStrategy(const StringRef Name) { in getGCStrategy()
145 std::unique_ptr<GCStrategy> S = llvm::getGCStrategy(Name); in getGCStrategy()
H A DGCRootLowering.cpp37 bool DoLowering(Function &F, GCStrategy &S);
176 GCStrategy &S = FI.getStrategy(); in runOnFunction()
188 bool LowerIntrinsics::DoLowering(Function &F, GCStrategy &S) { in DoLowering()
/llvm-project-15.0.7/llvm/utils/gn/secondary/llvm/lib/IR/
H A DBUILD.gn40 "GCStrategy.cpp",
/llvm-project-15.0.7/llvm/docs/
H A DGarbageCollection.rst215 of GCStrategy. Some collector strategies are built in. You can add others
548 need to define a custom GCStrategy and possibly, a custom LLVM pass to perform
549 lowering. Your best example of where to start defining a custom GCStrategy
591 To implement a GC plugin, it is necessary to subclass ``llvm::GCStrategy``,
604 To subclass ``llvm::GCStrategy`` and register it with the compiler:
610 #include "llvm/CodeGen/GCStrategy.h"
617 class LLVM_LIBRARY_VISIBILITY MyGC : public GCStrategy {
672 ``GCStrategy`` provides a range of features through which a plugin may do useful
793 of a ``GCStrategy`` is to compile this information into the executable in
887 for such a subclass if the ``GCStrategy`` sets ``UsesMetadata``:
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DStatepointLowering.cpp536 GCStrategy &S = GFI->getStrategy(); in lowerStatepointMetaArgs()
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp149 using gcp_map_type = DenseMap<GCStrategy *, std::unique_ptr<GCMetadataPrinter>>;
3687 GCMetadataPrinter *AsmPrinter::GetOrCreateGCPrinter(GCStrategy &S) { in GetOrCreateGCPrinter()
/llvm-project-15.0.7/clang/docs/tools/
H A Dclang-formatted-files.txt6076 llvm/lib/IR/GCStrategy.cpp