llvm::Register::isValid

Return true if this is a real register (not MCRegister::NoRegister).

Synopsis

Declared in <llvm/CodeGen/Register.h>

constexpr
bool
isValid() const;

Return Value

True if this is not MCRegister::NoRegister.