Searched refs:__branch_check__ (Results 1 – 2 of 2) sorted by relevance
22 #define __branch_check__(x, expect, is_constant) ({ \ macro44 # define likely(x) (__branch_check__(x, 1, __builtin_constant_p(x)))47 # define unlikely(x) (__branch_check__(x, 0, __builtin_constant_p(x)))
113 #define __branch_check__(x, expect) ({ \ macro134 # define likely(x) (__builtin_constant_p(x) ? !!(x) : __branch_check__(x, 1))137 # define unlikely(x) (__builtin_constant_p(x) ? !!(x) : __branch_check__(x, 0))