llvm::MCRegisterInfo::isArtificial

Return true if the given register is artificial.

Synopsis

Declared in <llvm/MC/MCRegisterInfo.h>

bool
isArtificial(MCRegister RegNo) const;

Description

An artificial register represents a regunit that is not separately addressable but still needs to be modelled, such as the top 16-bits of a 32-bit GPR.

Return Value

True if RegNo is artificial.

Parameters

NameDescription
RegNoPhysical register to query.