dmd.backend.code

Define registers, register masks, and the CPU instruction linked list

Compiler implementation of the D programming language.

Public Imports

dmd.backend.cgcod
public import dmd.backend.cgcod;
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
dmd.backend.cod1
public import dmd.backend.cod1;
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
dmd.backend.cod2
public import dmd.backend.cod2;
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
dmd.backend.cod3
public import dmd.backend.cod3;
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
dmd.backend.cod4
public import dmd.backend.cod4;
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
dmd.backend.cod5
public import dmd.backend.cod5;
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
dmd.backend.cgxmm
public import dmd.backend.cgxmm;
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
dmd.backend.cg87
public import dmd.backend.cg87;
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.

Members

Functions

addtofixlist (from dmd.backend.cgen)
size_t addtofixlist(Symbol* s, targ_size_t offset, int seg, targ_size_t val, int flags) via public import dmd.backend.cgen : outfixlist, addtofixlist;

Add to the fix list.

code_calloc
code* code_calloc()

PUBLIC FUNCTIONS ******************

iasm_regs
regm_t iasm_regs(block* bp)

Get registers used by a given block

outfixlist (from dmd.backend.cgen)
void outfixlist() via public import dmd.backend.cgen : outfixlist, addtofixlist;

End of module. Output fixups as references to external Symbols.

regimmed_set
void regimmed_set(int reg, targ_size_t e)

Set value in regimmed for reg. NOTE: For 16 bit generator, this is always a (targ_short) sign-extended value.

Static variables

retsize (from dmd.backend.cgcod)
targ_size_t retsize; via public import dmd.backend.cgcod : retsize;
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
usednteh
uint usednteh;

As we generate code, collect information about what parts of NT exception handling we need.

Structs

CGstate
struct CGstate

Code Generator State **************

FuncParamRegs
struct FuncParamRegs
LocalSection
struct LocalSection

Local sections on the stack

REGSAVE
struct REGSAVE

Register save state.

_Declaration
struct _Declaration

Code data type

Unions

evc
union evc
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.

Meta