Equality operators

Synopses

Declared in <llvm/CodeGen/Register.h>

Return true if this register equals Other.

constexpr
bool
operator==(Register const& Other) const;

Return true if this register equals Other.

constexpr
bool
operator==(MCRegister const& Other) const;

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

constexpr
bool
operator==(unsigned int Other) const;

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

constexpr
bool
operator==(int Other) const;

Compare this register to a physical register constant.

constexpr
bool
operator==(MCPhysReg Other) const;

Return Value

  • True if the registers are equal.

  • True if the register number equals Other.

  • True if the register equals Other.

Parameters

Name

Description

Other

Register to compare against.

Created with MrDocs