7#ifndef BACKENDS_P4TOOLS_COMMON_LIB_VARIABLES_H_
8#define BACKENDS_P4TOOLS_COMMON_LIB_VARIABLES_H_
11#include "lib/cstring.h"
18using namespace P4::literals;
25namespace ToolsVariables {
30static const cstring VALID =
"*valid"_cs;
36const IR::StateVariable &getStateVariable(
const IR::Type *type,
cstring name);
42const IR::SymbolicVariable *getSymbolicVariable(
const IR::Type *type,
cstring name);
47const IR::TaintExpression *getTaintExpression(
const IR::Type *type);
53IR::StateVariable getHeaderValidity(
const IR::Expression *headerRef);
57IR::StateVariable convertReference(
const IR::Expression *ref);