Searched refs:LHS (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/tools/testing/selftests/bpf/ |
D | bpf_experimental.h | 251 #define __bpf_assert_check(LHS, op, RHS) \ argument 252 _Static_assert(sizeof(&(LHS)), "1st argument must be an lvalue expression"); \ 253 _Static_assert(sizeof(LHS) == 8, "Only 8-byte integers are supported\n"); \ 254 _Static_assert(__builtin_constant_p(__bpf_assert_signed(LHS)), "internal static assert"); \ 257 #define __bpf_assert(LHS, op, cons, RHS, VAL) \ argument 261 : : [lhs] "r"(LHS), [rhs] cons(RHS), [value] "ri"(VAL) : ); \ 264 #define __bpf_assert_op_sign(LHS, op, cons, RHS, VAL, supp_sign) \ argument 266 __bpf_assert_check(LHS, op, RHS); \ 267 if (__bpf_assert_signed(LHS) && !(supp_sign)) \ 268 __bpf_assert(LHS, "s" #op, cons, RHS, VAL); \ [all …]
|
/linux-6.12.1/tools/perf/util/ |
D | expr.y | 130 #define BINARY_OP(RESULT, OP, LHS, RHS) \ 131 if (!compute_ids || (is_const(LHS.val) && is_const(RHS.val))) { \ 132 assert(LHS.ids == NULL); \ 134 if (isnan(LHS.val) || isnan(RHS.val)) { \ 137 RESULT.val = LHS.val OP RHS.val; \ 141 RESULT = union_expr(LHS, RHS); \
|