llvm/bolt/lib/Passes/AllocCombiner.cpp

//===- bolt/Passes/AllocCombiner.cpp --------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
//
// This file implements the AllocCombinerPass class.
//
//===----------------------------------------------------------------------===//

#include "bolt/Passes/AllocCombiner.h"

#define DEBUG_TYPE

usingnamespacellvm;

namespace opts {

extern cl::opt<bolt::FrameOptimizationType> FrameOptimization;

} // end namespace opts

namespace llvm {
namespace bolt {

static bool getStackAdjustmentSize(const BinaryContext &BC, const MCInst &Inst,
                                   int64_t &Adjustment) {}

static bool isIndifferentToSP(const MCInst &Inst, const BinaryContext &BC) {}

static bool shouldProcess(const BinaryFunction &Function) {}

static void runForAllWeCare(std::map<uint64_t, BinaryFunction> &BFs,
                            std::function<void(BinaryFunction &)> Task) {}

void AllocCombinerPass::combineAdjustments(BinaryFunction &BF) {}

Error AllocCombinerPass::runOnFunctions(BinaryContext &BC) {}

} // end namespace bolt
} // end namespace llvm