llvm/llvm/lib/ObjectYAML/DXContainerEmitter.cpp

//===- DXContainerEmitter.cpp - Convert YAML to a DXContainer -------------===//
//
// 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
//
//===----------------------------------------------------------------------===//
///
/// \file
/// Binary emitter for yaml to DXContainer binary
///
//===----------------------------------------------------------------------===//

#include "llvm/BinaryFormat/DXContainer.h"
#include "llvm/MC/DXContainerPSVInfo.h"
#include "llvm/ObjectYAML/ObjectYAML.h"
#include "llvm/ObjectYAML/yaml2obj.h"
#include "llvm/Support/Errc.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/raw_ostream.h"

usingnamespacellvm;

namespace {
class DXContainerWriter {};
} // namespace

Error DXContainerWriter::validateSize(uint32_t Computed) {}

Error DXContainerWriter::validatePartOffsets() {}

Error DXContainerWriter::computePartOffsets() {}

void DXContainerWriter::writeHeader(raw_ostream &OS) {}

void DXContainerWriter::writeParts(raw_ostream &OS) {}

Error DXContainerWriter::write(raw_ostream &OS) {}

namespace llvm {
namespace yaml {

bool yaml2dxcontainer(DXContainerYAML::Object &Doc, raw_ostream &Out,
                      ErrorHandler EH) {}

} // namespace yaml
} // namespace llvm