dlvhex  2.5.0
vs12/bm/bmdef.h File Reference
#include <cassert>
Include dependency graph for bmdef.h:
This graph shows which files directly or indirectly include this file:

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 Documentation

#define BM_ALIGN16

Definition at line 124 of file bmdef.h.

#define BM_ALIGN16ATTR

Definition at line 125 of file bmdef.h.

#define BM_IS_GAP (   ptr)    ( BMPTR_TESTBIT0(ptr)!=0 )

Definition at line 88 of file bmdef.h.

#define BMFORCEINLINE   inline

Definition at line 110 of file bmdef.h.

#define BMGAP_PTR (   ptr)    ((bm::gap_word_t*)BMPTR_CLEARBIT0(ptr))

Definition at line 86 of file bmdef.h.

#define BMPTR_CLEARBIT0 (   ptr)    ( ((bm::id64_t)ptr) & ~(bm::id64_t)1 )

Definition at line 75 of file bmdef.h.

#define BMPTR_SETBIT0 (   ptr)    ( ((bm::id64_t)ptr) | 1 )

Definition at line 74 of file bmdef.h.

#define BMPTR_TESTBIT0 (   ptr)    ( ((bm::id64_t)ptr) & 1 )

Definition at line 76 of file bmdef.h.

#define BMSET_PTRGAP (   ptr)    ptr = (bm::word_t*)BMPTR_SETBIT0(ptr)

Definition at line 87 of file bmdef.h.

#define FULL_BLOCK_ADDR   bm::all_set<true>::_block._p

Definition at line 60 of file bmdef.h.

#define IS_EMPTY_BLOCK (   addr)    (addr == 0)

Definition at line 63 of file bmdef.h.

#define IS_FULL_BLOCK (   addr)    (addr == FULL_BLOCK_ADDR)

Definition at line 62 of file bmdef.h.

#define IS_VALID_ADDR (   addr)    (addr && (addr != FULL_BLOCK_ADDR))

Definition at line 61 of file bmdef.h.