View source code
Display the source code in dmd/backend/cgen.d from which this page was generated on github.
Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using local clone.

Module dmd.backend.cgen

Generate code instructions




addtofixlist(s, offset, seg, val, flags) Add to the fix list.
cat(c1, c2) Concatenate two code lists together. Return pointer to result.
code_last(c) Find last code in list.
code_orflag(c, flag) Set flag bits on last code in list.
code_orrex(c, rex) Set rex bits on last code in list.
gencodelem(cdb, e, pretregs, constflag) Clean stack after call to codelem().
gennop(c) Generate 'nop'
outfixlist() End of module. Output fixups as references to external Symbols.
reghasvalue(regm, value, preg) Determine if one of the registers in regm has value in it.
regwithvalue(cdb, regm, value, preg, flags) Load a register from the mask regm with value.


Fixup When we don't know whether a function symbol is defined or not within this module, we stuff it in an array of references to be fixed up later.


Walter Bright


Boost License 1.0