Static Value-Flow Analysis
Loading...
Searching...
No Matches
Public Member Functions | List of all members
SVF::GrammarBase::SymbolVectorHash Struct Reference

#include <CFGrammar.h>

Public Member Functions

size_t operator() (const std::vector< Symbol > &v) const
 

Detailed Description

Definition at line 135 of file CFGrammar.h.

Member Function Documentation

◆ operator()()

size_t SVF::GrammarBase::SymbolVectorHash::operator() ( const std::vector< Symbol > &  v) const
inline

Definition at line 137 of file CFGrammar.h.

138 {
139 size_t h = v.size();
140
141 SymbolHash hf;
142 for (const Symbol &t : v)
143 {
144 h ^= hf(t) + 0x9e3779b9 + (h << 6) + (h >> 2);
145 }
146
147 return h;
148 }
llvm::IRBuilder IRBuilder
Definition BasicTypes.h:76

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