llvm::createMIR2VecPrinterLegacyPass

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

The newly created MachineFunctionPass.

Parameters

NameDescription
OSOutput stream that receives the printed embeddings.