#include "polly/LinkAllPasses.h"
#include "polly/ScopDetection.h"
#include "llvm/Analysis/CallGraph.h"
#include "llvm/Analysis/CallGraphSCCPass.h"
#include "llvm/IR/PassManager.h"
#include "llvm/Passes/PassBuilder.h"
#include "llvm/Transforms/IPO/AlwaysInliner.h"
#include "polly/Support/PollyDebug.h"
#define DEBUG_TYPE …
usingnamespacellvm;
usingnamespacepolly;
namespace {
class ScopInliner final : public CallGraphSCCPass { … };
}
char ScopInliner::ID;
Pass *polly::createScopInlinerPass() { … }
INITIALIZE_PASS_BEGIN(
ScopInliner, "polly-scop-inliner",
"inline functions based on how much of the function is a scop.", false,
false)
INITIALIZE_PASS_END(
ScopInliner, "polly-scop-inliner",
"inline functions based on how much of the function is a scop.", false,
false)