mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-30 02:32:08 +00:00
24 lines
779 B
C++
24 lines
779 B
C++
|
//===-- llvm/ADT/APSInt.cpp - Arbitrary Precision Signed Int ---*- C++ -*--===//
|
||
|
//
|
||
|
// The LLVM Compiler Infrastructure
|
||
|
//
|
||
|
// This file is distributed under the University of Illinois Open Source
|
||
|
// License. See LICENSE.TXT for details.
|
||
|
//
|
||
|
//===----------------------------------------------------------------------===//
|
||
|
//
|
||
|
// This file implements the APSInt class, which is a simple class that
|
||
|
// represents an arbitrary sized integer that knows its signedness.
|
||
|
//
|
||
|
//===----------------------------------------------------------------------===//
|
||
|
|
||
|
#include "llvm/ADT/APSInt.h"
|
||
|
#include "llvm/ADT/FoldingSet.h"
|
||
|
|
||
|
using namespace llvm;
|
||
|
|
||
|
void APSInt::Profile(FoldingSetNodeID& ID) const {
|
||
|
ID.AddInteger((unsigned) (IsUnsigned ? 1 : 0));
|
||
|
APInt::Profile(ID);
|
||
|
}
|