1 //===-- SerializeAPInt.cpp - Serialization for APInts ----------*- C++ -*--===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file implements serialization of APInts.
12 //===----------------------------------------------------------------------===//
14 #include "llvm/ADT/APInt.h"
15 #include "llvm/Bitcode/Serialize.h"
20 void APInt::Emit(Serializer
& S
) const {
26 uint32_t NumWords
= getNumWords();
28 for (unsigned i
= 0; i
< NumWords
; ++i
)