[all-commits] [llvm/llvm-project] 61a45d: [IR2Vec][NFC] Add helper methods for numeric ID ma...

S. VenkataKeerthy via All-commits all-commits at lists.llvm.org
Thu Jul 17 13:41:12 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 61a45d20cfe7f93ec1b73dc2dd776f493af2a7cc
      https://github.com/llvm/llvm-project/commit/61a45d20cfe7f93ec1b73dc2dd776f493af2a7cc
  Author: S. VenkataKeerthy <31350914+svkeerthy at users.noreply.github.com>
  Date:   2025-07-17 (Thu, 17 Jul 2025)

  Changed paths:
    M llvm/include/llvm/Analysis/IR2Vec.h
    M llvm/lib/Analysis/IR2Vec.cpp
    M llvm/unittests/Analysis/IR2VecTest.cpp

  Log Message:
  -----------
  [IR2Vec][NFC] Add helper methods for numeric ID mapping in Vocabulary (#149212)

Add helper methods to IR2Vec's Vocabulary class for numeric ID mapping and vocabulary size calculation. These APIs will be useful in triplet generation for `llvm-ir2vec` tool (See #149214). 

(Tracking issue - #141817)



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list