Home
last modified time | relevance | path

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

/llvm-project/llvm/lib/CodeGen/
H A DGCMetadata.cpp9 // This file implements the GCFunctionInfo class and GCModuleInfo pass.
68 INITIALIZE_PASS(GCModuleInfo, "collector-metadata", in run()
86 char GCModuleInfo::ID = 0; in invalidate()
88 GCModuleInfo::GCModuleInfo() : ImmutablePass(ID) {
92 GCFunctionInfo &GCModuleInfo::getFunctionInfo(const Function &F) { in GCModuleInfo() function in GCModuleInfo
107 void GCModuleInfo::clear() { in getFunctionInfo()
115 GCStrategy *GCModuleInfo::getGCStrategy(const StringRef Name) { in clear()
H A DGCRootLowering.cpp102 INITIALIZE_PASS_DEPENDENCY(GCModuleInfo) in INITIALIZE_PASS_DEPENDENCY() argument
120 AU.addRequired<GCModuleInfo>(); in getAnalysisUsage()
126 GCModuleInfo *MI = getAnalysisIfAvailable<GCModuleInfo>(); in doInitialization()
198 GCFunctionInfo &FI = getAnalysis<GCModuleInfo>().getFunctionInfo(F); in runOnFunction()
265 AU.addRequired<GCModuleInfo>(); in getAnalysisUsage()
326 FI = &getAnalysis<GCModuleInfo>().getFunctionInfo(MF.getFunction()); in runOnMachineFunction()
H A DShadowStackGCLowering.cpp137 INITIALIZE_PASS_DEPENDENCY(GCModuleInfo)
138 INITIALIZE_PASS_DEPENDENCY(GCModuleInfo) INITIALIZE_PASS_DEPENDENCY() argument
/llvm-project/llvm/include/llvm/CodeGen/
H A DGCMetadataPrinter.h28 class GCModuleInfo; variable
60 virtual void beginAssembly(Module &M, GCModuleInfo &Info, AsmPrinter &AP) {}
64 virtual void finishAssembly(Module &M, GCModuleInfo &Info, AsmPrinter &AP) {}
H A DGCMetadata.h203 class GCModuleInfo : public ImmutablePass {
236 GCModuleInfo();
/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DErlangGCPrinter.cpp34 void finishAssembly(Module &M, GCModuleInfo &Info, AsmPrinter &AP) override;
42 void ErlangGCPrinter::finishAssembly(Module &M, GCModuleInfo &Info, in finishAssembly()
52 for (GCModuleInfo::FuncInfoVec::iterator FI = Info.funcinfo_begin(), in finishAssembly()
H A DOcamlGCPrinter.cpp40 void beginAssembly(Module &M, GCModuleInfo &Info, AsmPrinter &AP) override;
41 void finishAssembly(Module &M, GCModuleInfo &Info, AsmPrinter &AP) override;
73 void OcamlGCMetadataPrinter::beginAssembly(Module &M, GCModuleInfo &Info, in beginAssembly()
98 void OcamlGCMetadataPrinter::finishAssembly(Module &M, GCModuleInfo &Info, in finishAssembly()
H A DAsmPrinter.cpp454 AU.addRequired<GCModuleInfo>(); in doInitialization()
543 GCModuleInfo *MI = getAnalysisIfAvailable<GCModuleInfo>(); in doInitialization()
544 assert(MI && "AsmPrinter didn't require GCModuleInfo?"); in doInitialization()
2626 GCModuleInfo *MI = getAnalysisIfAvailable<GCModuleInfo>(); in emitConstantPool()
2627 assert(MI && "AsmPrinter didn't require GCModuleInfo?"); in emitConstantPool()
2628 for (GCModuleInfo::iterator I = MI->end(), E = MI->begin(); I != E; ) in emitConstantPool()
4437 GCModuleInfo *MI = getAnalysisIfAvailable<GCModuleInfo>();
[all...]
/llvm-project/llvm/include/llvm/IR/
H A DGCStrategy.h20 // populate GCModuleInfo and GCFunctionInfo with that about each Function in
65 friend class GCModuleInfo;
/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGISel.cpp401 AU.addRequired<GCModuleInfo>(); in getAnalysisUsage()
403 AU.addPreserved<GCModuleInfo>(); in getAnalysisUsage()
529 GFI = Fn.hasGC() ? &MFP.getAnalysis<GCModuleInfo>().getFunctionInfo(Fn) in initializeAnalysisResults()
/llvm-project/llvm/test/CodeGen/PowerPC/
H A Dpr15031.ll197 %"class.llvm::GCModuleInfo" = type opaque