fn matches_input_any<C: LowerCtx<I = Inst>>(
    ctx: &mut C,
    input: InsnInput,
    ops: &[Opcode],
) -> Option<IRInst> {
    let inputs = ctx.get_input(input.insn, input.input);
    inputs.inst.and_then(|(src_inst, _)| {
        let data = ctx.data(src_inst);
        for &op in ops {
            if data.opcode() == op {
                return Some(src_inst);
            }
        }
        None
    })
}
/// Returns whether the given specified `input` is a result produced by an instruction with any of
/// the opcodes specified in `ops`.
Returns whether the given specified `input` is a result produced by an instruction with any of
the opcodes specified in `ops`.
Returns whether the given specified ` input ` is a result produced by an instruction with any of the opcodes specified in ` ops ` .
fn matches_input_any<C: LowerCtx<I = Inst>>(
    ctx: &mut C,
    input: InsnInput,
    ops: &[Opcode],
) -> Option<IRInst> {
    let inputs = ctx.get_input(input.insn, input.input);
    inputs.inst.and_then(|(src_inst, _)| {
        let data = ctx.data(src_inst);
        for &op in ops {
            if data.opcode() == op {
                return Some(src_inst);
            }
        }
        None
    })
}
fn matches_input_any < C : LowerCtx < I = Inst > > ( ctx : & mut C , input : InsnInput , ops : & [ Opcode ] , ) -> Option < IRInst > { let inputs = ctx . get_input ( input . insn , input . input ) ; inputs . inst . and_then ( | ( src_inst , _ ) | { let data = ctx . data ( src_inst ) ; for & op in ops { if data . opcode ( ) == op { return Some ( src_inst ) ; } } None } ) }
Returns whether the given specified `input` is a result produced by an instruction with any of
the opcodes specified in `ops`.
Returns whether the given specified ` input ` is a result produced by an instruction with any of the opcodes specified in ` ops ` .
ctx
&mut C
input
InsnInput
ops
&[Opcode]
ctx
&mut C
input
InsnInput
ops
&[Opcode]