LLVM 19.0.0git
Public Member Functions | Public Attributes | Friends | List of all members
llvm::GVNPass::Expression Struct Reference

Public Member Functions

 Expression (uint32_t o=~2U)
bool operator== (const Expression &other) const

Public Attributes

uint32_t opcode
bool commutative = false
Typetype = nullptr
SmallVector< uint32_t, 4 > varargs


hash_code hash_value (const Expression &Value)

Detailed Description

Definition at line 137 of file GVN.cpp.

Constructor & Destructor Documentation

◆ Expression()

llvm::GVNPass::Expression::Expression ( uint32_t  o = ~2U)

Definition at line 145 of file GVN.cpp.

Member Function Documentation

◆ operator==()

bool llvm::GVNPass::Expression::operator== ( const Expression other) const

Definition at line 147 of file GVN.cpp.

References opcode, type, and varargs.

Friends And Related Function Documentation

◆ hash_value

hash_code hash_value ( const Expression Value)

Definition at line 159 of file GVN.cpp.

Member Data Documentation

◆ commutative

bool llvm::GVNPass::Expression::commutative = false

Definition at line 139 of file GVN.cpp.

◆ opcode

uint32_t llvm::GVNPass::Expression::opcode

Definition at line 138 of file GVN.cpp.

Referenced by operator==().

◆ type

Type* llvm::GVNPass::Expression::type = nullptr

Definition at line 142 of file GVN.cpp.

Referenced by operator==().

◆ varargs

SmallVector<uint32_t, 4> llvm::GVNPass::Expression::varargs

Definition at line 143 of file GVN.cpp.

Referenced by operator==().

The documentation for this struct was generated from the following file: