2 Commits

Author SHA1 Message Date
Matt Arsenault
f7a8d201e3
DeclareRuntimeLibcalls: Use RuntimeLibraryAnalysis (#167995)
Also add boilerplate to have a live instance when running
opt configured from CommandFlags / TargetOptions.
2025-11-14 10:57:08 -08:00
Matt Arsenault
ac547a532a
Analysis: Add RuntimeLibcall analysis pass (#165196)
Currently RuntimeLibcallsInfo is a hardcoded list based on the triple.
In the future the available libcall set should be dynamically modifiable
with module flags.

Note this isn't really used yet. TargetLowering is still constructing
its own copy, and untangling that to use this requires several more
steps.
2025-11-05 14:48:50 -08:00