ΒΆllvm::Register getFunctionLiveInPhysReg(
llvm::MachineFunction& MF,
const llvm::TargetInstrInfo& TII,
llvm::MCRegister PhysReg,
const llvm::TargetRegisterClass& RC,
const llvm::DebugLoc& DL,
llvm::LLT RegTy = llvm::LLT())
llvm::Register getFunctionLiveInPhysReg(
llvm::MachineFunction& MF,
const llvm::TargetInstrInfo& TII,
llvm::MCRegister PhysReg,
const llvm::TargetRegisterClass& RC,
const llvm::DebugLoc& DL,
llvm::LLT RegTy = llvm::LLT())
Description
Return a virtual register corresponding to the incoming argument register \p PhysReg. This register is expected to have class \p RC, and optional type \p RegTy. This assumes all references to the register will use the same type. If there is an existing live-in argument register, it will be returned. This will also ensure there is a valid copy
Declared at: llvm/include/llvm/CodeGen/GlobalISel/Utils.h:312
Parameters
- llvm::MachineFunction& MF
- const llvm::TargetInstrInfo& TII
- llvm::MCRegister PhysReg
- const llvm::TargetRegisterClass& RC
- const llvm::DebugLoc& DL
- llvm::LLT RegTy = llvm::LLT()