LLVM 22.0.0git
NVPTXForwardParams.cpp File Reference

Go to the source code of this file.

Functions

static bool traverseMoveUse (MachineInstr &U, const MachineRegisterInfo &MRI, SmallVectorImpl< MachineInstr * > &RemoveList, SmallVectorImpl< MachineInstr * > &LoadInsts)
static bool eliminateMove (MachineInstr &Mov, const MachineRegisterInfo &MRI, SmallVectorImpl< MachineInstr * > &RemoveList)
static bool forwardDeviceParams (MachineFunction &MF)
 INITIALIZE_PASS (NVPTXForwardParamsPass, "nvptx-forward-params", "NVPTX Forward Params", false, false) bool NVPTXForwardParamsPass

Function Documentation

◆ eliminateMove()

◆ forwardDeviceParams()

◆ INITIALIZE_PASS()

INITIALIZE_PASS ( NVPTXForwardParamsPass ,
"nvptx-forward-params" ,
"NVPTX Forward Params" ,
false ,
false  )

Definition at line 145 of file NVPTXForwardParams.cpp.

References forwardDeviceParams().

◆ traverseMoveUse()

bool traverseMoveUse ( MachineInstr & U,
const MachineRegisterInfo & MRI,
SmallVectorImpl< MachineInstr * > & RemoveList,
SmallVectorImpl< MachineInstr * > & LoadInsts )
static