LLVM  14.0.0git
Public Member Functions | Public Attributes | Friends | List of all members
llvm::GVN::Expression Struct Reference
Collaboration diagram for llvm::GVN::Expression:
Collaboration graph
[legend]

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
 

Friends

hash_code hash_value (const Expression &Value)
 

Detailed Description

Definition at line 129 of file GVN.cpp.

Constructor & Destructor Documentation

◆ Expression()

llvm::GVN::Expression::Expression ( uint32_t  o = ~2U)
inline

Definition at line 135 of file GVN.cpp.

Member Function Documentation

◆ operator==()

bool llvm::GVN::Expression::operator== ( const Expression other) const
inline

Definition at line 137 of file GVN.cpp.

References opcode, type, and varargs.

Friends And Related Function Documentation

◆ hash_value

hash_code hash_value ( const Expression Value)
friend

Definition at line 149 of file GVN.cpp.

Member Data Documentation

◆ commutative

bool llvm::GVN::Expression::commutative = false

Definition at line 131 of file GVN.cpp.

◆ opcode

uint32_t llvm::GVN::Expression::opcode

Definition at line 130 of file GVN.cpp.

Referenced by operator==().

◆ type

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

Definition at line 132 of file GVN.cpp.

Referenced by operator==().

◆ varargs

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

Definition at line 133 of file GVN.cpp.

Referenced by operator==().


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