Serialize the IR unit this pass operates on for ‐‐print‐changed.

Synopsis

Declared in <llvm/Pass.h>

virtual
bool
printIRUnit(
    raw_ostream& OS,
    Function& F);

Description

The default prints F; MachineFunctionPass prints its MachineFunction. Returns false if there is nothing to report.

Return Value

True if IR was printed; false if there is nothing to report.

Parameters

Name

Description

OS

Stream to write the serialized IR to.

F

Function whose IR should be printed by default.

Created with MrDocs