llvm::FunctionLoweringInfo::getValueFromVirtualReg

This method is called from TargetLowerinInfo::isSDNodeSourceOfDivergence to get the Value corresponding to the live-in virtual register.

Synopsis

Declared in <llvm/CodeGen/FunctionLoweringInfo.h>

Value const*
getValueFromVirtualReg(Register Vreg);

Return Value

IR value corresponding to Vreg, or nullptr if none.

Parameters

NameDescription
VregLive-in virtual register to look up.