<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def ir_instrs(self):
 """Get gadgets IR instructions. """

        ir_instrs = []

        for asm_instr in self._instrs:
            ir_instrs += asm_instr.ir_instrs

        return ir_instrs