LLVM API Documentation

SerializeAPFloat.cpp

Go to the documentation of this file.
00001 //===-- SerializeAPInt.cpp - Serialization for APFloat ---------*- C++ -*--===//
00002 //
00003 //                     The LLVM Compiler Infrastructure
00004 //
00005 // This file is distributed under the University of Illinois Open Source
00006 // License. See LICENSE.TXT for details.
00007 //
00008 //===----------------------------------------------------------------------===//
00009 //
00010 // This file implements serialization of APFloat.
00011 //
00012 //===----------------------------------------------------------------------===//
00013 
00014 #include "llvm/ADT/APFloat.h"
00015 #include "llvm/Bitcode/Serialize.h"
00016 
00017 using namespace llvm;
00018 
00019 void APFloat::Emit(Serializer& S) const {
00020   S.Emit(bitcastToAPInt());
00021 }