iree
A retargetable MLIR-based machine learning compiler and runtime toolkit
What XERJ indexed
Snapshot
Only compiler/src/iree/compiler/Dialect/HAL, runtime/src/iree/hal, runtime/src/iree/modules/hal, runtime/src/iree/vm at commit 17fb04de33 (2026-10-13). main is 53 commits ahead.
Selected work

“[HAL] Add command buffer flush and invalidate operations”. 21 files, 1,452 lines in runtime, compiler.
Licence
The repository
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
The author agreed by email on 2026-10-14. Same terms as the repository. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution
mlirvulkantensorflowspirvcudajaxpytorchcompiler
Example questions
- How does iree implement mlir?
- Where does iree handle “[HAL] Add command buffer flush and invalidate operations”?
- What does runtime do in iree?
Inside the indexed corpus
- 7,359 files, 71.3 MB in total, about 9.9 KB per file.
- The selected commit changed 21 of those files (0.3%).
- Languages by size: C++ 37.5%, C 29.6%, MLIR 24.2%, Python 2.8%, CMake 2.6%.
- On GitHub since 2019-09-12, last push 2026-10-31, 20,553 commits on main.
- The pin is 53 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported Apache-2.0 for iree-org/iree on 2026-10-31, and the LICENSE file at commit 17fb04de33 was reviewed as Apache-2.0. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
purnima shrivastava (@purnima-nlp) has 1 selected repository on the hub.
Using XERJ with iree
- How do I run syntax-aware code search? iree is tagged compiler on GitHub.
- XERJ vs ast-grep: syntax search and an index
- Index a monorepo so your agent stops reading the whole repo The pinned tree has 7,359 files.
- RAG without a vector database: one hybrid index The hub files it under AI, prompts and agents.
The prompt
Paste it into your AI agent. It clones iree-org/iree at the pinned commit and indexes it on your machine.
Search the GitHub repository iree-org/iree with XERJ (https://hub.xerj.org/corpus/iree-org--iree). Run these in a shell, in order, and check each result before the next: 1. xerj --help (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh 2. git clone https://github.com/iree-org/iree iree && git -C iree checkout 17fb04de33a91c8d2ddc69bee6ca7990d75b2407 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./iree --url http://127.0.0.1:9200 --prefix iree --progress plain 5. xerj autoindex map --url http://127.0.0.1:9200 Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt Licence: Apache-2.0. Keep the copyright notice and credit the authors.
Related
purnima shrivastavaAI, prompts and agents corporahuggingface-hub-docsesbuildvectra-coremegabake/megabaketelvax/telvaxMattral/KANX
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.