LLVM 19.0.0git
Static Public Member Functions | List of all members
llvm::yaml::ScalarTraits< MaybeAlign > Struct Reference

#include "llvm/CodeGen/MIRYamlMapping.h"

Static Public Member Functions

static void output (const MaybeAlign &Alignment, void *, llvm::raw_ostream &out)
static StringRef input (StringRef Scalar, void *, MaybeAlign &Alignment)
static QuotingType mustQuote (StringRef)

Detailed Description

Definition at line 147 of file MIRYamlMapping.h.

Member Function Documentation

◆ input()

static StringRef llvm::yaml::ScalarTraits< MaybeAlign >::input ( StringRef  Scalar,
void *  ,
MaybeAlign Alignment 

Definition at line 152 of file MIRYamlMapping.h.

References llvm::getAsUnsignedInteger(), and llvm::isPowerOf2_64().

◆ mustQuote()

static QuotingType llvm::yaml::ScalarTraits< MaybeAlign >::mustQuote ( StringRef  )

Definition at line 161 of file MIRYamlMapping.h.

◆ output()

static void llvm::yaml::ScalarTraits< MaybeAlign >::output ( const MaybeAlign Alignment,
void *  ,
llvm::raw_ostream out 

Definition at line 148 of file MIRYamlMapping.h.

The documentation for this struct was generated from the following file: