//===-- APInt.cpp - Implement APInt class ---------------------------------===////// The LLVM Compiler Infrastructure//// This file was developed by Sheng Zhou and Reid Spencer and is distributed // under the // University of Illinois Open Source License. See LICENSE.TXT // for details.////===----------------------------------------------------------------------===////// This file implements a class to represent arbitrary precision integral// constant values.////===----------------------------------------------------------------------===//#define DEBUG_TYPE "apint"#include"llvm/ADT/APInt.h"#include"llvm/DerivedTypes.h"#include"llvm/Support/Debug.h"#include"llvm/Support/MathExtras.h"#include