#include "bolt/Passes/StackAllocationAnalysis.h"
#include "bolt/Passes/StackPointerTracking.h"
#include "llvm/Support/Debug.h"
#define DEBUG_TYPE …
namespace llvm {
namespace bolt {
void StackAllocationAnalysis::preflight() { … }
BitVector
StackAllocationAnalysis::getStartingStateAtBB(const BinaryBasicBlock &BB) { … }
BitVector
StackAllocationAnalysis::getStartingStateAtPoint(const MCInst &Point) { … }
void StackAllocationAnalysis::doConfluence(BitVector &StateOut,
const BitVector &StateIn) { … }
BitVector StackAllocationAnalysis::doKill(const MCInst &Point,
const BitVector &StateIn,
int DeallocSize) { … }
void StackAllocationAnalysis::doConfluenceWithLP(BitVector &StateOut,
const BitVector &StateIn,
const MCInst &Invoke) { … }
BitVector StackAllocationAnalysis::computeNext(const MCInst &Point,
const BitVector &Cur) { … }
}
}