LLVM
8.0.1
|
Special DenseMapInfo traits to compare MachineInstr* by value of the instruction rather than by pointer value. More...
#include "llvm/CodeGen/MachineInstr.h"
Static Public Member Functions | |
static MachineInstr * | getEmptyKey () |
static MachineInstr * | getTombstoneKey () |
static unsigned | getHashValue (const MachineInstr *const &MI) |
static bool | isEqual (const MachineInstr *const &LHS, const MachineInstr *const &RHS) |
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 1582 of file MachineInstr.h.
|
inlinestatic |
Definition at line 1583 of file MachineInstr.h.
|
static |
Definition at line 1950 of file MachineInstr.cpp.
References llvm::SmallVectorTemplateCommon< T >::begin(), llvm::SmallVectorTemplateCommon< T >::end(), llvm::MachineInstr::getNumOperands(), llvm::MachineInstr::getOpcode(), llvm::hash_combine_range(), llvm::hash_value(), llvm::TargetRegisterInfo::isVirtualRegister(), llvm::MachineInstr::operands(), llvm::SmallVectorTemplateBase< T >::push_back(), and llvm::SmallVectorImpl< T >::reserve().
|
inlinestatic |
Definition at line 1587 of file MachineInstr.h.
References MI.
|
inlinestatic |
Definition at line 1593 of file MachineInstr.h.
References llvm::MachineInstr::IgnoreVRegDefs, and llvm::MachineInstr::isIdenticalTo().