allocreg

Allocate some registers. Input: pretregs Pointer to mask of registers to make selection from. tym Mask of type we will store in registers. Output: *pretregs Mask of allocated registers. *preg Register number of first allocated register. msavereg,mfuncreg retregs bits are cleared. regcon.cse.mval,regcon.cse.mops updated

  1. void allocreg(CodeBuilder cdb, regm_t* pretregs, reg_t* preg, tym_t tym)
    version(COMPILE)
    extern (C++) nothrow
    void
    allocreg
  2. void allocreg(CodeBuilder cdb, regm_t* pretregs, reg_t* preg, tym_t tym, int line, const(char)* file)

Return Value

Type: void

pointer to code generated if necessary to save any regcon.cse.mops on the stack.

Meta