// -*- mode: C++; c-file-style: "cc-mode" -*- //************************************************************************* // DESCRIPTION: Verilator: Type system used by DFG // // Code available from: https://verilator.org // //************************************************************************* // // This program is free software; you can redistribute it and/or modify it // under the terms of either the GNU Lesser General Public License Version 3 // or the Perl Artistic License Version 2.0. // SPDX-FileCopyrightText: 2003-2026 Wilson Snyder // SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0 // //************************************************************************* #include "V3PchAstNoMT.h" // VL_MT_DISABLED_CODE_UNIT #include "V3Dfg.h" #include "V3DfgPasses.h" VL_DEFINE_DEBUG_FUNCTIONS; //------------------------------------------------------------------------------ // DfgDataType const DfgDataType* DfgDataType::s_nullTypep{nullptr}; std::unordered_map DfgDataType::s_packedTypes{}; //------------------------------------------------------------------------------ // Type checker - for internal validation only void V3DfgPasses::typeCheck(const DfgGraph& dfg) { dfg.forEachVertex([&](const DfgVertex& vtx) { vtx.typeCheck(dfg); }); }