From 5cd822fa9bbb9622241e3bf4d7674ed49ccde5b9 Mon Sep 17 00:00:00 2001 From: Roman Divacky Date: Thu, 15 Oct 2009 16:26:17 +0000 Subject: Delete all stale files. --- include/llvm/CodeGen/LazyLiveness.h | 63 ------------------------------------- 1 file changed, 63 deletions(-) delete mode 100644 include/llvm/CodeGen/LazyLiveness.h (limited to 'include/llvm/CodeGen') diff --git a/include/llvm/CodeGen/LazyLiveness.h b/include/llvm/CodeGen/LazyLiveness.h deleted file mode 100644 index 82e4a153d51d..000000000000 --- a/include/llvm/CodeGen/LazyLiveness.h +++ /dev/null @@ -1,63 +0,0 @@ -//===- LazyLiveness.h - Lazy, CFG-invariant liveness information ----------===// -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// -// -// This pass implements a lazy liveness analysis as per "Fast Liveness Checking -// for SSA-form Programs," by Boissinot, et al. -// -//===----------------------------------------------------------------------===// - -#ifndef LLVM_CODEGEN_LAZYLIVENESS_H -#define LLVM_CODEGEN_LAZYLIVENESS_H - -#include "llvm/CodeGen/MachineFunctionPass.h" -#include "llvm/CodeGen/MachineDominators.h" -#include "llvm/ADT/DenseMap.h" -#include "llvm/ADT/DenseSet.h" -#include "llvm/ADT/SparseBitVector.h" -#include - -namespace llvm { - -class MachineRegisterInfo; - -class LazyLiveness : public MachineFunctionPass { -public: - static char ID; // Pass identification, replacement for typeid - LazyLiveness() : MachineFunctionPass(&ID) { } - - void getAnalysisUsage(AnalysisUsage &AU) const { - AU.setPreservesAll(); - AU.addRequired(); - } - - bool runOnMachineFunction(MachineFunction &mf); - - bool vregLiveIntoMBB(unsigned vreg, MachineBasicBlock* MBB); - -private: - void computeBackedgeChain(MachineFunction& mf, MachineBasicBlock* MBB); - - typedef std::pair edge_t; - - MachineRegisterInfo* MRI; - - DenseMap preorder; - std::vector rev_preorder; - DenseMap > rv; - DenseMap > tv; - DenseSet backedges; - SparseBitVector<128> backedge_source; - SparseBitVector<128> backedge_target; - SparseBitVector<128> calculated; -}; - -} - -#endif - -- cgit v1.3