Home
last modified time | relevance | path

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

/src/contrib/llvm-project/llvm/include/llvm/IR/
H A DGCStrategy.h63 class GCStrategy {
83 GCStrategy();
84 virtual ~GCStrategy() = default;
142 using GCRegistry = Registry<GCStrategy>;
145 std::unique_ptr<GCStrategy> getGCStrategy(const StringRef Name);
/src/contrib/llvm-project/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 {
98 class CoreCLRGC : public GCStrategy {
H A DGCStrategy.cpp22 GCStrategy::GCStrategy() = default;
24 std::unique_ptr<GCStrategy> llvm::getGCStrategy(const StringRef Name) { in getGCStrategy()
/src/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DGCMetadata.h86 GCStrategy &S;
102 GCFunctionInfo(const Function &F, GCStrategy &S);
113 GCStrategy &getStrategy() { return S; } in getStrategy()
155 StringMap<std::unique_ptr<GCStrategy>> StrategyMap;
205 SmallVector<std::unique_ptr<GCStrategy>, 1> GCStrategyList;
207 StringMap<GCStrategy*> GCStrategyMap;
213 GCStrategy *getGCStrategy(const StringRef Name);
232 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.h48 class GCStrategy; variable
171 DenseMap<GCStrategy *, std::unique_ptr<GCMetadataPrinter>> GCMetadataPrinters;
897 GCMetadataPrinter *getOrCreateGCPrinter(GCStrategy &S);
/src/contrib/llvm-project/llvm/lib/CodeGen/
H A DGCMetadata.cpp77 GCFunctionInfo::GCFunctionInfo(const Function &F, GCStrategy &S) in GCFunctionInfo()
104 GCStrategy *S = getGCStrategy(F.getGC()); in getFunctionInfo()
119 GCStrategy *GCModuleInfo::getGCStrategy(const StringRef Name) { in getGCStrategy()
125 std::unique_ptr<GCStrategy> S = llvm::getGCStrategy(Name); in getGCStrategy()
H A DGCRootLowering.cpp37 static bool DoLowering(Function &F, GCStrategy &S);
199 GCStrategy &S = FI.getStrategy(); in runOnFunction()
204 bool DoLowering(Function &F, GCStrategy &S) { in DoLowering()
/src/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DRewriteStatepointsForGC.cpp129 static std::unique_ptr<GCStrategy> findGCStrategy(Function &F);
247 GCPtrLivenessData &Data, GCStrategy *GC);
252 StatepointLiveSetTy &out, GCStrategy *GC);
254 static bool isGCPointerType(Type *T, GCStrategy *GC) { in isGCPointerType()
268 static bool isHandledGCPointerType(Type *T, GCStrategy *GC) { in isHandledGCPointerType()
283 static bool containsGCPtrType(Type *Ty, GCStrategy *GC) { in containsGCPtrType()
299 static bool isUnhandledGCPointerType(Type *Ty, GCStrategy *GC) { in isUnhandledGCPointerType()
317 PartiallyConstructedSafepointRecord &Result, GCStrategy *GC) { in analyzeParsePointLiveness()
1347 GCStrategy *GC);
1352 PointerToBaseTy &PointerToBase, GCStrategy *GC) { in recomputeLiveInValues()
[all …]
/src/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp4128 GCMetadataPrinter *AsmPrinter::getOrCreateGCPrinter(GCStrategy &S) { in getOrCreateGCPrinter()
/src/lib/clang/libllvm/
H A DMakefile837 SRCS_MIN+= IR/GCStrategy.cpp