dlvhex
2.5.0
|
#include <cassert>
Go to the source code of this file.
Defines | |
#define | FULL_BLOCK_ADDR bm::all_set<true>::_block._p |
#define | IS_VALID_ADDR(addr) (addr && (addr != FULL_BLOCK_ADDR)) |
#define | IS_FULL_BLOCK(addr) (addr == FULL_BLOCK_ADDR) |
#define | IS_EMPTY_BLOCK(addr) (addr == 0) |
#define | BMPTR_SETBIT0(ptr) ( ((bm::id64_t)ptr) | 1 ) |
#define | BMPTR_CLEARBIT0(ptr) ( ((bm::id64_t)ptr) & ~(bm::id64_t)1 ) |
#define | BMPTR_TESTBIT0(ptr) ( ((bm::id64_t)ptr) & 1 ) |
#define | BMGAP_PTR(ptr) ((bm::gap_word_t*)BMPTR_CLEARBIT0(ptr)) |
#define | BMSET_PTRGAP(ptr) ptr = (bm::word_t*)BMPTR_SETBIT0(ptr) |
#define | BM_IS_GAP(ptr) ( BMPTR_TESTBIT0(ptr)!=0 ) |
#define | BMFORCEINLINE inline |
#define | BM_ALIGN16 |
#define | BM_ALIGN16ATTR |
#define BM_ALIGN16 |
#define BM_ALIGN16ATTR |
#define BM_IS_GAP | ( | ptr | ) | ( BMPTR_TESTBIT0(ptr)!=0 ) |
#define BMFORCEINLINE inline |
#define BMGAP_PTR | ( | ptr | ) | ((bm::gap_word_t*)BMPTR_CLEARBIT0(ptr)) |
#define BMPTR_CLEARBIT0 | ( | ptr | ) | ( ((bm::id64_t)ptr) & ~(bm::id64_t)1 ) |
#define BMPTR_SETBIT0 | ( | ptr | ) | ( ((bm::id64_t)ptr) | 1 ) |
#define BMPTR_TESTBIT0 | ( | ptr | ) | ( ((bm::id64_t)ptr) & 1 ) |
#define BMSET_PTRGAP | ( | ptr | ) | ptr = (bm::word_t*)BMPTR_SETBIT0(ptr) |
#define FULL_BLOCK_ADDR bm::all_set<true>::_block._p |
#define IS_EMPTY_BLOCK | ( | addr | ) | (addr == 0) |
#define IS_FULL_BLOCK | ( | addr | ) | (addr == FULL_BLOCK_ADDR) |
#define IS_VALID_ADDR | ( | addr | ) | (addr && (addr != FULL_BLOCK_ADDR)) |