File indexing completed on 2026-05-10 08:43:11
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014 #ifndef LLVM_ANALYSIS_CALLPRINTER_H
0015 #define LLVM_ANALYSIS_CALLPRINTER_H
0016
0017 #include "llvm/IR/PassManager.h"
0018
0019 namespace llvm {
0020
0021 class ModulePass;
0022
0023
0024 class CallGraphDOTPrinterPass : public PassInfoMixin<CallGraphDOTPrinterPass> {
0025 public:
0026 PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM);
0027 static bool isRequired() { return true; }
0028 };
0029
0030
0031 class CallGraphViewerPass : public PassInfoMixin<CallGraphViewerPass> {
0032 public:
0033 PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM);
0034 static bool isRequired() { return true; }
0035 };
0036
0037 ModulePass *createCallGraphViewerPass();
0038 ModulePass *createCallGraphDOTPrinterPass();
0039
0040 }
0041
0042 #endif