diff options
| author | S. VenkataKeerthy <31350914+svkeerthy@users.noreply.github.com> | 2025-10-23 10:51:24 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-23 10:51:24 -0700 |
| commit | 10bec2cd9dab796d5685fa8aadf47b912e3558fe (patch) | |
| tree | 24dfaa191c79c7f1c296dadac73ec75e8d9cc8f6 /llvm/lib/Transforms/Utils/PredicateInfo.cpp | |
| parent | 2b6686f2cd4424d22905a67afee7b0c514fa9042 (diff) | |
| download | llvm-10bec2cd9dab796d5685fa8aadf47b912e3558fe.zip llvm-10bec2cd9dab796d5685fa8aadf47b912e3558fe.tar.gz llvm-10bec2cd9dab796d5685fa8aadf47b912e3558fe.tar.bz2 | |
[llvm-ir2vec][MIR2Vec] Supporting MIR mode in triplet and entity generation (#164329)
Add support for Machine IR (MIR) triplet and entity generation in llvm-ir2vec.
This change extends llvm-ir2vec to support Machine IR (MIR) in addition to LLVM IR, enabling the generation of training data for MIR2Vec embeddings. MIR2Vec provides machine-level code embeddings that capture target-specific instruction semantics, complementing the target-independent IR2Vec embeddings.
- Extended llvm-ir2vec to support triplet and entity generation for Machine IR (MIR)
- Added `--mode=mir` option to specify MIR mode (vs LLVM IR mode)
- Implemented MIR triplet generation with Next and Arg relationships
- Added entity mapping generation for MIR vocabulary
- Updated documentation to explain MIR-specific features and usage
(Partially addresses #162200 ; Tracking issue - #141817)
Diffstat (limited to 'llvm/lib/Transforms/Utils/PredicateInfo.cpp')
0 files changed, 0 insertions, 0 deletions
