49  IO.
mapOptional(
"HeaderSecSizeEncodingLen", Section.HeaderSecSizeEncodingLen);
 
 
  169    IO &
IO, std::unique_ptr<WasmYAML::Section> &Section) {
 
  170  WasmYAML::SectionType SectionType;
 
  172    SectionType = Section->Type;
 
  176  switch (SectionType) {
 
 
  283    IO &
IO, WasmYAML::SectionType &
Type) {
 
  284#define ECase(X) IO.enumCase(Type, #X, wasm::WASM_SEC_##X); 
 
  343    IO &
IO, WasmYAML::FeaturePolicyPrefix &Kind) {
 
  344#define ECase(X) IO.enumCase(Kind, #X, wasm::WASM_FEATURE_PREFIX_##X); 
 
  489    IO &
IO, WasmYAML::ComdatKind &Kind) {
 
  490#define ECase(X) IO.enumCase(Kind, #X, wasm::WASM_COMDAT_##X); 
 
  554#define BCase(X) IO.bitSetCase(Value, #X, wasm::WASM_LIMITS_FLAG_##X) 
  558  BCase(HAS_PAGE_SIZE);
 
 
  564#define BCase(X) IO.bitSetCase(Value, #X, wasm::WASM_SEG_FLAG_##X) 
 
  573#define BCaseMask(M, X)                                                        \ 
  574  IO.maskedBitSetCase(Value, #X, wasm::WASM_SYMBOL_##X, wasm::WASM_SYMBOL_##M) 
 
  590    IO &
IO, WasmYAML::SymbolKind &Kind) {
 
  591#define ECase(X) IO.enumCase(Kind, #X, wasm::WASM_SYMBOL_TYPE_##X); 
 
  602    IO &
IO, WasmYAML::ValueType &
Type) {
 
  603#define CONCAT(X) (uint32_t) wasm::ValType::X 
  604#define ECase(X) IO.enumCase(Type, #X, CONCAT(X)); 
 
  618    IO &
IO, WasmYAML::ExportKind &Kind) {
 
  619#define ECase(X) IO.enumCase(Kind, #X, wasm::WASM_EXTERNAL_##X); 
 
  629    IO &
IO, WasmYAML::Opcode &Code) {
 
  630#define ECase(X) IO.enumCase(Code, #X, wasm::WASM_OPCODE_##X); 
 
  642    IO &
IO, WasmYAML::TableType &
Type) {
 
  643#define CONCAT(X) (uint32_t) wasm::ValType::X 
  644#define ECase(X) IO.enumCase(Type, #X, CONCAT(X)); 
 
  653    IO &
IO, WasmYAML::RelocType &
Type) {
 
  654#define WASM_RELOC(name, value) IO.enumCase(Type, #name, wasm::name); 
  655#include "llvm/BinaryFormat/WasmRelocs.def" 
 
Analysis containing CSE Info
 
#define FUNCTION(NAME, NARG, ROUND_MODE, INTRINSIC)
 
static constexpr auto TAG
 
This file declares classes for handling the YAML representation of wasm binaries.
 
StringRef - Represent a constant reference to a string, i.e.
 
The instances of the Type class are immutable: once they are created, they are never changed.
 
LLVM Value Representation.
 
virtual bool outputting() const =0
 
virtual bool mapTag(StringRef Tag, bool Default=false)=0
 
void mapOptional(StringRef Key, T &Val)
 
void enumFallback(T &Val)
 
void mapRequired(StringRef Key, T &Val)
 
#define llvm_unreachable(msg)
Marks that the current location is not supposed to be reachable.
 
constexpr uint16_t VISIBILITY_MASK
 
const unsigned WASM_SYMBOL_UNDEFINED
 
@ WASM_LIMITS_FLAG_HAS_MAX
 
@ WASM_LIMITS_FLAG_HAS_PAGE_SIZE
 
@ WASM_DATA_SEGMENT_IS_PASSIVE
 
@ WASM_DATA_SEGMENT_HAS_MEMINDEX
 
@ WASM_SYMBOL_TYPE_GLOBAL
 
@ WASM_SYMBOL_TYPE_SECTION
 
@ WASM_SYMBOL_TYPE_FUNCTION
 
@ WASM_ELEM_SEGMENT_HAS_TABLE_NUMBER
 
const unsigned WASM_SYMBOL_ABSOLUTE
 
const unsigned WASM_ELEM_SEGMENT_MASK_HAS_ELEM_DESC
 
static void sectionMapping(IO &IO, ELFYAML::DynamicSection &Section)
 
static void commonSectionMapping(IO &IO, ELFYAML::Section &Section)
 
This is an optimization pass for GlobalISel generic memory operations.
 
@ Export
Export information to summary.
 
@ Import
Import information from summary.
 
@ Global
Append to llvm.global_dtors.
 
DWARFExpression::Operation Op
 
decltype(auto) cast(const From &Val)
cast<X> - Return the argument parameter cast to the specified type.
 
std::vector< uint32_t > Functions
 
FeaturePolicyPrefix Prefix
 
wasm::WasmInitExprMVP Inst
 
std::vector< ValueType > ReturnTypes
 
std::vector< ValueType > ParamTypes
 
union llvm::wasm::WasmInitExprMVP::@021046217255127373215144224227277301132130072341 Value
 
static void mapping(IO &IO, std::unique_ptr< WasmYAML::Section > &Section)
 
This class should be specialized by any type that needs to be converted to/from a YAML mapping.
 
This class should be specialized by any integer type that is a union of bit values and the YAML repre...
 
This class should be specialized by any integral type that converts to/from a YAML scalar where there...