aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Bitcode/Writer/SerializeAPFloat.cpp
blob: 25d954faa138deb72616e76067a97ed78a416318 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//===-- SerializeAPInt.cpp - Serialization for APFloat ---------*- 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 serialization of APFloat.
//
//===----------------------------------------------------------------------===//

#include "llvm/ADT/APFloat.h"
#include "llvm/Bitcode/Serialize.h"

using namespace llvm;

void APFloat::Emit(Serializer& S) const {
  S.Emit(bitcastToAPInt());
}