Skip to content

Commit c809d9d

Browse files
committed
Added doc
1 parent d70182f commit c809d9d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

llvm/include/llvm/Analysis/IR2Vec.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@
2424
/// Code Optimization (TACO), 2020. https://doi.org/10.1145/3418463.
2525
/// https://arxiv.org/abs/1909.06228
2626
///
27+
/// To obtain embeddings:
28+
/// First run IR2VecVocabAnalysis to populate the vocabulary.
29+
/// Then, use the Embedder interface to generate embeddings for the desired IR
30+
/// entities. See the documentation for more details -
31+
/// https://llvm.org/docs/MLGO.html#ir2vec-embeddings
32+
///
2733
//===----------------------------------------------------------------------===//
2834

2935
#ifndef LLVM_ANALYSIS_IR2VEC_H

0 commit comments

Comments
 (0)