LLVM 22.0.0git
llvm::mir2vec Namespace Reference

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))

Typedef Documentation

◆ Embedding

Definition at line 58 of file MIR2Vec.h.

Function Documentation

◆ MIR2VecCategory()

cl::OptionCategory llvm::mir2vec::MIR2VecCategory ( "MIR2Vec Options" )

◆ 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)  )

Variable Documentation

◆ MIR2VecCategory

cl::OptionCategory llvm::mir2vec::MIR2VecCategory("MIR2Vec Options")

Referenced by OpcWeight().

◆ 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))

◆ VocabFile

cl::opt< std::string > llvm::mir2vec::VocabFile("mir2vec-vocab-path", cl::Optional, cl::desc("Path to the vocabulary file for MIR2Vec"), cl::init(""), cl::cat(MIR2VecCategory)) ( "mir2vec-vocab-path" ,
cl::Optional ,
cl::desc("Path to the vocabulary file for MIR2Vec") ,
cl::init("") ,
cl::cat(MIR2VecCategory)  )
static