CodeQL library for C/C++
codeql/cpp-all 0.12.9 (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)