Apply changes to migrate to upstream (Dec 16th 2011)

- Following constants has been removed from llvm::bitc by the
  upstream, so we have to define our version.

  - TYPE_BLOCK_ID_OLD 10
  - TYPE_SYMTAB_BLOCK_ID_OLD 13
  - TYPE_CODE_STRUCT_OLD 10

- CheckDebugInfoIntrinsics has been removed by the upstream,
  so we have to copy it from lib/VMCore/AutoUpgrade.cpp

- llvm::TargetMachine::createTargetMachine now takes a new
  parameter for options, such as float ABI, soft float, and
  no frame elimination, and etc.

Change-Id: Ied522748bf92956d23f41a6195916eda1c19c589
2 files changed