LLVM 22.0.0git
|
This pass prints the IR2Vec embeddings for instructions, basic blocks, and functions. More...
#include "llvm/Analysis/IR2Vec.h"
Public Member Functions | |
IR2VecPrinterPass (raw_ostream &OS) | |
LLVM_ABI PreservedAnalyses | run (Module &M, ModuleAnalysisManager &MAM) |
Public Member Functions inherited from llvm::PassInfoMixin< IR2VecPrinterPass > | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Static Public Member Functions | |
static bool | isRequired () |
Static Public Member Functions inherited from llvm::PassInfoMixin< IR2VecPrinterPass > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. |
This pass prints the IR2Vec embeddings for instructions, basic blocks, and functions.
|
inlineexplicit |
PreservedAnalyses IR2VecPrinterPass::run | ( | Module & | M, |
ModuleAnalysisManager & | MAM ) |
Definition at line 565 of file IR2Vec.cpp.
References llvm::PreservedAnalyses::all(), assert(), llvm::ir2vec::Embedder::create(), F, llvm::Value::getName(), I, llvm::ir2vec::IR2VecEmbeddingKind, llvm::ir2vec::Vocabulary::isValid(), and MAM.