//===-- LiveIntervalAnalysis.cpp - Live Interval Analysis -----------------===////// The LLVM Compiler Infrastructure//// This file is distributed under the University of Illinois Open Source// License. See LICENSE.TXT for details.////===----------------------------------------------------------------------===////// This file implements the LiveInterval analysis pass which is used// by the Linear Scan Register allocator. This pass linearizes the// basic blocks of the function in DFS order and uses the// LiveVariables pass to conservatively compute live intervals for// each virtual and physical register.////===----------------------------------------------------------------------===//#define DEBUG_TYPE "regalloc"#include"llvm/CodeGen/LiveIntervalAnalysis.h"#include"llvm/Value.h"#include"llvm/Analysis/AliasAnalysis.h"#include