#ifndef BOLT_PASSES_STACKPOINTERTRACKING_H
#define BOLT_PASSES_STACKPOINTERTRACKING_H
#include "bolt/Passes/DataflowAnalysis.h"
#include "llvm/Support/CommandLine.h"
namespace opts {
extern llvm::cl::opt<bool> TimeOpts;
}
namespace llvm {
namespace bolt {
template <typename Derived>
class StackPointerTrackingBase
: public DataflowAnalysis<Derived, std::pair<int, int>> { … };
class StackPointerTracking
: public StackPointerTrackingBase<StackPointerTracking> { … };
}
llvm::raw_ostream &operator<<(llvm::raw_ostream &OS,
const std::pair<int, int> &Val);
}
#endif