LLVM 22.0.0git
|
Classes | |
class | MIRVocabulary |
Class for storing and accessing the MIR2Vec vocabulary. More... |
Typedefs | |
using | Embedding = ir2vec::Embedding |
Functions | |
cl::OptionCategory | MIR2VecCategory ("MIR2Vec Options") |
cl::opt< float > | OpcWeight ("mir2vec-opc-weight", cl::Optional, cl::init(1.0), cl::desc("Weight for machine opcode embeddings"), cl::cat(MIR2VecCategory)) |
Variables | |
llvm::cl::OptionCategory | MIR2VecCategory |
cl::opt< float > | OpcWeight |
static cl::opt< std::string > | VocabFile ("mir2vec-vocab-path", cl::Optional, cl::desc("Path to the vocabulary file for MIR2Vec"), cl::init(""), cl::cat(MIR2VecCategory)) |
cl::OptionCategory llvm::mir2vec::MIR2VecCategory | ( | "MIR2Vec Options" | ) |
cl::opt< float > llvm::mir2vec::OpcWeight | ( | "mir2vec-opc-weight" | , |
cl::Optional | , | ||
cl::init(1.0) | , | ||
cl::desc("Weight for machine opcode embeddings") | , | ||
cl::cat(MIR2VecCategory) | ) |
References llvm::cl::init(), MIR2VecCategory, and llvm::cl::Optional.
cl::OptionCategory llvm::mir2vec::MIR2VecCategory("MIR2Vec Options") |
Referenced by OpcWeight().
cl::opt< float > llvm::mir2vec::OpcWeight("mir2vec-opc-weight", cl::Optional, cl::init(1.0), cl::desc("Weight for machine opcode embeddings"), cl::cat(MIR2VecCategory)) |
|
static |