LLVM  8.0.1
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
 
Typetype
 
bool commutative = false
 
SmallVector< uint32_t, 4 > varargs
 

Friends

hash_code hash_value (const Expression &Value)
 

Detailed Description

Definition at line 112 of file GVN.cpp.

Constructor & Destructor Documentation

◆ Expression()

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

Definition at line 118 of file GVN.cpp.

Member Function Documentation

◆ operator==()

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

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

Member Data Documentation

◆ commutative

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

Definition at line 115 of file GVN.cpp.

Referenced by llvm::GVN::ValueTable::phiTranslate().

◆ opcode

uint32_t llvm::GVN::Expression::opcode

Definition at line 113 of file GVN.cpp.

Referenced by operator==(), and llvm::GVN::ValueTable::phiTranslate().

◆ type

Type* llvm::GVN::Expression::type

◆ varargs

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

Definition at line 116 of file GVN.cpp.

Referenced by operator==(), and llvm::GVN::ValueTable::phiTranslate().


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