1193323Sed//===-- llvm/ADT/APSInt.cpp - Arbitrary Precision Signed Int ---*- C++ -*--===// 2193323Sed// 3193323Sed// The LLVM Compiler Infrastructure 4193323Sed// 5193323Sed// This file is distributed under the University of Illinois Open Source 6193323Sed// License. See LICENSE.TXT for details. 7193323Sed// 8193323Sed//===----------------------------------------------------------------------===// 9193323Sed// 10193323Sed// This file implements the APSInt class, which is a simple class that 11193323Sed// represents an arbitrary sized integer that knows its signedness. 12193323Sed// 13193323Sed//===----------------------------------------------------------------------===// 14193323Sed 15193323Sed#include "llvm/ADT/APSInt.h" 16193323Sed#include "llvm/ADT/FoldingSet.h" 17193323Sed 18193323Sedusing namespace llvm; 19193323Sed 20193323Sedvoid APSInt::Profile(FoldingSetNodeID& ID) const { 21193323Sed ID.AddInteger((unsigned) (IsUnsigned ? 1 : 0)); 22193323Sed APInt::Profile(ID); 23193323Sed} 24