17#ifndef TYPECHECKING_TYPEUNIFICATION_H_
18#define TYPECHECKING_TYPEUNIFICATION_H_
20#include "frontends/p4/typeMap.h"
26class BinaryConstraint;
43 static bool containsDots(
const IR::Type_StructLike *type);
44 static bool containsDots(
const IR::Type_BaseList *type);
46 bool unifyFunctions(
const BinaryConstraint *constraint,
bool skipReturnValues =
false);
51 : constraints(constraints), typeMap(typeMap) {}
Base class for EqualityConstraint and CanBeImplicitlyCastConstraint.
Definition typeConstraints.h:107
Definition typeConstraints.h:180
Definition typeUnification.h:39
bool unify(const BinaryConstraint *constraint)
Definition typeUnification.cpp:245
TODO: this is not really specific to BMV2, it should reside somewhere else.
Definition applyOptionsPragmas.cpp:24