def FunLocalRegAlloc(fun): return ir.FunGenericRewriteBbl(fun, _BblRegAllocOrSpill)
def FunMergeMoveWithSrcDef(fun: ir.Fun) -> int: """ """ return ir.FunGenericRewriteBbl(fun, _BblMergeMoveWithSrcDef)
def FunLoadStoreSimplify(fun: ir.Fun) -> int: return ir.FunGenericRewriteBbl(fun, _BblLoadStoreSimplify)
def FunPropagateRegs(fun: ir.Fun) -> int: """Relies solely on the ins.operand_def info""" return ir.FunGenericRewriteBbl(fun, _BblPropagateRegOperands)
def FunRemoveUselessInstructions(fun: ir.Fun) -> int: assert ir.FUN_FLAG.LIVENESS_VALID in fun.flags return ir.FunGenericRewriteBbl(fun, _BblRemoveUselessInstructions)