Lines Matching defs:set
326 IR_ALWAYS_INLINE void ir_bitset_incl(ir_bitset set, uint32_t n) in ir_bitset_incl()
331 IR_ALWAYS_INLINE void ir_bitset_excl(ir_bitset set, uint32_t n) in ir_bitset_excl()
336 IR_ALWAYS_INLINE bool ir_bitset_in(const ir_bitset set, uint32_t n) in ir_bitset_in()
341 IR_ALWAYS_INLINE void ir_bitset_clear(ir_bitset set, uint32_t len) in ir_bitset_clear()
346 IR_ALWAYS_INLINE void ir_bitset_fill(ir_bitset set, uint32_t len) in ir_bitset_fill()
351 IR_ALWAYS_INLINE bool ir_bitset_empty(const ir_bitset set, uint32_t len) in ir_bitset_empty()
411 IR_ALWAYS_INLINE int ir_bitset_first(const ir_bitset set, uint32_t len) in ir_bitset_first()
423 IR_ALWAYS_INLINE int ir_bitset_last(const ir_bitset set, uint32_t len) in ir_bitset_last()
442 IR_ALWAYS_INLINE int ir_bitset_pop_first(ir_bitset set, uint32_t len) in ir_bitset_pop_first()
458 #define IR_BITSET_FOREACH(set, len, bit) do { \ argument
489 #define IR_SPARSE_SET_DENSE(set, n) (set)->data[n] argument
490 #define IR_SPARSE_SET_SPARSE(set, n) (set)->data[-1 - ((int32_t)(n))] argument
492 IR_ALWAYS_INLINE void ir_sparse_set_init(ir_sparse_set *set, uint32_t size) in ir_sparse_set_init()
503 IR_ALWAYS_INLINE void ir_sparse_set_clear(ir_sparse_set *set) in ir_sparse_set_clear()
508 IR_ALWAYS_INLINE void ir_sparse_set_free(ir_sparse_set *set) in ir_sparse_set_free()
513 IR_ALWAYS_INLINE bool ir_sparse_set_empty(const ir_sparse_set *set) in ir_sparse_set_empty()
518 IR_ALWAYS_INLINE bool ir_sparse_set_in(const ir_sparse_set *set, uint32_t n) in ir_sparse_set_in()
525 IR_ALWAYS_INLINE void ir_sparse_set_add(ir_sparse_set *set, uint32_t n) in ir_sparse_set_add()
535 IR_ALWAYS_INLINE void ir_sparse_set_del(ir_sparse_set *set, uint32_t n) in ir_sparse_set_del()
551 IR_ALWAYS_INLINE uint32_t ir_sparse_set_pop(ir_sparse_set *set) in ir_sparse_set_pop()
560 #define IR_SPARSE_SET_FOREACH(set, bit) do { \ argument
575 ir_bitset set; member
1286 # define IR_REGSET_FIRST(set) ((ir_reg)ir_ntzl(set)) argument
1287 # define ir_REGSET_LAST(set) ((ir_reg)(ir_nlzl(set)(set)^63)) argument
1289 # define IR_REGSET_FIRST(set) ((ir_reg)ir_ntz(set)) argument
1290 # define IR_REGSET_LAST(set) ((ir_reg)(ir_nlz(set)^31)) argument
1293 IR_ALWAYS_INLINE ir_reg ir_regset_pop_first(ir_regset *set) in ir_regset_pop_first()
1303 #define IR_REGSET_FOREACH(set, reg) \ argument