LLVM API Documentation
#include <FoldingSet.h>

Public Member Functions | |
| FoldingSetNodeID () | |
| unsigned | getRawData (unsigned i) const |
| void | AddPointer (const void *Ptr) |
| void | AddInteger (signed I) |
| void | AddInteger (unsigned I) |
| void | AddInteger (long I) |
| void | AddInteger (unsigned long I) |
| void | AddInteger (long long I) |
| void | AddInteger (unsigned long long I) |
| void | AddFloat (float F) |
| void | AddDouble (double D) |
| void | AddString (const std::string &String) |
| void | AddString (const char *String) |
| template<typename T> | |
| void | Add (const T &x) |
| void | clear () |
| unsigned | ComputeHash () const |
| bool | operator== (const FoldingSetNodeID &RHS) const |
Definition at line 205 of file FoldingSet.h.
| llvm::FoldingSetNodeID::FoldingSetNodeID | ( | ) | [inline] |
Definition at line 211 of file FoldingSet.h.
getRawData - Return the ith entry in the Bits data.
Definition at line 215 of file FoldingSet.h.
| void FoldingSetNodeID::AddPointer | ( | const void * | Ptr | ) |
Add* - Add various data types to Bit data.
Definition at line 28 of file FoldingSet.cpp.
References llvm::SmallVectorImpl< T >::push_back().
Referenced by AddNodeIDCustom(), AddNodeIDOperands(), AddNodeIDValueTypes(), llvm::ARMConstantPoolValue::AddSelectionDAGCSEId(), llvm::SelectionDAG::getBasicBlock(), llvm::SelectionDAG::getConstant(), llvm::SelectionDAG::getConstantFP(), llvm::SelectionDAG::getConstantPool(), llvm::SelectionDAG::getGlobalAddress(), llvm::MachineMemOperand::Profile(), llvm::ImmutableSet< ValT, ValInfo >::Profile(), llvm::ImutProfileInfo< T * >::Profile(), llvm::ImmutableMap< KeyT, ValT, ValInfo >::Profile(), llvm::ImmutableList< T >::Profile(), llvm::ImmutableListImpl< T >::Profile(), llvm::FoldingSetTrait< const T * >::Profile(), and llvm::FoldingSetTrait< T * >::Profile().
| void FoldingSetNodeID::AddInteger | ( | signed | I | ) |
Definition at line 38 of file FoldingSet.cpp.
References llvm::SmallVectorImpl< T >::push_back().
Referenced by AddDouble(), AddInteger(), AddNodeIDCustom(), AddNodeIDOpcode(), AddNodeIDOperands(), llvm::ARMConstantPoolValue::AddSelectionDAGCSEId(), llvm::SelectionDAG::getArgFlags(), llvm::SelectionDAG::getCall(), llvm::SelectionDAG::getConstantPool(), llvm::SelectionDAG::getFrameIndex(), llvm::SelectionDAG::getGlobalAddress(), llvm::SelectionDAG::getIndexedStore(), llvm::SelectionDAG::getJumpTable(), llvm::SelectionDAG::getLabel(), llvm::SelectionDAG::getLoad(), llvm::SelectionDAG::getRegister(), llvm::SelectionDAG::getStore(), llvm::SelectionDAG::getTruncStore(), llvm::MachineMemOperand::Profile(), llvm::ImutProfileInteger< T >::Profile(), llvm::ImutAVLTree< ImutInfo >::Profile(), llvm::AttributeListImpl::Profile(), llvm::APSInt::Profile(), and llvm::APInt::Profile().
| void FoldingSetNodeID::AddInteger | ( | unsigned | I | ) |
| void FoldingSetNodeID::AddInteger | ( | long | I | ) |
| void FoldingSetNodeID::AddInteger | ( | unsigned long | I | ) |
| void FoldingSetNodeID::AddInteger | ( | long long | I | ) |
| void FoldingSetNodeID::AddInteger | ( | unsigned long long | I | ) |
Definition at line 59 of file FoldingSet.cpp.
References AddInteger(), and llvm::SmallVectorImpl< T >::push_back().
| void FoldingSetNodeID::AddFloat | ( | float | F | ) |
Definition at line 64 of file FoldingSet.cpp.
References llvm::FloatToBits(), and llvm::SmallVectorImpl< T >::push_back().
| void FoldingSetNodeID::AddDouble | ( | double | D | ) |
| void FoldingSetNodeID::AddString | ( | const std::string & | String | ) |
Definition at line 108 of file FoldingSet.cpp.
References llvm::SmallVectorImpl< T >::append(), Base, llvm::SmallVectorImpl< T >::push_back(), and V.
| void FoldingSetNodeID::AddString | ( | const char * | String | ) |
Definition at line 71 of file FoldingSet.cpp.
References llvm::SmallVectorImpl< T >::append(), Base, llvm::SmallVectorImpl< T >::push_back(), and V.
| void llvm::FoldingSetNodeID::Add | ( | const T & | x | ) | [inline] |
Definition at line 234 of file FoldingSet.h.
Referenced by llvm::ImmutableListImpl< T >::Profile(), and llvm::APFloat::Profile().
| void llvm::FoldingSetNodeID::clear | ( | ) | [inline] |
clear - Clear the accumulated profile, allowing this FoldingSetNodeID object to be used to compute a new profile.
Definition at line 238 of file FoldingSet.h.
References llvm::SmallVectorImpl< T >::clear().
Referenced by llvm::FoldingSetImpl::FindNodeOrInsertPos().
| unsigned FoldingSetNodeID::ComputeHash | ( | ) | const |
ComputeHash - Compute a strong hash value for this FoldingSetNodeID, used to lookup the node in the FoldingSetImpl.
ComputeHash - Compute a strong hash value for this FoldingSetNodeID, used to lookup the node in the FoldingSetImpl.
Definition at line 147 of file FoldingSet.cpp.
References llvm::SectionKind::Data, E, and llvm::SmallVectorImpl< T >::size().
Referenced by GetBucketFor().
| bool FoldingSetNodeID::operator== | ( | const FoldingSetNodeID & | RHS | ) | const |
operator== - Used to compare two nodes to each other.
Definition at line 170 of file FoldingSet.cpp.
References Bits, and llvm::SmallVectorImpl< T >::size().
This web site is hosted by the Computer Science Department at the University of Illinois at Urbana-Champaign.