View source code
Display the source code in dmd/backend/cgreg.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.
dmd.backend.cgreg.cgreg_benefit
- multiple declarations
Function cgreg_benefit
Determine 'benefit' of assigning symbol s to register reg. Benefit is roughly the number of clocks saved. A negative value means that s cannot or should not be assigned to reg.
extern(C++) int cgreg_benefit
(
dmd .backend .cc .Symbol* s,
int reg,
dmd .backend .cc .Symbol* retsym
);
Function cgreg_benefit
Determine 'benefit' of assigning symbol s to register reg. Benefit is roughly the number of clocks saved. A negative value means that s cannot or should not be assigned to reg.
extern(C++) int cgreg_benefit
(
dmd .backend .cc .Symbol* s,
int reg,
dmd .backend .cc .Symbol* retsym
);
Authors
License
Copyright © 1999-2022 by the D Language Foundation | Page generated by ddox.