llvm::Register::operator==

Equality operators

Synopses

Declared in <llvm/CodeGen/Register.h>

Return true if this register equals Other.

constexpr
bool
operator==(Register const& Other) const;
» more...

Return true if this register equals Other.

constexpr
bool
operator==(MCRegister const& Other) const;
» more...

Return true if this register's number equals unsigned constant Other.

constexpr
bool
operator==(unsigned int Other) const;
» more...

Return true if this register's number equals integer constant Other.

constexpr
bool
operator==(int Other) const;
» more...

Compare this register to a physical register constant.

constexpr
bool
operator==(MCPhysReg Other) const;
» more...

Return Value

  • True if the registers are equal.
  • True if the register number equals Other.
  • True if the register equals Other.

Parameters

NameDescription
OtherRegister to compare against.