Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/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
797 GCMetadataPrinter *GetOrCreateGCPrinter(GCStrategy &S);
/netbsd-src/external/apache2/llvm/dist/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.cpp20 GCStrategy::GCStrategy() = default;
H A DCMakeLists.txt25 GCStrategy.cpp
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DGCStrategy.h66 class GCStrategy {
81 GCStrategy();
82 virtual ~GCStrategy() = default;
132 using GCRegistry = Registry<GCStrategy>;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DGCMetadata.cpp54 GCFunctionInfo::GCFunctionInfo(const Function &F, GCStrategy &S) in GCFunctionInfo()
75 GCStrategy *S = getGCStrategy(F.getGC()); in getFunctionInfo()
142 GCStrategy *GCModuleInfo::getGCStrategy(const StringRef Name) { in getGCStrategy()
150 std::unique_ptr<GCStrategy> S = Entry.instantiate(); in getGCStrategy()
H A DGCRootLowering.cpp40 bool DoLowering(Function &F, GCStrategy &S);
178 GCStrategy &S = FI.getStrategy(); in runOnFunction()
190 bool LowerIntrinsics::DoLowering(Function &F, GCStrategy &S) { in DoLowering()
/netbsd-src/external/apache2/llvm/lib/libLLVMIR/
H A DMakefile34 GCStrategy.cpp \
/netbsd-src/external/apache2/llvm/dist/llvm/utils/gn/secondary/llvm/lib/IR/
H A DBUILD.gn40 "GCStrategy.cpp",
/netbsd-src/external/apache2/llvm/dist/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``:
H A DStatepoints.rst795 today for statepoints, there is precedent for a GCStrategy to be able to
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DStatepointLowering.cpp526 GCStrategy &S = GFI->getStrategy(); in lowerStatepointMetaArgs()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp162 using gcp_map_type = DenseMap<GCStrategy *, std::unique_ptr<GCMetadataPrinter>>;
3382 GCMetadataPrinter *AsmPrinter::GetOrCreateGCPrinter(GCStrategy &S) { in GetOrCreateGCPrinter()