Home
last modified time | relevance | path

Searched refs:LHS (Results 1 – 2 of 2) sorted by relevance

/linux/tools/testing/selftests/bpf/
H A Dbpf_experimental.h104 #define __bpf_assert_check(LHS, op, RHS) \ argument
105 _Static_assert(sizeof(&(LHS)), "1st argument must be an lvalue expression"); \
106 _Static_assert(sizeof(LHS) == 8, "Only 8-byte integers are supported\n"); \
107 _Static_assert(__builtin_constant_p(__bpf_assert_signed(LHS)), "internal static assert"); \
110 #define __bpf_assert(LHS, op, cons, RHS, VAL) \ argument
114 : : [lhs] "r"(LHS), [rhs] cons(RHS), [value] "ri"(VAL) : ); \
117 #define __bpf_assert_op_sign(LHS, op, cons, RHS, VAL, supp_sign) \ argument
119 __bpf_assert_check(LHS, op, RHS); \
120 if (__bpf_assert_signed(LHS) && !(supp_sign)) \
121 __bpf_assert(LHS, "s" #op, cons, RHS, VAL); \
[all …]
/linux/tools/perf/util/
H A Dexpr.y139 #define BINARY_OP(RESULT, OP, LHS, RHS) \
140 if (!compute_ids || (is_const(LHS.val) && is_const(RHS.val))) { \
141 assert(LHS.ids == NULL); \
143 if (isnan(LHS.val) || isnan(RHS.val)) { \
146 RESULT.val = LHS.val OP RHS.val; \
150 RESULT = union_expr(LHS, RHS); \
189 * LHS == RHS, so both are an identical constant. No need to
199 * Value is either the LHS or RHS and we need the IF expression
317 /* LHS and/or RHS need computing from event IDs so union. */
332 /* LHS an
[all...]