LLVM: include/llvm/IR/PrintPasses.h Source File (original) (raw)
1
2
3
4
5
6
7
8
9#ifndef LLVM_IR_PRINTPASSES_H
10#define LLVM_IR_PRINTPASSES_H
11
14#include
15
16namespace llvm {
17
29
31
32
33
36
37
38
41
42
45
46
47
50
51
53
54
56
57
60
61
63
64
65
66
67
68
70 SmallVectorstd::string &FileName);
71
72
73
74std::error_code cleanUpTempFiles(ArrayRefstd::string FileName);
75
76
77
78
79
80std::string doSystemDiff(StringRef Before, StringRef After,
81 StringRef OldLineFormat, StringRef NewLineFormat,
82 StringRef UnchangedLineFormat);
83
84}
85
86#endif
static const char PassName[]
This is an optimization pass for GlobalISel generic memory operations.
ChangePrinter
Definition PrintPasses.h:18
@ Quiet
Definition PrintPasses.h:21
@ DiffVerbose
Definition PrintPasses.h:22
@ DiffQuiet
Definition PrintPasses.h:23
@ DotCfgQuiet
Definition PrintPasses.h:27
@ DotCfgVerbose
Definition PrintPasses.h:26
@ ColourDiffVerbose
Definition PrintPasses.h:24
@ ColourDiffQuiet
Definition PrintPasses.h:25
std::error_code prepareTempFiles(SmallVector< int > &FD, ArrayRef< StringRef > SR, SmallVector< std::string > &FileName)
bool forcePrintModuleIR()
std::vector< std::string > printAfterPasses()
bool shouldPrintBeforeAll()
bool shouldPrintAfterAll()
cl::opt< ChangePrinter > PrintChanged
std::vector< std::string > printBeforePasses()
bool shouldPrintBeforeSomePass()
This is a helper to determine whether to print IR before or after a pass.
bool shouldPrintAfterSomePass()
bool isFunctionInPrintList(StringRef FunctionName)
bool isPassInPrintList(StringRef PassName)
std::error_code cleanUpTempFiles(ArrayRef< std::string > FileName)
std::string doSystemDiff(StringRef Before, StringRef After, StringRef OldLineFormat, StringRef NewLineFormat, StringRef UnchangedLineFormat)
ArrayRef(const T &OneElt) -> ArrayRef< T >
bool shouldPrintBeforePass(StringRef PassID)
bool shouldPrintAfterPass(StringRef PassID)
bool isFilterPassesEmpty()