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

Common subexpressions exist in registers. Note this in regcon.cse.mval.

extern(C++) bool cssave (
  elem* e,
  uint regm,
  uint opsflag
) nothrow @trusted;

Input

e the subexpression regm mask of registers holding it opsflag if != 0 then regcon.cse.mops gets set too

Returns

false not saved as a CSE true saved as a CSE

Authors

Walter Bright

License

Boost License 1.0