Searched refs:emit_branch (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/arch/sparc/net/ |
D | bpf_jit_comp_32.c | 247 #define emit_branch(BR_OPC, DEST) \ macro 256 #define emit_jump(DEST) emit_branch(BA, DEST) 465 emit_branch(BE, t_offset + 20); in bpf_jit_compile() 534 emit_branch(BE_PTR, cleanup_addr + 4); in bpf_jit_compile() 547 emit_branch(BE_PTR, cleanup_addr + 4); in bpf_jit_compile() 695 emit_branch(t_op, t_offset); in bpf_jit_compile() 703 emit_branch(f_op, f_offset); in bpf_jit_compile()
|
D | bpf_jit_comp_64.c | 616 static void emit_branch(unsigned int br_opc, unsigned int from_idx, unsigned int to_idx, in emit_branch() function 740 emit_branch(br_opcode, ctx->idx, branch_dst, ctx); in emit_compare_and_branch() 863 emit_branch(BGEU, ctx->idx, ctx->idx + OFFSET1, ctx); in emit_tail_call() 870 emit_branch(BGEU, ctx->idx, ctx->idx + OFFSET2, ctx); in emit_tail_call() 884 emit_branch(BE, ctx->idx, ctx->idx + OFFSET3, ctx); in emit_tail_call() 1171 emit_branch(BA, ctx->idx, ctx->offset[i + off], ctx); in build_insn() 1238 emit_branch(BA, ctx->idx, ctx->epilogue_offset, ctx); in build_insn() 1397 emit_branch(BNE, 4, 0, ctx); in build_insn() 1425 emit_branch(BNE, 4, 0, ctx); in build_insn()
|
/linux-6.12.1/arch/parisc/net/ |
D | bpf_jit_comp64.c | 248 static int emit_branch(u8 op, u8 rd, u8 rs, signed long paoff, in emit_branch() function 903 emit_branch(BPF_JNE, HPPA_REG_T1, HPPA_REG_ZERO, paoff, in bpf_jit_emit_insn() 906 emit_branch(BPF_OP(code), rd, rs, paoff, ctx); in bpf_jit_emit_insn() 949 emit_branch(BPF_OP(code), rd, rs, paoff, ctx); in bpf_jit_emit_insn() 965 emit_branch(BPF_JNE, HPPA_REG_T1, HPPA_REG_ZERO, paoff, ctx); in bpf_jit_emit_insn()
|
/linux-6.12.1/arch/riscv/net/ |
D | bpf_jit_comp64.c | 316 static void emit_branch(u8 cond, u8 rd, u8 rs, int rvoff, in emit_branch() function 376 emit_branch(BPF_JGE, RV_REG_A2, RV_REG_T1, off, ctx); in emit_bpf_tail_call() 383 emit_branch(BPF_JSLT, RV_REG_TCC, RV_REG_ZERO, off, ctx); in emit_bpf_tail_call() 395 emit_branch(BPF_JEQ, RV_REG_T2, RV_REG_ZERO, off, ctx); in emit_bpf_tail_call() 1473 emit_branch(BPF_JNE, RV_REG_T1, RV_REG_ZERO, rvoff, ctx); in bpf_jit_emit_insn() 1475 emit_branch(BPF_OP(code), rd, rs, rvoff, ctx); in bpf_jit_emit_insn() 1519 emit_branch(BPF_OP(code), rd, rs, rvoff, ctx); in bpf_jit_emit_insn() 1540 emit_branch(BPF_JNE, RV_REG_T1, RV_REG_ZERO, rvoff, ctx); in bpf_jit_emit_insn()
|