IRTools need help: purge unused arguments from argument list of a function

Achieved the goal without using IRTools.jl but I am still hoping to use it correctly…