LLVM API Documentation

Static Public Member Functions
llvm::MachineInstrExpressionTrait Struct Reference

#include <MachineInstr.h>

Inheritance diagram for llvm::MachineInstrExpressionTrait:
Inheritance graph
[legend]
Collaboration diagram for llvm::MachineInstrExpressionTrait:
Collaboration graph
[legend]

List of all members.

Static Public Member Functions

static MachineInstrgetEmptyKey ()
static MachineInstrgetTombstoneKey ()
static unsigned getHashValue (const MachineInstr *const &MI)
static bool isEqual (const MachineInstr *const &LHS, const MachineInstr *const &RHS)

Detailed Description

MachineInstrExpressionTrait - Special DenseMapInfo traits to compare MachineInstr* by *value* of the instruction rather than by pointer value. The hashing and equality testing functions ignore definitions so this is useful for CSE, etc.

Definition at line 1197 of file MachineInstr.h.


Member Function Documentation

Definition at line 1198 of file MachineInstr.h.

Referenced by isEqual().

Definition at line 1202 of file MachineInstr.h.

Referenced by isEqual().


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