Substitute the current register with the virtual subregister Reg:SubIdx.
Synopsis
Declared in <llvm/CodeGen/MachineOperand.h>
void
substVirtReg(
Register Reg,
unsigned int SubIdx,
TargetRegisterInfo const& TRI);
Description
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.
Parameters
Name |
Description |
Reg |
Virtual register to substitute. |
SubIdx |
Subregister index to compose with any existing one. |
TRI |
Target register info used to compose subregister indices. |
Created with MrDocs