diff options
author | Gabriel Baraldi <baraldigabriel@gmail.com> | 2025-09-19 14:31:04 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-19 10:31:04 -0700 |
commit | 21f5f32cc6feacdacd9a22bc74f3e6ceb2a258c4 (patch) | |
tree | 3bc148b04e20694c5968e37323c7a2a2c1199631 /llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp | |
parent | 90d03a0386a6b9640e50513f6948cd2549937208 (diff) | |
download | llvm-21f5f32cc6feacdacd9a22bc74f3e6ceb2a258c4.zip llvm-21f5f32cc6feacdacd9a22bc74f3e6ceb2a258c4.tar.gz llvm-21f5f32cc6feacdacd9a22bc74f3e6ceb2a258c4.tar.bz2 |
[PassBuilder] Add callback invoking to PassBuilder string API (#157153)
This is a very rough state of what this can look like, but I didn't want
to spend too much time on what could be a dead end.
Currently the only way to invoke callbacks is by using the default
pipelines, this is an issue if you want to define your own pipeline
using the C string API (we do that in LLVM.jl in julia) so I extended
the api to allow for invoking those callbacks just like one would call a
pass of that kind.
There are some questions about the params that these callbacks take and
also I'm missing some of them (some of them are also invoked by the
backend so we may not want to expose them)
Code written with AI help, bugs are mine. (Not sure what policy for this
is on LLVM)
Diffstat (limited to 'llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions