CodeQL library for C/C++
codeql/cpp-all 2.0.2-dev (changelog, source)
Search

Predicate tvalueNumber

Gets the value number assigned to instr, if any. Returns at most one result.

Import path

import semmle.code.cpp.ir.implementation.aliased_ssa.gvn.internal.ValueNumberingInternal
TValueNumber tvalueNumber(Instruction instr)