LLVM 20.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
 

Friends

hash_code hash_value (const Expression &Value)
 

Detailed Description

Definition at line 138 of file GVN.cpp.

Constructor & Destructor Documentation

◆ Expression()

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

Definition at line 146 of file GVN.cpp.

Member Function Documentation

◆ operator==()

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

Definition at line 148 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 160 of file GVN.cpp.

Member Data Documentation

◆ commutative

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

Definition at line 140 of file GVN.cpp.

◆ opcode

uint32_t llvm::GVNPass::Expression::opcode

Definition at line 139 of file GVN.cpp.

Referenced by operator==().

◆ type

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

Definition at line 143 of file GVN.cpp.

Referenced by operator==().

◆ varargs

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

Definition at line 144 of file GVN.cpp.

Referenced by operator==().


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