//===-- SimpleRegisterCoalescing.cpp - Register Coalescing ----------------===////// The LLVM Compiler Infrastructure//// This file is distributed under the University of Illinois Open Source// License. See LICENSE.TXT for details.////===----------------------------------------------------------------------===////// This file implements a simple register coalescing pass that attempts to// aggressively coalesce every register copy that it can.////===----------------------------------------------------------------------===//#define DEBUG_TYPE "regcoalescing"#include"SimpleRegisterCoalescing.h"#include"VirtRegMap.h"#include"LiveDebugVariables.h"#include"llvm/CodeGen/LiveIntervalAnalysis.h"#include"llvm/Value.h"#include"llvm/Analysis/AliasAnalysis.h"#include"llvm/CodeGen/MachineFrameInfo.h"