dmd.backend.dt

Intermediate representation for static data

Compiler implementation of the D programming language.

Members

Functions

dt2common
void dt2common(dt_t** pdt)

Turn DT_azeros into DTcommon

dt_free
void dt_free(dt_t* dt)

Free a data definition struct.

dt_get_nzeros
dt_t* dt_get_nzeros(uint n)

Temporary hack to initialize a dt_t* for C.

dt_size
uint dt_size(const(dt_t)* dtstart)

Compute size of a dt

dt_term
void dt_term()

Free free list.

dtallzeros
bool dtallzeros(const(dt_t)* dt)

Return true if dt is all zeros.

dtpatchoffset
void dtpatchoffset(dt_t* dt, uint offset)
dtpointers
bool dtpointers(const(dt_t)* dtstart)

Return true if dt contains pointers (requires relocations).

init_common
void init_common(Symbol* s)

Make a common block for s.

Structs

DtBuilder
struct DtBuilder

Meta