Searched refs:GCStrategy (Results 1 – 14 of 14) sorted by relevance
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | GCStrategy.h | 64 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 D | BuiltinGCs.cpp | 27 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 D | GCStrategy.cpp | 21 GCStrategy::GCStrategy() = default; 23 std::unique_ptr<GCStrategy> llvm::getGCStrategy(const StringRef Name) { in getGCStrategy()
|
| H A D | CMakeLists.txt | 25 GCStrategy.cpp
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | GCMetadata.h | 85 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 D | GCMetadataPrinter.h | 29 class GCStrategy; variable 43 GCStrategy *S; 54 GCStrategy &getStrategy() { return *S; } in getStrategy()
|
| H A D | AsmPrinter.h | 43 class GCStrategy; variable 838 GCMetadataPrinter *GetOrCreateGCPrinter(GCStrategy &S);
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | GCMetadata.cpp | 51 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 D | GCRootLowering.cpp | 37 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 D | BUILD.gn | 40 "GCStrategy.cpp",
|
| /llvm-project-15.0.7/llvm/docs/ |
| H A D | GarbageCollection.rst | 215 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 D | StatepointLowering.cpp | 536 GCStrategy &S = GFI->getStrategy(); in lowerStatepointMetaArgs()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | AsmPrinter.cpp | 149 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 D | clang-formatted-files.txt | 6076 llvm/lib/IR/GCStrategy.cpp
|