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

Predicate valueNumberOfOperand

Gets the value number assigned to the exact definition of op, if any. Returns at most one result.

Import path

import semmle.code.cpp.ir.implementation.aliased_ssa.gvn.ValueNumbering
ValueNumber valueNumberOfOperand(Operand op)