#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 { … };
}
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) { … }
}
}