mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
fc40f646a4
This commit replace the old CBackendPass with a standalone tool: revng-decompile. This pass at the moment runs the three stages of decompilation: - CFG restructuring - Beautify GHAST - C Code generation
22 lines
342 B
C++
22 lines
342 B
C++
#pragma once
|
|
|
|
//
|
|
// Copyright rev.ng Labs Srl. See LICENSE.md for details.
|
|
//
|
|
|
|
#include "llvm/ADT/SmallPtrSet.h"
|
|
|
|
namespace llvm {
|
|
|
|
class Function;
|
|
class Value;
|
|
|
|
} // end namespace llvm
|
|
|
|
class ASTTree;
|
|
|
|
llvm::SmallPtrSet<const llvm::Value *, 32>
|
|
collectLocalVariables(const llvm::Function &F);
|
|
|
|
bool hasLoopDispatchers(const ASTTree &GHAST);
|