//===- CodeGenPrepare.cpp - Prepare a function for code generation --------===////// The LLVM Compiler Infrastructure//// This file is distributed under the University of Illinois Open Source// License. See LICENSE.TXT for details.////===----------------------------------------------------------------------===////// This pass munges the code in the input function to better prepare it for// SelectionDAG-based code generation. This works around limitations in it's// basic-block-at-a-time approach. It should eventually be removed.////===----------------------------------------------------------------------===//#define DEBUG_TYPE "codegenprepare"#include"llvm/Transforms/Scalar.h"#include"llvm/Constants.h"#include"llvm/DerivedTypes.h"#include"llvm/Function.h"#include"llvm/InlineAsm.h"#include"llvm/Instructions.h"#include"llvm/Pass.h"#includ