Files
revng-revng/include/revng/FunctionIsolation/InlineHelpers.h
Alessandro Di Federico ce87c30490 Introduce InlineHelpers
InlineHelpers is a simple pass that recursively inlines all the
functions belonging to the section `revng_inline` in isolated functions.
2021-04-30 14:52:25 +02:00

20 lines
368 B
C++

#pragma once
//
// This file is distributed under the MIT License. See LICENSE.md for details.
//
#include "llvm/Pass.h"
#include "revng/BasicAnalyses/GeneratedCodeBasicInfo.h"
class InlineHelpersPass : public llvm::FunctionPass {
public:
static char ID;
public:
InlineHelpersPass() : FunctionPass(ID) {}
bool runOnFunction(llvm::Function &F) override;
};