Static Value-Flow Analysis
Loading...
Searching...
No Matches
Public Member Functions | List of all members
SVF::Hash< NodePair > Struct Reference

#include <SVFType.h>

Public Member Functions

size_t operator() (const NodePair &p) const
 

Detailed Description

Definition at line 452 of file SVFType.h.

Member Function Documentation

◆ operator()()

size_t SVF::Hash< NodePair >::operator() ( const NodePair p) const
inline

Definition at line 454 of file SVFType.h.

455 {
456 // Make sure our assumptions are sound: use u32_t
457 // and u64_t. If NodeID is not actually u32_t or size_t
458 // is not u64_t we should be fine since we get a
459 // consistent result.
460 uint32_t first = (uint32_t)(p.first);
461 uint32_t second = (uint32_t)(p.second);
462 return ((uint64_t)(first) << 32) | (uint64_t)(second);
463 }
cJSON * p
Definition cJSON.cpp:2559
llvm::IRBuilder IRBuilder
Definition BasicTypes.h:74

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