// SPDX-License-Identifier: MIT #pragma once #include "Common/BitSet.h" #include #include #include namespace FEXCore::IR::Validation { class IRValidation final : public FEXCore::IR::Pass { public: ~IRValidation(); void Run(IREmitter* IREmit) override; private: struct BlockInfo { fextl::vector Predecessors; fextl::vector Successors; }; BitSet NodeIsLive {}; OrderedNode* EntryBlock {}; fextl::unordered_map OffsetToBlockMap; size_t MaxNodes {}; }; } // namespace FEXCore::IR::Validation