MIR2VecPrinter pass - This pass prints out the MIR2Vec embeddings for machine functions, basic blocks and instructions.
Declared in <llvm/CodeGen/MIR2Vec.h>
MachineFunctionPass*
createMIR2VecPrinterLegacyPass(raw_ostream& OS);
MachineFunctionPass - This class adapts the FunctionPass interface to allow convenient creation of passes that operate on the MachineFunction representation. Instead of overriding runOnFunction, subclasses override runOnMachineFunction.
| Name | Description |
|---|---|
| OS | This class implements an extremely fast bulk output stream that can only output to a stream. It does not support seeking, reopening, rewinding, line buffered disciplines etc. It is a simple buffer that outputs a chunk at a time. |