#include "bolt/Passes/AllocCombiner.h"
#define DEBUG_TYPE …
usingnamespacellvm;
namespace opts {
extern cl::opt<bolt::FrameOptimizationType> FrameOptimization;
}
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) { … }
}
}