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 131 of file CFGrammar.h.

Member Function Documentation

◆ operator()()

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

Definition at line 133 of file CFGrammar.h.

134 {
135 size_t h = v.size();
136
137 SymbolHash hf;
138 for (const Symbol &t : v)
139 {
140 h ^= hf(t) + 0x9e3779b9 + (h << 6) + (h >> 2);
141 }
142
143 return h;
144 }
llvm::IRBuilder IRBuilder
Definition BasicTypes.h:74

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