Home
last modified time | relevance | path

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

12

/external/llvm-project/llvm/lib/CodeGen/
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 {
DGCStrategy.cpp20 GCStrategy::GCStrategy() = default;
DGCMetadata.cpp54 GCFunctionInfo::GCFunctionInfo(const Function &F, GCStrategy &S) in GCFunctionInfo()
75 GCStrategy *S = getGCStrategy(F.getGC()); in getFunctionInfo()
147 GCStrategy *GCModuleInfo::getGCStrategy(const StringRef Name) { in getGCStrategy()
155 std::unique_ptr<GCStrategy> S = Entry.instantiate(); in getGCStrategy()
DGCRootLowering.cpp41 bool DoLowering(Function &F, GCStrategy &S);
179 GCStrategy &S = FI.getStrategy(); in runOnFunction()
191 bool LowerIntrinsics::DoLowering(Function &F, GCStrategy &S) { in DoLowering()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
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 {
DGCStrategy.cpp20 GCStrategy::GCStrategy() = default;
DGCMetadata.cpp54 GCFunctionInfo::GCFunctionInfo(const Function &F, GCStrategy &S) in GCFunctionInfo()
75 GCStrategy *S = getGCStrategy(F.getGC()); in getFunctionInfo()
147 GCStrategy *GCModuleInfo::getGCStrategy(const StringRef Name) { in getGCStrategy()
155 std::unique_ptr<GCStrategy> S = Entry.instantiate(); in getGCStrategy()
DGCRootLowering.cpp41 bool DoLowering(Function &F, GCStrategy &S);
181 GCStrategy &S = FI.getStrategy(); in runOnFunction()
193 bool LowerIntrinsics::DoLowering(Function &F, GCStrategy &S) { in DoLowering()
/external/llvm/lib/CodeGen/
DBuiltinGCs.cpp26 class ErlangGC : public GCStrategy {
39 class OcamlGC : public GCStrategy {
55 class ShadowStackGC : public GCStrategy {
69 class StatepointGC : public GCStrategy {
102 class CoreCLRGC : public GCStrategy {
DGCStrategy.cpp19 GCStrategy::GCStrategy() in GCStrategy() function in GCStrategy
DGCMetadata.cpp48 GCFunctionInfo::GCFunctionInfo(const Function &F, GCStrategy &S) in GCFunctionInfo()
69 GCStrategy *S = getGCStrategy(F.getGC()); in getFunctionInfo()
151 GCStrategy *GCModuleInfo::getGCStrategy(const StringRef Name) { in getGCStrategy()
159 std::unique_ptr<GCStrategy> S = Entry.instantiate(); in getGCStrategy()
DGCRootLowering.cpp42 bool PerformDefaultLowering(Function &F, GCStrategy &Coll);
106 static bool NeedsDefaultLoweringPass(const GCStrategy &C) { in NeedsDefaultLoweringPass()
190 GCStrategy &S = FI.getStrategy(); in runOnFunction()
200 bool LowerIntrinsics::PerformDefaultLowering(Function &F, GCStrategy &S) { in PerformDefaultLowering()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
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;
DGCStrategy.h66 class GCStrategy {
81 GCStrategy();
82 virtual ~GCStrategy() = default;
132 using GCRegistry = Registry<GCStrategy>;
DGCMetadataPrinter.h29 class GCStrategy; variable
43 GCStrategy *S;
54 GCStrategy &getStrategy() { return *S; } in getStrategy()
DAsmPrinter.h45 class GCStrategy; variable
705 GCMetadataPrinter *GetOrCreateGCPrinter(GCStrategy &S);
/external/llvm-project/llvm/include/llvm/CodeGen/
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;
DGCStrategy.h66 class GCStrategy {
81 GCStrategy();
82 virtual ~GCStrategy() = default;
132 using GCRegistry = Registry<GCStrategy>;
DGCMetadataPrinter.h29 class GCStrategy; variable
43 GCStrategy *S;
54 GCStrategy &getStrategy() { return *S; } in getStrategy()
/external/llvm/include/llvm/CodeGen/
DGCMetadata.h82 GCStrategy &S;
98 GCFunctionInfo(const Function &F, GCStrategy &S);
107 GCStrategy &getStrategy() { return S; } in getStrategy()
157 SmallVector<std::unique_ptr<GCStrategy>, 1> GCStrategyList;
159 StringMap<GCStrategy*> GCStrategyMap;
165 GCStrategy *getGCStrategy(const StringRef Name);
184 typedef SmallVector<std::unique_ptr<GCStrategy>,1>::const_iterator iterator;
DGCStrategy.h78 class GCStrategy {
96 GCStrategy();
97 virtual ~GCStrategy() {} in ~GCStrategy()
174 typedef Registry<GCStrategy> GCRegistry;
DGCMetadataPrinter.h39 GCStrategy *S;
51 GCStrategy &getStrategy() { return *S; } in getStrategy()
DGCs.h18 class GCStrategy; variable
DAsmPrinter.h31 class GCStrategy; variable
551 GCMetadataPrinter *GetOrCreateGCPrinter(GCStrategy &C);
/external/llvm/docs/
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
865 class MyGC : public GCStrategy {
[all …]

12