Files
revng-revng/include/revng/Backend/DecompileFunction.h
2025-07-23 11:38:53 +02:00

22 lines
532 B
C++

#pragma once
//
// This file is distributed under the MIT License. See LICENSE.md for details.
//
#include "llvm/IR/Module.h"
#include "revng/Backend/DecompilePipe.h"
#include "revng/EarlyFunctionAnalysis/ControlFlowGraphCache.h"
#include "revng/Model/Binary.h"
#include "revng/Pipes/StringMap.h"
namespace ptml {
class ModelCBuilder;
}
std::string decompile(ControlFlowGraphCache &Cache,
llvm::Function &F,
const model::Binary &Model,
ptml::ModelCBuilder &B);