//===-- SelectionDAGISel.cpp - Implement the SelectionDAGISel class -------===////// The LLVM Compiler Infrastructure//// This file was developed by the LLVM research group and is distributed under// the University of Illinois Open Source License. See LICENSE.TXT for details.////===----------------------------------------------------------------------===////// This implements the SelectionDAGISel class.////===----------------------------------------------------------------------===//#define DEBUG_TYPE "isel"#include"llvm/CodeGen/SelectionDAGISel.h"#include"llvm/CallingConv.h"#include"llvm/Constants.h"#include"llvm/DerivedTypes.h"#include"llvm/Function.h"#include"llvm/GlobalVariable.h"#include"llvm/Instructions.h"#include"llvm/Intrinsics.h"#include"llvm/CodeGen/IntrinsicLowering.h"#include"llvm/CodeGen/MachineFunction.h"#include"llvm/CodeGen/MachineFrameInfo.h"#include"llvm/CodeGen/MachineInstrBuilder.h"#include"llvm/CodeGen/SelectionDAG.h"#include"llvm/CodeGen/SSARegMap.h"#include"llvm/Target/MRegisterInfo.h"#include"llvm/Target/TargetData.h"#include"llvm/Target/TargetFrameInfo.h"#include"llvm/Target/TargetInstrInfo.h"#include"llvm/Target/TargetLowering.h"#include"llvm/Target/TargetMachine.h"#include"llvm/Transforms/Utils/BasicBlockUtils.h"#include"llvm/Support