llvm/llvm/lib/CGData/OutlinedHashTreeRecord.cpp

//===-- OutlinedHashTreeRecord.cpp ----------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
//
// This defines the OutlinedHashTreeRecord class. This class holds the outlined
// hash tree for both serialization and deserialization processes. It utilizes
// two data formats for serialization: raw binary data and YAML.
// These two formats can be used interchangeably.
//
//===----------------------------------------------------------------------===//

#include "llvm/CGData/OutlinedHashTreeRecord.h"
#include "llvm/ObjectYAML/YAML.h"
#include "llvm/Support/Endian.h"
#include "llvm/Support/EndianStream.h"

#define DEBUG_TYPE

usingnamespacellvm;
usingnamespacellvm::support;

namespace llvm {
namespace yaml {

template <> struct MappingTraits<HashNodeStable> {};

template <> struct CustomMappingTraits<IdHashNodeStableMapTy> {};

} // namespace yaml
} // namespace llvm

void OutlinedHashTreeRecord::serialize(raw_ostream &OS) const {}

void OutlinedHashTreeRecord::deserialize(const unsigned char *&Ptr) {}

void OutlinedHashTreeRecord::serializeYAML(yaml::Output &YOS) const {}

void OutlinedHashTreeRecord::deserializeYAML(yaml::Input &YIS) {}

void OutlinedHashTreeRecord::convertToStableData(
    IdHashNodeStableMapTy &IdNodeStableMap) const {}

void OutlinedHashTreeRecord::convertFromStableData(
    const IdHashNodeStableMapTy &IdNodeStableMap) {}