[ARM] Enable changing instprinter's behavior based on the per-function