diff options
author | S. VenkataKeerthy <31350914+svkeerthy@users.noreply.github.com> | 2025-07-14 11:07:29 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-14 11:07:29 -0700 |
commit | e86bd05bdc110abcf6c6d2b6b48ede4361ce42e4 (patch) | |
tree | 79e1c50775aa18bb322f27dc98b8c2bb600c58b9 /flang/lib/Parser/preprocessor.cpp | |
parent | 4328b69df6fd52815fd934350ef4d4ce3966045a (diff) | |
download | llvm-e86bd05bdc110abcf6c6d2b6b48ede4361ce42e4.zip llvm-e86bd05bdc110abcf6c6d2b6b48ede4361ce42e4.tar.gz llvm-e86bd05bdc110abcf6c6d2b6b48ede4361ce42e4.tar.bz2 |
[IR2Vec] Restructuring Vocabulary (#145119)
This PR restructures the vocabulary.
* String based look-ups are removed. Vocabulary is changed from a map to vector. (#141832)
* Grouped all the vocabulary related methods under a single class - `ir2vec::Vocabulary`. This replaces `IR2VecVocabResult`.
* `ir2vec::Vocabulary` effectively abstracts out the _layout_ and other internal details of the vector structure. Exposes necessary APIs for accessing the Vocabulary.
These changes ensure that _all_ known opcodes and types are present in the vocabulary. We have retained the original operands. This can be extended going forward.
(Tracking issue - #141817)
Diffstat (limited to 'flang/lib/Parser/preprocessor.cpp')
0 files changed, 0 insertions, 0 deletions