Writing an LLVM Pass (legacy PM version) — LLVM 22.0.0git documentation