MIR2VecPrinter pass ‐ This pass prints out the MIR2Vec embeddings for machine functions, basic blocks and instructions.

Synopsis

Declared in <llvm/CodeGen/MIR2Vec.h>

MachineFunctionPass*
createMIR2VecPrinterLegacyPass(raw_ostream& OS);

Return Value

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.

Parameters

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.

Created with MrDocs