View source code
Display the source code in dmd/backend/x86/cod1.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.

Function dmd.backend.x86.cod1.getlvalue

Compute addressing mode. Return in cs the info on it.

void getlvalue (
  ref dmd.backend.codebuilder.CodeBuilder cdb,
  ref dmd.backend.x86.code_x86.code pcs,
  elem* e,
  ulong keepmsk,
  dmd.backend.code.RM rm = RM.rw
) nothrow @trusted;

Parameters

NameDescription
cdb sink for any code generated
pcs set to addressing mode
e the lvalue elem
keepmsk mask of registers we must not destroy or use
rm RM.store a store operation into the lvalue only RM.load a read operation from the lvalue only RM.rw load and store

Authors

Walter Bright

License

Boost License 1.0