LLVM: include/llvm/ObjectYAML/GOFFYAML.h Source File (original) (raw)

1//===- GOFFYAML.h - GOFF YAMLIO implementation ------------------*- C++ -*-===//

2//

3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.

4// See https://llvm.org/LICENSE.txt for license information.

5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

6//

7//===----------------------------------------------------------------------===//

8//

9// This file declares classes for handling the YAML representation of GOFF.

10//

11//===----------------------------------------------------------------------===//

12

13#ifndef LLVM_OBJECTYAML_GOFFYAML_H

14#define LLVM_OBJECTYAML_GOFFYAML_H

15

19#include

20

21namespace llvm {

22

23// The structure of the yaml files is not an exact 1:1 match to GOFF. In order

24// to use yaml::IO, we use these structures which are closer to the source.

26

37

42} // end namespace GOFFYAML

43} // end namespace llvm

44

47

48#endif // LLVM_OBJECTYAML_GOFFYAML_H

#define LLVM_YAML_DECLARE_MAPPING_TRAITS(Type)

StringRef - Represent a constant reference to a string, i.e.

This is an optimization pass for GlobalISel generic memory operations.

uint16_t CCSID

Definition GOFFYAML.h:30

std::optional< uint8_t > TargetSoftwareEnvironment

Definition GOFFYAML.h:35

uint32_t ArchitectureLevel

Definition GOFFYAML.h:33

StringRef LanguageProductIdentifier

Definition GOFFYAML.h:32

StringRef CharacterSetName

Definition GOFFYAML.h:31

uint32_t TargetOperatingSystem

Definition GOFFYAML.h:29

std::optional< uint16_t > InternalCCSID

Definition GOFFYAML.h:34

uint32_t TargetEnvironment

Definition GOFFYAML.h:28

FileHeader Header

Definition GOFFYAML.h:39