mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
95ddb2b36b
`BasicBlockNode` and `RegionCFG` classes are now template classes. This means that the `BasicBlockNode` class can be used as a generic wrapper for any type of object in the original graph (it is usually used to wrap a `llvm::BasicBlock *` for decompilation purposes, but in tests it can be used to wrap a `DotNode` object) that implementes `GraphTraits`.
16 lines
434 B
C++
16 lines
434 B
C++
/// \file Metaregion.cpp
|
|
/// \brief FunctionPass that applies the comb to the RegionCFG of a function
|
|
|
|
//
|
|
// This file is distributed under the MIT License. See LICENSE.md for details.
|
|
//
|
|
|
|
// Local libraries includes
|
|
#include "revng-c/RestructureCFGPass/MetaRegionImpl.h"
|
|
|
|
using namespace llvm;
|
|
|
|
// Explicit instantation for the `Metaregion` template class for
|
|
// llvm::BasicBlock type.
|
|
template class MetaRegion<llvm::BasicBlock *>;
|