substVirtReg ‐ Substitute the current register with the virtual subregister Reg:SubReg. Take any existing SubReg index into account, using TargetRegisterInfo to compose the subreg indices if necessary. Reg must be a virtual register, SubIdx can be 0.

Synopsis

Declared in <llvm/CodeGen/MachineOperand.h>

void
substVirtReg(
    Register Reg,
    unsigned int SubIdx,
    TargetRegisterInfo const&);

Parameters

Name

Description

Reg

Wrapper class representing virtual and physical registers. Should be passed by value.

Created with MrDocs