1#ifndef BACKENDS_P4TOOLS_COMMON_LIB_TABLE_UTILS_H_ 
    2#define BACKENDS_P4TOOLS_COMMON_LIB_TABLE_UTILS_H_ 
    5#include "lib/cstring.h" 
    7namespace P4Tools::TableUtils {
 
   12    IR::KeyElement 
const *
key;
 
 
   56void checkTableImmutability(
const IR::P4Table &table, 
TableProperties &properties);
 
   59std::vector<const IR::ActionListElement *> buildTableActionList(
const IR::P4Table &table);
 
   69bool compareLPMEntries(
const IR::Entry *leftIn, 
const IR::Entry *rightIn, 
size_t lpmIndex);
 
   72const IR::PathExpression *getDefaultActionName(
const IR::P4Table &table);
 
   77const IR::Expression *computeEntryMatch(
const IR::P4Table &table, 
const IR::Entry &entry,