This analysis provides the vocabulary for IR2Vec. The vocabulary provides a mapping between an entity of the IR (like opcode, type, argument, etc.) and its corresponding embedding.

Synopsis

Declared in <llvm/Analysis/IR2Vec.h>

class IR2VecVocabAnalysis
    : public AnalysisInfoMixin<IR2VecVocabAnalysis>

Base Classes

Name

Description

AnalysisInfoMixin<IR2VecVocabAnalysis>

A CRTP mix‐in that provides informational APIs needed for analysis passes.

Type Aliases

Name

Result

Member Functions

Name

Description

IR2VecVocabAnalysis [constructor]

Constructors

run

Static Member Functions

Name

Description

ID

Returns an opaque, unique ID for this analysis type.

Static Data Members

Name

Key

Created with MrDocs