Change printer based on the string IR from unwrapAndPrint.
Synopsis
Declared in <llvm/Passes/StandardInstrumentations.h>
class IRChangedPrinter
: public TextChangeReporter<std::string>
Description
The string representation is stored in a std::string to preserve it as the IR changes in each pass. Note that the banner is included in this representation but it is massaged before reporting.
Base Classes
Name |
Description |
Textual change reporter that prints banners and no‐change/filter messages. |
Member Functions
Name |
Description |
|
Construct a string‐based IR change printer. |
|
Destroy this IR change printer. |
Register change‐reporting callbacks on |
Protected Member Functions
Name |
Description |
|
Capture the string representation of |
|
Print the before/after string IR when an interesting unit changed. |
|
Report that the IR was filtered out. |
|
Report that the pass was ignored. |
|
Print a module dump of the first IR that is changed. |
|
Report that the pass was invalidated. |
|
Report that the IR was omitted because it did not change. |
Protected Data Members
Name |
Description |
Output stream used for textual change banners and reports. |
Derived Classes
Name |
Description |
Tester that asserts when interesting IR changes under print‐changed. |
Created with MrDocs