using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Boogie; namespace GPUVerify { class AsymmetricExpressionFinder : StandardVisitor { private bool found = false; internal bool foundAsymmetricExpr() { return found; } public override Variable VisitVariable(Variable node) { if (node.TypedIdent.Name.Contains("_READ_HAS_OCCURRED") || node.TypedIdent.Name.Contains("_READ_OFFSET")) { found = true; } return node; } } }