OVERVIEW: IR2Vec/MIR2Vec - Embedding Generation Tool Generates embeddings for a given LLVM IR or MIR and supports triplet generation for vocabulary training and embedding generation. See https://llvm.org/docs/CommandGuide/llvm-ir2vec.html for more information. USAGE: llvm-ir2vec [subcommand] [options] SUBCOMMANDS: embeddings - Generate embeddings using trained vocabulary entities - Generate entity mappings for vocabulary training triplets - Generate triplets for vocabulary training Type "llvm-ir2vec --help" to get more help on a specific subcommand OPTIONS: Common Options: Options applicable to both IR2Vec and MIR2Vec modes --mode= - Tool operation mode: =llvm - Process LLVM IR =mir - Process Machine IR -o - Output filename Generic Options: --help - Display available options (--help-hidden for more) --help-list - Display list of available options (--help-list-hidden for more) --version - Display the version of this program IR2Vec Options: --ir2vec-arg-weight= - Weight for argument embeddings --ir2vec-kind= - IR2Vec embedding kind =symbolic - Generate symbolic embeddings =flow-aware - Generate flow-aware embeddings --ir2vec-opc-weight= - Weight for opcode embeddings --ir2vec-type-weight= - Weight for type embeddings --ir2vec-vocab-path= - Path to the vocabulary file for IR2Vec MIR2Vec Options: --mir2vec-common-operand-weight= - Weight for common operand embeddings --mir2vec-kind= - MIR2Vec embedding kind =symbolic - Generate symbolic embeddings for MIR --mir2vec-opc-weight= - Weight for machine opcode embeddings --mir2vec-print-all-vocab-entries - Print all vocabulary entries including zero embeddings --mir2vec-reg-operand-weight= - Weight for register operand embeddings --mir2vec-vocab-path= - Path to the vocabulary file for MIR2Vec