LLVM  6.0.0svn
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 104 of file GVN.cpp.

Constructor & Destructor Documentation

◆ Expression()

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

Definition at line 110 of file GVN.cpp.

Member Function Documentation

◆ operator==()

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

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

Member Data Documentation

◆ commutative

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

Definition at line 107 of file GVN.cpp.

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

◆ opcode

uint32_t llvm::GVN::Expression::opcode

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

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


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