Selects Symbolic or FlowAware IR2Vec embedding generation.

Synopsis

Declared in <llvm/Analysis/IR2Vec.h>

enum class IR2VecKind : int;

Description

Symbolic embeddings capture the "syntactic" and "statistical correlation" of the IR entities. Flow‐aware embeddings build on top of symbolic embeddings and additionally capture the flow information in the IR. Note: Implementation of FlowAware embeddings is not same as the one described in the paper. The current implementation is a simplified version that captures the flow information (SSA‐based use‐defs) without tracing through memory level use‐defs in the embedding computation described in the paper.

Members

Name

Description

Symbolic

Embeddings from syntactic and statistical correlation of IR entities.

FlowAware

Embeddings that extend Symbolic with SSA use‐def flow information.

Created with MrDocs